rpms/paps/devel paps-0.6.6-wordwrap.patch, 1.2, 1.3 paps.spec, 1.22, 1.23

Akira Tagoh (tagoh) fedora-extras-commits at redhat.com
Wed May 30 11:43:43 UTC 2007


Author: tagoh

Update of /cvs/pkgs/rpms/paps/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv11400

Modified Files:
	paps-0.6.6-wordwrap.patch paps.spec 
Log Message:
* Wed May 30 2007 Akira TAGOH <tagoh at redhat.com> - 0.6.6-20
- Fix to not do wordwrap when 'wrap=false' is given. (#240588)

paps-0.6.6-wordwrap.patch:

Index: paps-0.6.6-wordwrap.patch
===================================================================
RCS file: /cvs/pkgs/rpms/paps/devel/paps-0.6.6-wordwrap.patch,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- paps-0.6.6-wordwrap.patch	4 Jul 2006 05:12:40 -0000	1.2
+++ paps-0.6.6-wordwrap.patch	30 May 2007 11:43:39 -0000	1.3
@@ -25,12 +25,14 @@
    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')


Index: paps.spec
===================================================================
RCS file: /cvs/pkgs/rpms/paps/devel/paps.spec,v
retrieving revision 1.22
retrieving revision 1.23
diff -u -r1.22 -r1.23
--- paps.spec	27 Mar 2007 11:50:55 -0000	1.22
+++ paps.spec	30 May 2007 11:43:39 -0000	1.23
@@ -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 @@
 
 
 %changelog
+* Wed May 30 2007 Akira TAGOH <tagoh at redhat.com> - 0.6.6-20
+- Fix to not do wordwrap when 'wrap=false' is given. (#240588)
+
 * Tue Mar 27 2007 Akira TAGOH <tagoh at redhat.com> - 0.6.6-19
 - Fix PostScript breakage following the non-monetary numeric format from
   current locale. (#231916)




More information about the fedora-extras-commits mailing list