r16475 - gnucash/trunk/src/gnome - Bug#467532: change to pango drawing/clipping handling for wrapped strings; patch from David Reiser <dbreiser earthlink net>.
Josh Sled
jsled at cvs.gnucash.org
Mon Aug 27 19:15:15 EDT 2007
Author: jsled
Date: 2007-08-27 19:15:14 -0400 (Mon, 27 Aug 2007)
New Revision: 16475
Trac: http://svn.gnucash.org/trac/changeset/16475
Modified:
gnucash/trunk/src/gnome/dialog-print-check.c
Log:
Bug#467532: change to pango drawing/clipping handling for wrapped strings; patch from David Reiser <dbreiser earthlink net>.
Modified: gnucash/trunk/src/gnome/dialog-print-check.c
===================================================================
--- gnucash/trunk/src/gnome/dialog-print-check.c 2007-08-27 23:10:13 UTC (rev 16474)
+++ gnucash/trunk/src/gnome/dialog-print-check.c 2007-08-27 23:15:14 UTC (rev 16475)
@@ -1362,7 +1362,7 @@
}
pango_layout_set_alignment(layout,
data->w ? data->align : PANGO_ALIGN_LEFT);
- pango_layout_set_width(layout, data->w ? data->w * PANGO_SCALE : -1);
+ pango_layout_set_width(layout, -1);
if (gnc_gconf_get_bool(GCONF_SECTION, KEY_BLOCKING_CHARS, NULL)) {
new_text = g_strdup_printf("***%s***", text);
pango_layout_set_text(layout, new_text, -1);
More information about the gnucash-changes
mailing list