From 2e5ff0bff41fa53d4941b6f0fe49c8914bf29cbc Mon Sep 17 00:00:00 2001 From: auroux Date: Wed, 15 Aug 2007 21:26:51 +0000 Subject: [PATCH] Release 0.4 --- ChangeLog | 9 + NEWS | 2 +- README | 2 +- configure.in | 2 +- html-doc/manual.html | 86 ++- pixmaps/xournal.svg | 1177 ++++++++++++++++++++++++++++++++++++++++++ src/TODO | 41 +- src/main.c | 25 +- src/sft.h | 678 ++++++++++++++++++++++++ src/xo-callbacks.c | 398 ++++++++++++-- src/xo-callbacks.h | 8 + src/xo-file.c | 132 ++++- src/xo-interface.c | 385 +++++++------- src/xo-interface.h | 2 - src/xo-misc.c | 287 +++++++++- src/xo-misc.h | 15 + src/xo-paint.c | 354 ++++++++++++- src/xo-paint.h | 13 + src/xo-print.c | 435 +++++++++++++++- src/xo-print.h | 19 + src/xournal.h | 32 +- xournal.glade | 395 +++++++------- 22 files changed, 3927 insertions(+), 570 deletions(-) create mode 100644 pixmaps/xournal.svg create mode 100644 src/sft.h diff --git a/ChangeLog b/ChangeLog index 2a215d1..641b1e0 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,12 @@ +Version 0.4 (Aug 15, 2007): + - text tool (handles most TrueType and Type1 fonts) + - font selection dialog and button + - keyboard mappings (arrow keys) + - menu mnemonics and shortcuts (suggestions by Jean-Baptiste Rouquier) + - more responsive hand tool + - bugfix for GTK+ 2.11 XInput behavior (thanks to Robert Gerlach) + - various minor bugfixes and enhancements + Version 0.3.3 (Jan 31, 2007): - bugfix: upon loading a new file, zoom is set to default startup zoom - config option to allow input from a mouse or other core pointer device diff --git a/NEWS b/NEWS index b8e6d5b..85f413e 100644 --- a/NEWS +++ b/NEWS @@ -1,4 +1,4 @@ -Version 0.3.3 (January 31, 2007) +Version 0.4 (August 15, 2007) Installation: see INSTALL User's manual: see html-doc/manual.html diff --git a/README b/README index b8e6d5b..85f413e 100644 --- a/README +++ b/README @@ -1,4 +1,4 @@ -Version 0.3.3 (January 31, 2007) +Version 0.4 (August 15, 2007) Installation: see INSTALL User's manual: see html-doc/manual.html diff --git a/configure.in b/configure.in index 2da3364..e0b42ab 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.3.3) +AM_INIT_AUTOMAKE(xournal, 0.4) AM_CONFIG_HEADER(config.h) AM_MAINTAINER_MODE diff --git a/html-doc/manual.html b/html-doc/manual.html index f748b5c..6c5fad8 100644 --- a/html-doc/manual.html +++ b/html-doc/manual.html @@ -24,7 +24,7 @@ Xournal User's Manual

- Version 0.3.3 + Version 0.4


@@ -127,6 +127,28 @@ the Tools menu): is yellow) and thicknesses. Use the color and thickness toolbar buttons to change these settings.

+

The text tool

+

+ To insert a new text item, click at the location where the text is to be + inserted on the page, then type it in or paste it using the contextual + menu (note: no wrapping is performed). To modify a text item, click inside + it. The font and point size can be modified using the "Text Font" command + in the Tools menu (or the toolbar button). The color is the same as that + currently selected for the pen (and can be modified using the toolbar + buttons). +

+

+ Text items can contain arbitrary Unicode characters, provided that a + suitable font is installed on your system. However, languages written + in a direction other than left-to-right might not be handled properly. + If a journal contains some items in a font that is unavailable on your + system, another one will be substituted. (Also, text items will be + lost if the document is opened in a version of Xournal prior to 0.4). + Finally, note that the printing and PDF export features only accept + TrueType and Type 1 scalable fonts (do not use any bitmap fonts), and + that the typesetting of the text may be slightly different in the + printout. +

The ruler

The ruler is not a tool by itself, but rather a special operating mode @@ -136,15 +158,17 @@ the Tools menu):

Default tools

- Each drawing tool (pen, eraser, highlighter) has a default setting - (color, thickness, ...) associated to it. - The "Default Pen", "Default Eraser", and "Default Highlighter" entries of + Each tool (pen, eraser, highlighter, text) has a default setting + (color, thickness, ... for the drawing tools, font and size for the + text tool) associated to it. + The "Default Pen", "Default Eraser", "Default Highlighter", and + "Default Text" entries of the Tools menu select the appropriate tool and reset its settings to the defaults. The toolbar also includes a "Default" button which - resets the currently selected drawing tool to its default settings, + resets the currently selected tool to its default settings, and a "Default Pen" button.
The "Set As Default" entry of the Tools menu takes the current settings - of the currently selected drawing tool and makes them the new default. + of the currently selected tool and makes them the new default.

@@ -471,7 +495,8 @@ 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). +PDF transparency properly). Text items are rendered by embedding +TrueType subsets or Type 1 fonts into the PDF document as appropriate.

Xournal also includes a PDF file parser compatible with PDF format @@ -495,7 +520,7 @@ configuration file include in particular:

  • general display preferences: zoom level, window size, ...
  • default paper settings (as set by the "Set As Default" command in the Journal menu)
  • -
  • default tool settings for the pen, eraser, and highlighter +
  • default settings for the pen, eraser, highlighter, and text tools (as set by the "Set As Default" command in the Tools menu)
  • mappings for buttons 2 and 3
  • the various preferences set in the Options menu
  • @@ -530,6 +555,18 @@ Bug reports and suggestions can also be submitted on Xournal's

    Version history

    +Version 0.4 (August 15, 2007): +

    +

    +

    Version 0.3.3 (January 31, 2007):