+Version 0.4.2.1 (Mar 27, 2008):
+ - bugfix for #1926757 (crash upon pasting variable-width stroke)
+ - bugfix: set ruler/recognizer setting to default upon switching tools
+
Version 0.4.2 (Mar 25, 2008):
- bugfixes for X.org 7.3; allow XInput and core events in reverse order
- resize selection (patch contributed by Andy Neitzke)
-Version 0.4.2 (March 25, 2008)
+Version 0.4.2.1 (March 27, 2008)
Installation: see INSTALL
User's manual: see html-doc/manual.html
-Version 0.4.2 (March 25, 2008)
+Version 0.4.2.1 (March 27, 2008)
Installation: see INSTALL
User's manual: see html-doc/manual.html
dnl Process this file with autoconf to produce a configure script.
AC_INIT(configure.in)
-AM_INIT_AUTOMAKE(xournal, 0.4.2)
+AM_INIT_AUTOMAKE(xournal, 0.4.2.1)
AM_CONFIG_HEADER(config.h)
AM_MAINTAINER_MODE
Xournal User's Manual
</h2>
<p style="font-size: 0.95em; text-align: center; color: rgb(0,0,0)">
- Version 0.4.2
+ Version 0.4.2.1
</p>
<hr />
<p>
<a name="changelog"></a>
<h2 class="subtitle">Version history</h2>
<p>
+Version 0.4.2.1 (Mar 27, 2008):
+<ul>
+ <li>bugfix for #1926757 (crash upon pasting variable-width stroke)</li>
+ <li>bugfix: set ruler/recognizer setting to default upon switching tools</li>
+</ul>
+</p>
+<p>
Version 0.4.2 (Mar 25, 2008):
<ul>
<li>bugfixes for X.org 7.3; allow XInput and core events in reverse order</li>
- porting to Win32 and MacOS
- multiple-scenario undo history
+- improve recognizer: two passes for polygons (low tolerance, then higher)
+ to better detect elongated rectangles? (if low tolerance recognizer
+ doesn't get a rectangle, then use higher tolerance for everything else,
+ since otherwise there's too much risk of splitting a segment into 2)
+- snap-to-grid (also for ruler & recognizer vertices)
+ and maybe also snap-to-vertices (option for ruler and recognizer)?
+- allow broken PDF with some 19-byte xref entries (LF instead of CRLF).??
+ (Phil Rhoades 3/25/08)
+
- render page to bitmap: for export, preview, and copy-paste
(render using libart, see how gnomecanvas does it?)
(copy-paste: config option to render only current layer or all below?)
reset_selection();
ui.toolno[0] = TOOL_PEN;
ui.cur_brush = &(ui.brushes[0][TOOL_PEN]);
- ui.cur_brush->ruler = FALSE;
- ui.cur_brush->recognizer = FALSE;
+ ui.cur_brush->ruler = ui.default_brushes[TOOL_PEN].ruler;
+ ui.cur_brush->recognizer = ui.default_brushes[TOOL_PEN].recognizer;
update_mapping_linkings(TOOL_PEN);
update_tool_buttons();
update_tool_menu();
reset_selection();
ui.toolno[0] = TOOL_HIGHLIGHTER;
ui.cur_brush = &(ui.brushes[0][TOOL_HIGHLIGHTER]);
- ui.cur_brush->ruler = FALSE;
- ui.cur_brush->recognizer = FALSE;
+ ui.cur_brush->ruler = ui.default_brushes[TOOL_HIGHLIGHTER].ruler;
+ ui.cur_brush->recognizer = ui.default_brushes[TOOL_HIGHLIGHTER].recognizer;
update_mapping_linkings(TOOL_HIGHLIGHTER);
update_tool_buttons();
update_tool_menu();
ui.selection->new_x1 = ui.selection->bbox.left;
ui.selection->new_x2 = ui.selection->bbox.right;
gnome_canvas_item_set(ui.selection->canvas_item, "dash", NULL, NULL);
+ update_cursor_for_resize(pt);
return TRUE;
}
return FALSE;
}
p+= 2*item->path->num_points*sizeof(double);
if (item->brush.variable_width) {
- g_memmove(p, item->widths, (item->path->num_points-1)*sizeof(double));
+ item->widths = g_memdup(p, (item->path->num_points-1)*sizeof(double));
p+= (item->path->num_points-1)*sizeof(double);
}
else item->widths = NULL;