Hello community,
here is the log from the commit of package freetype2
checked in at Tue Oct 9 17:07:52 CEST 2007.
--------
--- freetype2/freetype2.changes 2007-10-02 16:38:56.000000000 +0200
+++ /mounts/work_src_done/STABLE/freetype2/freetype2.changes 2007-10-08 11:44:55.000000000 +0200
@@ -1,0 +2,7 @@
+Mon Oct 08 11:43:58 CEST 2007 - mfabian@suse.de
+
+- Bugzilla #308961: improve workaround patch for the broken
+ underlining in the CMEX fonts
+ (again by Peng Wu ).
+
+-------------------------------------------------------------------
ft2demos.changes: same change
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ freetype2.spec ++++++
--- /var/tmp/diff_new_pack.v21884/_old 2007-10-09 17:06:06.000000000 +0200
+++ /var/tmp/diff_new_pack.v21884/_new 2007-10-09 17:06:06.000000000 +0200
@@ -16,7 +16,7 @@
Group: System/Libraries
AutoReqProv: on
Version: 2.3.5
-Release: 19
+Release: 21
Url: http://www.freetype.org
Summary: A TrueType Font Library
# CVS repository:
@@ -111,13 +111,11 @@
#make refdoc
%install
-rm -rf $RPM_BUILD_ROOT;
# these development documents should go into the freetype2-devel package:
mv docs/reference freetype-%{version}/docs
make prefix=$RPM_BUILD_ROOT/usr libdir=$RPM_BUILD_ROOT/%{_libdir} install
%clean
-rm -rf $RPM_BUILD_ROOT;
%post -p /sbin/ldconfig
@@ -139,6 +137,10 @@
/usr/bin/*
/usr/share/aclocal/*
%changelog
+* Mon Oct 08 2007 - mfabian@suse.de
+- Bugzilla #308961: improve workaround patch for the broken
+ underlining in the CMEX fonts
+ (again by Peng Wu ).
* Tue Oct 02 2007 - mfabian@suse.de
- Bugzilla #308961: add workaround for broken underlining
when using the CMEX fonts (by Peng Wu ).
++++++ ft2demos.spec ++++++
--- /var/tmp/diff_new_pack.v21884/_old 2007-10-09 17:06:06.000000000 +0200
+++ /var/tmp/diff_new_pack.v21884/_new 2007-10-09 17:06:06.000000000 +0200
@@ -19,7 +19,7 @@
Supplements: fonts-config
%endif
Version: 2.3.5
-Release: 23
+Release: 25
%define freetype_version %{version}
Url: http://www.freetype.org
Summary: Freetype2 Utilities and Demo Programs
@@ -111,7 +111,6 @@
popd
%install
-rm -rf $RPM_BUILD_ROOT;
#make prefix=$RPM_BUILD_ROOT/usr libdir=$RPM_BUILD_ROOT/%{_libdir} install
mkdir -p $RPM_BUILD_ROOT%{_bindir}
pushd ../ft2demos-%{version}/bin/.libs
@@ -119,13 +118,16 @@
popd
%clean
-rm -rf $RPM_BUILD_ROOT;
%files
%defattr(-,root,root)
%{_bindir}/ft*
%{_bindir}/testname
%changelog
+* Mon Oct 08 2007 - mfabian@suse.de
+- Bugzilla #308961: improve workaround patch for the broken
+ underlining in the CMEX fonts
+ (again by Peng Wu ).
* Tue Oct 02 2007 - mfabian@suse.de
- Bugzilla #308961: add workaround for broken underlining
when using the CMEX fonts (by Peng Wu ).
++++++ bugzilla-308961-cmex-workaround.patch ++++++
--- /var/tmp/diff_new_pack.v21884/_old 2007-10-09 17:06:06.000000000 +0200
+++ /var/tmp/diff_new_pack.v21884/_new 2007-10-09 17:06:06.000000000 +0200
@@ -1,15 +1,16 @@
+Index: freetype-2.3.5/src/base/ftobjs.c
+===================================================================
--- freetype-2.3.5.orig/src/base/ftobjs.c
+++ freetype-2.3.5/src/base/ftobjs.c
-@@ -1820,6 +1820,12 @@
-
+@@ -1820,6 +1820,11 @@
+
if ( FT_IS_SCALABLE( face ) )
{
+ if ( strncmp("CMEX", face->family_name, 4 ) == 0){
-+ face->height = (FT_Short)( face->ascender - face->descender );
-+ face->underline_position = (FT_Short)( -face->units_per_EM / 10 );
-+ face->underline_thickness = (FT_Short)( face->units_per_EM / 30 );
++ face->underline_position = (FT_Short)( -face->units_per_EM / 10 );
++ face->underline_thickness = (FT_Short)( face->units_per_EM / 30 );
+ }
+
if ( face->height < 0 )
face->height = (FT_Short)-face->height;
-
+
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Remember to have fun...
---------------------------------------------------------------------
To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org
For additional commands, e-mail: opensuse-commit+help@opensuse.org