* src/gzip/ftgzip.c: bugfix: couldn't read certain gzip-ed font files
This commit is contained in:
parent
12d09050f5
commit
619d62d933
|
@ -1,3 +1,7 @@
|
|||
2003-01-15 James Su <suzhe@turbolinux.com.cn>
|
||||
|
||||
* src/gzip/ftgzip.c: bugfix: couldn't read certain gzip-ed font files
|
||||
|
||||
2003-01-15 Huw D M Davies <h.davies1@physics.ox.ac.uk>
|
||||
|
||||
* include/freetype/config/ftheader.h, include/freetype/internal/fnttypes.h,
|
||||
|
|
|
@ -177,7 +177,7 @@
|
|||
(void)FT_STREAM_SKIP( 6 );
|
||||
|
||||
/* skip the extra field */
|
||||
if ( head[3] && FT_GZIP_EXTRA_FIELD )
|
||||
if ( head[3] & FT_GZIP_EXTRA_FIELD )
|
||||
{
|
||||
FT_UInt len;
|
||||
|
||||
|
@ -187,7 +187,7 @@
|
|||
}
|
||||
|
||||
/* skip original file name */
|
||||
if ( head[3] && FT_GZIP_ORIG_NAME )
|
||||
if ( head[3] & FT_GZIP_ORIG_NAME )
|
||||
for (;;)
|
||||
{
|
||||
FT_UInt c;
|
||||
|
|
Loading…
Reference in New Issue