rpms/openoffice.org/devel openoffice.org-3.0.0.ooo90037.vcl.cairotransforms.patch, NONE, 1.1 openoffice.org.spec, 1.1520, 1.1521

Caolan McNamara (caolanm) fedora-extras-commits at redhat.com
Tue Jun 3 12:13:49 UTC 2008


Author: caolanm

Update of /cvs/pkgs/rpms/openoffice.org/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv21049

Modified Files:
	openoffice.org.spec 
Added Files:
	openoffice.org-3.0.0.ooo90037.vcl.cairotransforms.patch 
Log Message:
- Resolves: rhbz#448553 add openoffice.org-3.0.0.ooo90037.vcl.cairotransforms.patch

openoffice.org-3.0.0.ooo90037.vcl.cairotransforms.patch:

--- NEW FILE openoffice.org-3.0.0.ooo90037.vcl.cairotransforms.patch ---
diff -ru vcl/source/glyphs/gcach_ftyp.cxx vcl/source/glyphs/gcach_ftyp.cxx
--- openoffice.org.orig/vcl/source/glyphs/gcach_ftyp.cxx	2008-05-26 15:17:03.000000000 +0100
+++ openoffice.org/vcl/source/glyphs/gcach_ftyp.cxx	2008-06-03 13:01:17.000000000 +0100
@@ -522,7 +522,10 @@
 void* FreetypeServerFont::GetFtFace() const
 {
     if( maSizeFT )
+    {
         pFTActivateSize( maSizeFT );
+        FT_Set_Transform( maFaceFT, NULL, NULL );
+    }
 
     return maFaceFT;
 }
@@ -742,6 +745,7 @@
     {
         pFTNewSize( maFaceFT, &maSizeFT );
         pFTActivateSize( maSizeFT );
+        FT_Set_Transform( maFaceFT, NULL, NULL );
     }
     FT_Error rc = FT_Set_Pixel_Sizes( maFaceFT, mnWidth, rFSD.mnHeight );
     if( rc != FT_Err_Ok )
@@ -975,7 +979,10 @@
     }
 
     if( maSizeFT )
+    {
         pFTActivateSize( maSizeFT );
+        FT_Set_Transform( maFaceFT, NULL, NULL );
+    }
 
     rFactor = 0x100;
 
@@ -1294,7 +1304,10 @@
 void FreetypeServerFont::InitGlyphData( int nGlyphIndex, GlyphData& rGD ) const
 {
     if( maSizeFT )
+    {
         pFTActivateSize( maSizeFT );
+        FT_Set_Transform( maFaceFT, NULL, NULL );
+    }
 
     int nGlyphFlags;
     SplitGlyphFlags( *this, nGlyphIndex, nGlyphFlags );
@@ -1382,7 +1395,10 @@
 bool FreetypeServerFont::GetGlyphBitmap1( int nGlyphIndex, RawBitmap& rRawBitmap ) const
 {
     if( maSizeFT )
+    {
         pFTActivateSize( maSizeFT );
+        FT_Set_Transform( maFaceFT, NULL, NULL );
+    }
 
     int nGlyphFlags;
     SplitGlyphFlags( *this, nGlyphIndex, nGlyphFlags );
@@ -1542,7 +1558,10 @@
 bool FreetypeServerFont::GetGlyphBitmap8( int nGlyphIndex, RawBitmap& rRawBitmap ) const
 {
     if( maSizeFT )
+    {
         pFTActivateSize( maSizeFT );
+        FT_Set_Transform( maFaceFT, NULL, NULL );
+    }
 
     int nGlyphFlags;
     SplitGlyphFlags( *this, nGlyphIndex, nGlyphFlags );
@@ -1796,7 +1815,10 @@
     // when font faces of different sizes share the same maFaceFT
     // then we have to make sure that it uses the correct maSizeFT
     if( maSizeFT )
+    {
         pFTActivateSize( maSizeFT );
+        FT_Set_Transform( maFaceFT, NULL, NULL );
+    }
 
     // use Freetype's kerning info
     FT_Vector aKernVal;
@@ -1831,7 +1853,10 @@
     // when font faces of different sizes share the same maFaceFT
     // then we have to make sure that it uses the correct maSizeFT
     if( maSizeFT )
+    {
         pFTActivateSize( maSizeFT );
+        FT_Set_Transform( maFaceFT, NULL, NULL );
+    }
 
     // first figure out which glyph pairs are involved in kerning
     ULONG nKernLength = 0;
@@ -2231,7 +2257,10 @@
     ::basegfx::B2DPolyPolygon& rB2DPolyPoly ) const
 {
     if( maSizeFT )
+    {
         pFTActivateSize( maSizeFT );
+	FT_Set_Transform( maFaceFT, NULL, NULL );
+    }
 
     rB2DPolyPoly.clear();
 


Index: openoffice.org.spec
===================================================================
RCS file: /cvs/pkgs/rpms/openoffice.org/devel/openoffice.org.spec,v
retrieving revision 1.1520
retrieving revision 1.1521
diff -u -r1.1520 -r1.1521
--- openoffice.org.spec	3 Jun 2008 09:47:57 -0000	1.1520
+++ openoffice.org.spec	3 Jun 2008 12:12:57 -0000	1.1521
@@ -131,6 +131,7 @@
 Patch55: openoffice.org-3.0.0.ooo90055.swext.allowadmin.patch
 Patch56: openoffice.org-3.0.0.ooo88090.chart2.negativecount.patch
 Patch57: openoffice.org-2.3.0.oooXXXXX.odk.3layer.patch
+Patch58: openoffice.org-3.0.0.ooo90037.vcl.cairotransforms.patch
 
 %define instdir %{_libdir}
 %define baseinstdir %{instdir}/openoffice.org
@@ -1265,6 +1266,7 @@
 %patch55 -p1 -b .ooo90055.swext.allowadmin.patch
 %patch56 -p1 -b .ooo88090.chart2.negativecount.patch
 %patch57 -p1 -b .oooXXXXX.odk.3layer.patch
+%patch58 -p1 -b .ooo90037.vcl.cairotransforms.patch
 
 %build
 echo build start time is `date`, diskspace: `df -h . | tail -n 1`
@@ -3429,6 +3431,7 @@
 - drop integrated openoffice.org-3.0.0.ooo89172.filter.string.patch
 - filter out -fasynchronous-unwind-tables for the moment until its ok with
   -Os on i386
+- Resolves: rhbz#448553 add openoffice.org-3.0.0.ooo90037.vcl.cairotransforms.patch
 
 * Wed May 28 2008 Caolan McNamara <caolanm at redhat.com> - 1:3.0.0-0.14-1
 - next version




More information about the fedora-extras-commits mailing list