summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWerner Lemberg <wl@gnu.org>2002-03-28 14:24:24 +0000
committerWerner Lemberg <wl@gnu.org>2002-03-28 14:24:24 +0000
commit0cb34720001a85d530ccf7fbe2042b0a75b2c8f4 (patch)
treec03b70f579bac718e1911fce59dadcc3dfa7830e
parente40d0daf91f5238bda7bf68492d880644b28fd1b (diff)
downloadfreetype2-0cb34720001a85d530ccf7fbe2042b0a75b2c8f4.tar.gz
* src/sfnt/sfdriver.c (get_sfnt_postscript_name): Fix serious typos.
-rw-r--r--ChangeLog44
-rw-r--r--src/sfnt/sfdriver.c6
2 files changed, 25 insertions, 25 deletions
diff --git a/ChangeLog b/ChangeLog
index 903d74eed..4a383c2a9 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,25 +1,25 @@
-2002-03-26 David Turner <david@freetype.org>
-
- * src/sfnt/sfobjs.c (Get_Name): improved the routine in charge of
- retrieving the english name of a font
-
-2002-03-25 David Turner <david@freetype.org>
-
- * src/base/fttrigon.c, src/truetype/ttinterp.c: fixing the TrueType
- bytecode interpreter to compute the same values than FreeType 1.
-
- The difference came from distinct algorithm for computing the
- dot product and vector lengths. It seems that TT bytecode
- interpretation is _extremely_ sensitive to rounding 'errors'
- of fixed-point arithmetic..
-
- * include/freetype/config/ftoption.h,
- include/freetype/internal/ftcalc.h,
- src/base/ftcalc.c:
-
- gettting rid of the now obsolete FT_CONFIG_OPTION_OLD_CALCS
- macro
-
+2002-03-28 KUSANO Takayuki <AE5T-KSN@asahi-net.or.jp>
+
+ * src/sfnt/sfdriver.c (get_sfnt_postscript_name): Fix serious typos.
+
+2002-03-26 David Turner <david@freetype.org>
+
+ * src/sfnt/sfobjs.c (Get_Name): Improved the routine in charge of
+ retrieving the english name of a font.
+
+2002-03-25 David Turner <david@freetype.org>
+
+ * src/base/fttrigon.c, src/truetype/ttinterp.c: Fixing the TrueType
+ bytecode interpreter to compute the same values than FreeType 1.
+
+ The difference came from distinct algorithm for computing the dot
+ product and vector lengths. It seems that TT bytecode
+ interpretation is _extremely_ sensitive to rounding `errors' of
+ fixed-point arithmetic.
+
+ * include/freetype/config/ftoption.h,
+ include/freetype/internal/ftcalc.h, src/base/ftcalc.c: Getting rid
+ of the now obsolete FT_CONFIG_OPTION_OLD_CALCS macro.
2002-03-15 Werner Lemberg <wl@gnu.org>
diff --git a/src/sfnt/sfdriver.c b/src/sfnt/sfdriver.c
index af92ed206..f27ca573b 100644
--- a/src/sfnt/sfdriver.c
+++ b/src/sfnt/sfdriver.c
@@ -145,7 +145,7 @@
}
}
- if ( found_win )
+ if ( found_win != -1 )
{
FT_Memory memory = face->root.memory;
TT_NameRec* name = face->name_table.names + found_win;
@@ -168,10 +168,10 @@
return result;
}
- if ( found_apple )
+ if ( found_apple != -1 )
{
FT_Memory memory = face->root.memory;
- TT_NameRec* name = face->name_table.names + found_win;
+ TT_NameRec* name = face->name_table.names + found_apple;
FT_UInt len = name->stringLength;
FT_Error error;
FT_String* result;