shithub: freetype+ttf2subf

Download patch

ref: f79a7ae0b06de1c33758ff9fad433fa24d8cff4a
parent: 282637f6a53dff97e72a3bb35d9f6792cf9c6663
author: Werner Lemberg <[email protected]>
date: Wed May 21 17:47:25 EDT 2003

* src/gzip/ftgzip.c (ft_gzip_fil_io): Revert change from yesterday;
it has already been fixed differently.

* src/truetype/ttinterp.c (DO_SFVTL): Add missing braces around
if-clause.

git/fs: mount .git/fs: mount/attach disallowed
--- a/ChangeLog
+++ b/ChangeLog
@@ -16,6 +16,12 @@
 	* src/bdf/bdfdrivr.c (BDF_Face_Init), src/pcf/pcfdriver.c
 	(PCF_Face_Init): Test for charset registry case-insensitively.
 
+	* src/gzip/ftgzip.c (ft_gzip_fil_io): Revert change from yesterday;
+	it has already been fixed differently.
+
+	* src/truetype/ttinterp.c (DO_SFVTL): Add missing braces around
+	if-clause.
+
 2003-05-21  Martin Zinser  <[email protected]>
 
 	* t1load.c (parse_blend_axis_types): Fix compiler warning.
--- a/src/gzip/ftgzip.c
+++ b/src/gzip/ftgzip.c
@@ -479,8 +479,6 @@
 
 
       delta = (FT_ULong)( zip->limit - zip->cursor );
-      if ( delta == 0 )
-        break;
       if ( delta >= count )
         delta = count;
 
--- a/src/truetype/ttinterp.c
+++ b/src/truetype/ttinterp.c
@@ -2612,8 +2612,10 @@
                     (FT_UShort)args[0],               \
                     CUR.opcode,                       \
                     &CUR.GS.freeVector ) == SUCCESS ) \
+    {                                                 \
       GUESS_VECTOR( projVector );                     \
-      COMPUTE_Funcs();
+      COMPUTE_Funcs();                                \
+    }
 
 
 #define DO_SFVTPV                          \