diff --git a/freetype2-bitmap-foundry.patch b/freetype2-bitmap-foundry.patch index 1f80e76..cf5205b 100644 --- a/freetype2-bitmap-foundry.patch +++ b/freetype2-bitmap-foundry.patch @@ -1,7 +1,7 @@ Index: freetype-2.3.12/src/pcf/pcfread.c =================================================================== --- freetype-2.3.12.orig/src/pcf/pcfread.c 2009-10-10 19:32:28.000000000 +0200 -+++ freetype-2.3.12/src/pcf/pcfread.c 2010-03-31 16:23:42.000000000 +0200 ++++ freetype-2.3.12/src/pcf/pcfread.c 2010-06-04 13:44:03.767338504 +0200 @@ -1171,8 +1171,34 @@ THE SOFTWARE. prop = pcf_find_property( face, "FAMILY_NAME" ); if ( prop && prop->isString ) @@ -14,7 +14,7 @@ Index: freetype-2.3.12/src/pcf/pcfread.c + PCF_Property point_size_prop = pcf_find_property( face, "POINT_SIZE" ); + PCF_Property average_width_prop = pcf_find_property( face, "AVERAGE_WIDTH" ); + if ( point_size_prop != NULL && average_width_prop != NULL) { -+ if ( average_width_prop->value.integer >= point_size_prop->value.integer ) { ++ if ( average_width_prop->value.l >= point_size_prop->value.l ) { + /* This font is at least square shaped or even wider */ + wide = 1; + l += ft_strlen( " Wide"); diff --git a/freetype2.changes b/freetype2.changes index f45ef3c..0f24cd9 100644 --- a/freetype2.changes +++ b/freetype2.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Fri Jun 4 11:09:21 UTC 2010 - coolo@novell.com + +- reenable bitmap foundaries (bnc#596559) + ------------------------------------------------------------------- Sat Apr 24 09:20:43 UTC 2010 - coolo@novell.com diff --git a/freetype2.spec b/freetype2.spec index 457f5dc..790aecf 100644 --- a/freetype2.spec +++ b/freetype2.spec @@ -95,9 +95,7 @@ It also contains a small tutorial for using that library. %define enable_bytecode_interpreter 1 %define enable_subpixel_rendering 0 %setup -q -n freetype-%{version} -a 1 -# Patch does still apply but no longer compiles and it's unclear -# to me who still needs it - it used to work around qt3 bug afair -##%patch3 -p 1 -b .bitmap-foundry +%patch3 -p 1 -b .bitmap-foundry %patch4 -p 1 -b .ft2-stream-compat #%patch8 -p 1 %patch9 -p 1