shithub: freetype+ttf2subf

Download patch

ref: 705620beebdb9a4f62853463dd4c23e7f2fbce29
parent: 12e51f16857feeae87327b5ccf0e519373f6ae59
author: David Turner <[email protected]>
date: Wed Mar 9 12:36:02 EST 2005

* src/base/ftobjs.c (FT_Set_Char_Sizes): fix for bug #12263

git/fs: mount .git/fs: mount/attach disallowed
--- a/ChangeLog
+++ b/ChangeLog
@@ -10,6 +10,8 @@
   * src/psnames/psmodule.c: rewrote some parts to comply with recent
     changes in 'pstables.h'
 
+  * src/base/ftobjs.c (FT_Set_Char_Sizes): fix for bug #12263
+
 2005-03-06  David Turner  <[email protected]>
 
 	* src/otvalid/otvgsub.c, src/otvalid/otvgpos.c: Make static tables
--- a/src/base/ftobjs.c
+++ b/src/base/ftobjs.c
@@ -2011,9 +2011,11 @@
       FT_UShort  x_ppem = (FT_UShort)( ( dim_x + 32 ) >> 6 );
       FT_UShort  y_ppem = (FT_UShort)( ( dim_y + 32 ) >> 6 );
 
+    /* this code is disabled, for an explanation, see bug#12263 */
+#if 0
       if ( x_ppem == metrics->x_ppem && y_ppem == metrics->y_ppem )
         return FT_Err_Ok;
-
+#endif
       metrics->x_ppem = x_ppem;
       metrics->y_ppem = y_ppem;
     }