- Fix to not do wordwrap when 'wrap=false' is given. (#240588)
This commit is contained in:
parent
874c8cefe1
commit
1bb4ea10ac
@ -25,12 +25,14 @@ diff -ruN paps-0.6.6.orig/src/paps.c paps-0.6.6/src/paps.c
|
||||
if (do_draw_header)
|
||||
page_layout.header_sep = header_sep;
|
||||
else
|
||||
@@ -496,6 +499,8 @@
|
||||
@@ -496,6 +499,10 @@
|
||||
page_layout->pango_dir == PANGO_DIRECTION_LTR
|
||||
? PANGO_ALIGN_LEFT : PANGO_ALIGN_RIGHT);
|
||||
pango_layout_set_width (para->layout, paint_width * PANGO_SCALE);
|
||||
+ if (page_layout->do_wordwrap)
|
||||
+ pango_layout_set_wrap (para->layout, PANGO_WRAP_WORD_CHAR);
|
||||
+ else
|
||||
+ pango_layout_set_width (para->layout, -1);
|
||||
para->height = 0;
|
||||
|
||||
if (wc == '\f')
|
||||
|
@ -1,6 +1,6 @@
|
||||
Name: paps
|
||||
Version: 0.6.6
|
||||
Release: 19%{?dist}
|
||||
Release: 20%{?dist}
|
||||
|
||||
License: LGPL
|
||||
URL: http://paps.sourceforge.net/
|
||||
@ -84,6 +84,9 @@ rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
|
||||
%changelog
|
||||
* Wed May 30 2007 Akira TAGOH <tagoh@redhat.com> - 0.6.6-20
|
||||
- Fix to not do wordwrap when 'wrap=false' is given. (#240588)
|
||||
|
||||
* Tue Mar 27 2007 Akira TAGOH <tagoh@redhat.com> - 0.6.6-19
|
||||
- Fix PostScript breakage following the non-monetary numeric format from
|
||||
current locale. (#231916)
|
||||
|
Loading…
Reference in New Issue
Block a user