rpms/freetype-freeworld/F-19 0001-Fix-vertical-size-of-emboldened-glyphs.patch, NONE, 1.1 freetype-freeworld.spec, 1.27, 1.28

Kevin Kofler kkofler at rpmfusion.org
Sun Sep 22 01:58:58 CEST 2013


Author: kkofler

Update of /cvs/free/rpms/freetype-freeworld/F-19
In directory old02.ovh.rpmfusion.lan:/tmp/cvs-serv17355/F-19

Modified Files:
	freetype-freeworld.spec 
Added Files:
	0001-Fix-vertical-size-of-emboldened-glyphs.patch 
Log Message:
* Sat Sep 21 2013 Kevin Kofler <Kevin at tigcc.ticalc.org> 2.4.11-3
- Apply 0001-Fix-vertical-size-of-emboldened-glyphs.patch from Fedora

0001-Fix-vertical-size-of-emboldened-glyphs.patch:
 ftsynth.c |   12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

--- NEW FILE 0001-Fix-vertical-size-of-emboldened-glyphs.patch ---
>From 31e726d939e7b79506d11164d259c9789e429761 Mon Sep 17 00:00:00 2001
From: Behdad Esfahbod <behdad at behdad.org>
Date: Fri, 20 Sep 2013 07:20:53 +0200
Subject: [PATCH] Fix vertical size of emboldened glyphs.

Cf. https://bugzilla.gnome.org/show_bug.cgi?id=686709

* src/base/ftsynth.c (FT_GlyphSlot_Embolden): Adjust `horiBearingY'
also.
---
 src/base/ftsynth.c | 11 ++++++-----
 1 files changed, 6 insertions(+), 5 deletions(-)

diff --git a/src/base/ftsynth.c b/src/base/ftsynth.c
index 241d37f..3098a60 100644
--- a/src/base/ftsynth.c
+++ b/src/base/ftsynth.c
@@ -4,7 +4,7 @@
 /*                                                                         */
 /*    FreeType synthesizing code for emboldening and slanting (body).      */
 /*                                                                         */
-/*  Copyright 2000-2006, 2010, 2012 by                                     */
+/*  Copyright 2000-2006, 2010, 2012, 2013 by                               */
 /*  David Turner, Robert Wilhelm, and Werner Lemberg.                      */
 /*                                                                         */
 /*  This file is part of the FreeType project, and may only be used,       */
@@ -139,10 +139,11 @@
     if ( slot->advance.y )
       slot->advance.y += ystr;
 
-    slot->metrics.width       += xstr;
-    slot->metrics.height      += ystr;
-    slot->metrics.horiAdvance += xstr;
-    slot->metrics.vertAdvance += ystr;
+    slot->metrics.width        += xstr;
+    slot->metrics.height       += ystr;
+    slot->metrics.horiAdvance  += xstr;
+    slot->metrics.vertAdvance  += ystr;
+    slot->metrics.horiBearingY += ystr;
 
     /* XXX: 16-bit overflow case must be excluded before here */
     if ( slot->format == FT_GLYPH_FORMAT_BITMAP )
-- 
1.8.3.1



Index: freetype-freeworld.spec
===================================================================
RCS file: /cvs/free/rpms/freetype-freeworld/F-19/freetype-freeworld.spec,v
retrieving revision 1.27
retrieving revision 1.28
diff -u -r1.27 -r1.28
--- freetype-freeworld.spec	19 Mar 2013 17:23:21 -0000	1.27
+++ freetype-freeworld.spec	21 Sep 2013 23:58:58 -0000	1.28
@@ -1,7 +1,7 @@
 Summary: A free and portable font rendering engine
 Name: freetype-freeworld
 Version: 2.4.11
-Release: 2%{?dist}
+Release: 3%{?dist}
 License: (FTL or GPLv2+) and BSD and MIT and Public Domain and zlib with acknowledgement
 Group: System Environment/Libraries
 URL: http://www.freetype.org
@@ -15,6 +15,9 @@
 # https://bugzilla.redhat.com/show_bug.cgi?id=891457
 Patch89:  freetype-2.4.11-fix-emboldening.patch
 
+# https://bugzilla.gnome.org/show_bug.cgi?id=686709
+Patch90:  0001-Fix-vertical-size-of-emboldened-glyphs.patch
+
 BuildRoot: %{_tmppath}/%{name}-%{version}-root-%(%{__id_u} -n)
 
 Provides: freetype-bytecode
@@ -38,11 +41,12 @@
 %prep
 %setup -q -n freetype-%{version}
 
-%patch21  -p1 -b .enable-spr
+%patch21 -p1 -b .enable-spr
 
-%patch46  -p1 -b .enable-valid
+%patch46 -p1 -b .enable-valid
 
 %patch89 -p1 -b .emboldening
+%patch90 -p1 -b .emboldened-glyphs
 
 
 %build
@@ -88,6 +92,9 @@
 %config(noreplace) %{_sysconfdir}/ld.so.conf.d/%{name}-%{_arch}.conf
 
 %changelog
+* Sat Sep 21 2013 Kevin Kofler <Kevin at tigcc.ticalc.org> 2.4.11-3
+- Apply 0001-Fix-vertical-size-of-emboldened-glyphs.patch from Fedora
+
 * Tue Mar 19 2013 Kevin Kofler <Kevin at tigcc.ticalc.org> 2.4.11-2
 - Add freetype-2.4.11-fix-emboldening.patch from Fedora freetype (rh#891457)
 - Fix License tag


More information about the rpmfusion-commits mailing list