From 59df9eb838b273295a6b86ce9f522dc4ad71dc4d Mon Sep 17 00:00:00 2001 From: auroux Date: Tue, 25 Jul 2006 09:03:02 +0000 Subject: [PATCH] Update to version 0.3. --- ChangeLog | 9 + NEWS | 2 +- README | 2 +- configure.in | 2 +- html-doc/manual.html | 196 +++++++-- src/TODO | 10 +- src/xo-callbacks.c | 159 ++++++- src/xo-callbacks.h | 24 ++ src/xo-file.c | 1 + src/xo-interface.c | 329 +++++++++++--- src/xo-interface.h | 1 + src/xo-misc.c | 11 + src/xo-misc.h | 6 +- src/xo-paint.c | 10 +- src/xo-print.c | 989 +++++++++++++++++++++++++++++++++++++++++++ src/xo-print.h | 50 +++ src/xournal.h | 2 +- xournal.glade | 403 ++++++++++++++---- 18 files changed, 2006 insertions(+), 200 deletions(-) diff --git a/ChangeLog b/ChangeLog index 363e2fe..b0cec9e 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,12 @@ +Version 0.3 (Jul 23, 2006): + - new PDF rendering engine: export to PDF generates optimized files + (smaller and more accurate) + - export to PDF handles PDF backgrounds (up to PDF-1.4) natively + (without conversion to bitmap) + - default thickness of erasers and highlighters slightly increased + - zoom dialog box with input box and "fit to page height" option + - file format documentation added to the user's manual + Version 0.2.2 (Jun 5, 2006): - mapping of tools to stylus buttons (the options menu has new entries to allow the mapping of buttons 2 and 3 to arbitrary tools; the tools diff --git a/NEWS b/NEWS index 952d254..f48165a 100644 --- a/NEWS +++ b/NEWS @@ -1,4 +1,4 @@ -Version 0.2.2 (June 5, 2006) +Version 0.3 (July 23, 2006) Installation: see INSTALL User's manual: see html-doc/manual.html diff --git a/README b/README index 952d254..f48165a 100644 --- a/README +++ b/README @@ -1,4 +1,4 @@ -Version 0.2.2 (June 5, 2006) +Version 0.3 (July 23, 2006) Installation: see INSTALL User's manual: see html-doc/manual.html diff --git a/configure.in b/configure.in index 852ec07..e16b40f 100644 --- a/configure.in +++ b/configure.in @@ -1,7 +1,7 @@ dnl Process this file with autoconf to produce a configure script. AC_INIT(configure.in) -AM_INIT_AUTOMAKE(xournal, 0.2.2) +AM_INIT_AUTOMAKE(xournal, 0.3) AM_CONFIG_HEADER(config.h) AM_MAINTAINER_MODE diff --git a/html-doc/manual.html b/html-doc/manual.html index cf97892..5ed2718 100644 --- a/html-doc/manual.html +++ b/html-doc/manual.html @@ -24,7 +24,7 @@ Xournal User's Manual

- Version 0.2.2 + Version 0.3


@@ -427,10 +427,10 @@ PDF files (for example pdfmerge).

Printing

Xournal uses the gnome-print architecture for printing. While it is very -powerful, some aspects of the API leave to be desired, -and future versions of Xournal will probably also include a native -Postscript/PDF printing feature. +powerful, some aspects of the API leave to be desired. As of version 0.3, +Xournal also includes a native PDF printing feature.

+

Printing via gnome-print

The "Printer" tab of the print dialog box lets you select a printer (either one of the printers installed on your system, or the generic @@ -448,18 +448,34 @@ attempts to pre-fill the output file name (for the Postscript driver this often fails due to gnome-print API issues).

-The "Print to PDF" entry of the File menu directly generates a PDF file -using the PDF virtual printer, without bringing up the dialog box -(the page size is the default one for that printer, usually A4). Note that the PDF virtual printer produces files that are very large -and far from optimal, so in the current state of things it is better -to generate a Postscript file and use a converter such as ps2pdf. -

-

+and far from optimal, so its use is not recommended. The gnome-print architecture also forces page backgrounds (bitmaps and PDF) to be generated as uncompressed bitmaps, which leads to gigantic -print job files. An alternative to gnome-print will be -implemented in a future release of Xournal. +print job files. A better alternative is to export a PDF file, and +print the PDF file. +

+

Exporting to PDF

+

+Starting with version 0.3, Xournal provides its own PDF rendering +engine. The "Export to PDF" command (in the File menu) produces a +PDF-1.4 file from the currently loaded document. The resulting PDF +file is much more compact than those produced via gnome-print, and +its pages have the same size as in Xournal. Highlighter strokes +are rendered in a partially transparent manner (note however that +applications such as xpdf and ghostview do not always handle +PDF transparency properly). +

+

+Xournal also includes a PDF file parser compatible with PDF format +version 1.4; the compression features of PDF 1.5 (Acrobat 6) are +not supported. When exporting a document that uses PDF +backgrounds, Xournal attempts to preserve most of the structure of +the original PDF file (however, auxiliary data such as thumbnails, hyperlinks, +and annotations are lost). If Xournal is unable to parse the PDF +file, the backgrounds are converted to (compressed) bitmaps and a new +PDF file is generated from scratch. +


Author information, license, bug-reports

@@ -470,14 +486,7 @@ Xournal is written by Denis Auroux

Feel free to contact me with bug reports and suggestions; I apologize in advance if I am unable to respond properly to some requests. -List of known bugs/misfeatures (no need to report them again): -

+

If you find a sequence of operations which crashes Xournal in a reproducible manner, please send detailed instructions on how to reproduce the crash. A core file may also be helpful. @@ -490,6 +499,18 @@ Bug reports and suggestions can also be submitted on Xournal's

Version history

+Version 0.3 (July 23, 2006): +

+

+

Version 0.2.2 (June 5, 2006):