Hello community, here is the log from the commit of package freetype2 for openSUSE:Factory checked in at 2015-09-16 10:36:58 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/freetype2 (Old) and /work/SRC/openSUSE:Factory/.freetype2.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "freetype2" Changes: -------- --- /work/SRC/openSUSE:Factory/freetype2/freetype2.changes 2015-06-12 21:15:28.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.freetype2.new/freetype2.changes 2015-09-16 10:37:00.000000000 +0200 @@ -1,0 +2,6 @@ +Fri Sep 11 04:11:52 UTC 2015 - [email protected] + +- Add Dont-use-hmtx-table-for-LSB.patch: Fixes gnu#45520, cut off + fonts in gtk and qt. Taken from upstream git. + +------------------------------------------------------------------- New: ---- Dont-use-hmtx-table-for-LSB.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ freetype2.spec ++++++ --- /var/tmp/diff_new_pack.PPaFp5/_old 2015-09-16 10:37:01.000000000 +0200 +++ /var/tmp/diff_new_pack.PPaFp5/_new 2015-09-16 10:37:01.000000000 +0200 @@ -29,6 +29,7 @@ Source1: http://download.savannah.gnu.org/releases/freetype/freetype-doc-%{doc_version}.tar.bz2 Source3: baselibs.conf Patch1: freetype2-bitmap-foundry.patch +Patch2: Dont-use-hmtx-table-for-LSB.patch Patch200: freetype2-subpixel.patch # PATCH-FIX-OPENSUSE don-t-mark-libpng-as-required-library.patch -- it is private in .pc Patch202: don-t-mark-libpng-as-required-library.patch @@ -84,6 +85,7 @@ %define enable_subpixel_rendering 0 %setup -q -n freetype-%{version} -a 1 %patch1 -p1 +%patch2 -p1 %patch308961 -p 1 %patch202 -p1 %if %{enable_subpixel_rendering} ++++++ Dont-use-hmtx-table-for-LSB.patch ++++++ >From b650dfbb0b0700440cc88da31f97cec45b4140de Mon Sep 17 00:00:00 2001 From: Matthias Clasen <[email protected]> Date: Sun, 26 Jul 2015 21:08:34 +0200 Subject: [PATCH] [cff] Don't use `hmtx' table for LSB (#45520). * src/cff/cffgload.c (cff_slot_load): Use `htmx' table for advance width only. Bug introduced 2015-04-10. diff --git a/src/cff/cffgload.c b/src/cff/cffgload.c index 43054f8..a075ddc 100644 --- a/src/cff/cffgload.c +++ b/src/cff/cffgload.c @@ -3064,9 +3064,7 @@ metrics->width = cbox.xMax - cbox.xMin; metrics->height = cbox.yMax - cbox.yMin; - if ( !face->horizontal.number_Of_HMetrics ) - metrics->horiBearingX = cbox.xMin; - + metrics->horiBearingX = cbox.xMin; metrics->horiBearingY = cbox.yMax; if ( has_vertical_info ) -- 2.4.3
