rpms/openoffice.org/F-9 openoffice.org-3.0.0.ooo89002.vcl.symbolfonts.patch, NONE, 1.1 openoffice.org.spec, 1.1478, 1.1479
Caolan McNamara (caolanm)
fedora-extras-commits at redhat.com
Sun May 4 17:21:44 UTC 2008
Author: caolanm
Update of /cvs/pkgs/rpms/openoffice.org/F-9
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv19508
Modified Files:
openoffice.org.spec
Added Files:
openoffice.org-3.0.0.ooo89002.vcl.symbolfonts.patch
Log Message:
add openoffice.org-3.0.0.ooo89002.vcl.symbolfonts.patch
openoffice.org-3.0.0.ooo89002.vcl.symbolfonts.patch:
--- NEW FILE openoffice.org-3.0.0.ooo89002.vcl.symbolfonts.patch ---
Index: source/gdi/outdev3.cxx
===================================================================
RCS file: /cvs/gsl/vcl/source/gdi/outdev3.cxx,v
retrieving revision 1.240
diff -u -r1.240 outdev3.cxx
--- openoffice.org.orig/vcl/source/gdi/outdev3.cxx 11 Apr 2008 08:49:58 -0000 1.240
+++ openoffice.org/vcl/source/gdi/outdev3.cxx 4 May 2008 16:43:14 -0000
@@ -2786,6 +2786,17 @@
if( rA.maStyleName != rB.maStyleName)
return false;
+ // Symbol fonts may recode from one type to another So they are only
+ // safely equivalent for equal targets
+ if (
+ (rA.mpFontData && rA.mpFontData->IsSymbolFont()) ||
+ (rB.mpFontData && rB.mpFontData->IsSymbolFont())
+ )
+ {
+ if (rA.maTargetName != rB.maTargetName)
+ return false;
+ }
+
return true;
}
Index: source/glyphs/gcach_ftyp.cxx
===================================================================
RCS file: /cvs/gsl/vcl/source/glyphs/gcach_ftyp.cxx,v
retrieving revision 1.149
diff -u -r1.149 gcach_ftyp.cxx
--- openoffice.org.orig/vcl/source/glyphs/gcach_ftyp.cxx 11 Apr 2008 08:57:28 -0000 1.149
+++ openoffice.org/vcl/source/glyphs/gcach_ftyp.cxx 4 May 2008 16:43:33 -0000
@@ -911,11 +914,21 @@
void FreetypeServerFont::FetchFontMetric( ImplFontMetricData& rTo, long& rFactor ) const
{
static_cast<ImplFontAttributes&>(rTo) = mpFontInfo->GetFontAttributes();
+
rTo.mbScalableFont = true;
rTo.mbDevice = true;
rTo.mbKernableFont = (FT_HAS_KERNING( maFaceFT ) != 0) || mpFontInfo->HasExtraKerning();
rTo.mnOrientation = GetFontSelData().mnOrientation;
+ //Always consider [star]symbol as symbol fonts
+ if (
+ (rTo.GetFamilyName().EqualsAscii("OpenSymbol")) ||
+ (rTo.GetFamilyName().EqualsAscii("StarSymbol"))
+ )
+ {
+ rTo.mbSymbolFlag = true;
+ }
+
if( maSizeFT )
pFTActivateSize( maSizeFT );
Index: openoffice.org.spec
===================================================================
RCS file: /cvs/pkgs/rpms/openoffice.org/F-9/openoffice.org.spec,v
retrieving revision 1.1478
retrieving revision 1.1479
diff -u -r1.1478 -r1.1479
--- openoffice.org.spec 30 Apr 2008 15:17:44 -0000 1.1478
+++ openoffice.org.spec 4 May 2008 17:21:01 -0000 1.1479
@@ -153,6 +153,7 @@
Patch80: openoffice.org-3.0.0.ooo88033.svx.a11ycrash.patch
Patch81: openoffice.org-2.4.0.ooo87071.sd.backgroundfix.patch
Patch82: openoffice.org-3.0.0.ooo88090.chart2.negativecount.patch
+Patch83: openoffice.org-3.0.0.ooo89002.vcl.symbolfonts.patch
%define instdir %{_libdir}/openoffice.org
@@ -1120,6 +1121,7 @@
%patch80 -p1 -b .ooo88033.svx.a11ycrash.patch
%patch81 -p1 -b .ooo87071.sd.backgroundfix.patch
%patch82 -p1 -b .ooo88090.chart2.negativecount.patch
+%patch83 -p1 -b .ooo89002.vcl.symbolfonts.patch
%build
echo build start time is `date`, diskspace: `df -h . | tail -n 1`
@@ -2908,6 +2910,7 @@
%changelog
* Wed Apr 30 2008 Caolan McNamara <caolanm at redhat.com> - 1:2.4.0-12.9-UNRELEASED
- Resolves: rhbz#444571 add openoffice.org-3.0.0.ooo88090.chart2.negativecount.patch
+- add openoffice.org-3.0.0.ooo89002.vcl.symbolfonts.patch
* Sat Apr 26 2008 Caolan McNamara <caolanm at redhat.com> - 1:2.4.0-12.8
- add openoffice.org-2.4.0.ooo87071.sd.backgroundfix.patch
More information about the fedora-extras-commits
mailing list