[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

X Strike Force XFree86 SVN commit: r1095 - in trunk/debian: . patches



Author: branden
Date: 2004-02-21 15:34:53 -0500 (Sat, 21 Feb 2004)
New Revision: 1095

Added:
   trunk/debian/patches/074_freetype_fix_underlining.diff
Modified:
   trunk/debian/changelog
Log:
Fix underlining of TrueType fonts with patch from the After X-TT Project
(thanks to Sean Neakums for the pointer).  (Closes: #233948)


Modified: trunk/debian/changelog
===================================================================
--- trunk/debian/changelog	2004-02-21 19:58:40 UTC (rev 1094)
+++ trunk/debian/changelog	2004-02-21 20:34:53 UTC (rev 1095)
@@ -93,8 +93,12 @@
     destinations (based on a patch by Eduard Bloch).  (Closes: #215793)
     - debian/rules
 
- -- Branden Robinson <branden@debian.org>  Sat, 21 Feb 2004 00:43:44 -0500
+  * Fix underlining of TrueType fonts with patch from the After X-TT Project
+    (thanks to Sean Neakums for the pointer).  (Closes: #233948)
+    - debian/patches/074_freetype_fix_underlining.diff
 
+ -- Branden Robinson <branden@debian.org>  Sat, 21 Feb 2004 15:29:23 -0500
+
 xfree86 (4.3.0-2) unstable; urgency=low
 
   * The "It's like I have a shotgun in my mouth, I've got my finger on the

Added: trunk/debian/patches/074_freetype_fix_underlining.diff
===================================================================
--- trunk/debian/patches/074_freetype_fix_underlining.diff	2004-02-21 19:58:40 UTC (rev 1094)
+++ trunk/debian/patches/074_freetype_fix_underlining.diff	2004-02-21 20:34:53 UTC (rev 1095)
@@ -0,0 +1,27 @@
+$Id$
+
+Fix underlining of TrueType fonts.  See Debian #233948.
+
+Patch comes from "the After X-TT Project's libfreetype-xtt2 1.0b fixes and
+enhancements to the "freetype" module".  Included with a ton of other
+changes in one commit to upstream XFree86 CVS, ftfuncs.c revision 1.32.
+
+--- xc/lib/font/FreeType/ftfuncs.c~	2004-02-21 14:29:44.000000000 -0500
++++ xc/lib/font/FreeType/ftfuncs.c	2004-02-21 14:31:20.000000000 -0500
+@@ -958,12 +958,14 @@
+     if(post || t1info) {
+         int underlinePosition, underlineThickness;
+ 
++        /* Raw underlineposition counts upwards,
++           but UNDERLINE_POSITION counts downwards. */
+         if(post) {
+-            underlinePosition = TRANSFORM_FUNITS_Y(post->underlinePosition);
++            underlinePosition = TRANSFORM_FUNITS_Y(-post->underlinePosition);
+             underlineThickness = TRANSFORM_FUNITS_Y(post->underlineThickness);
+         } else {
+             underlinePosition = 
+-                TRANSFORM_FUNITS_Y(t1info->underline_position);
++                TRANSFORM_FUNITS_Y(-t1info->underline_position);
+             underlineThickness = 
+                 TRANSFORM_FUNITS_Y(t1info->underline_thickness);
+         }


Property changes on: trunk/debian/patches/074_freetype_fix_underlining.diff
___________________________________________________________________
Name: svn:keywords
   + Id



Reply to: