shithub: freetype+ttf2subf

Download patch

ref: 7478197e0018e12aa40f99229626d25d47ead1fe
parent: 7338ec2b538edf19646a9d33dd3062c6be8cc117
author: Werner Lemberg <[email protected]>
date: Tue Apr 3 15:39:28 EDT 2007

formatting

git/fs: mount .git/fs: mount/attach disallowed
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,8 +1,8 @@
 2007-04-03  David Turner  <[email protected]>
 
 	* src/base/ftobjs.c (FT_Set_Char_Size): As suggested by James Cloos,
-	if one of the resolution is 0, treat it as if it was the same than
-	the other value.
+	if one of the resolution values is 0, treat it as if it were the
+	same as the other value.
 
 2007-04-02  David Turner  <[email protected]>
 
--- a/src/base/ftobjs.c
+++ b/src/base/ftobjs.c
@@ -2425,9 +2425,9 @@
     else if ( !char_height )
       char_height = char_width;
 
-    if (!horz_resolution)
+    if ( !horz_resolution )
       horz_resolution = vert_resolution;
-    else if (!vert_resolution)
+    else if ( !vert_resolution )
       vert_resolution = horz_resolution;
 
     if ( char_width  < 1 * 64 )