mirror of https://github.com/freetype/freetype
fixed a _really_ stupid bugs in the TrueType Collection
loading !!
This commit is contained in:
parent
f8bc2d3ca6
commit
14d340ce2e
|
@ -217,8 +217,8 @@
|
|||
goto Exit;
|
||||
|
||||
/* seek to the appropriate TrueType file, then read tag */
|
||||
if ( FILE_Skip( face->ttc_header.TableDirectory[faceIndex] - 12 ) ||
|
||||
READ_Long( *format_tag ) )
|
||||
if ( FILE_Seek( face->ttc_header.TableDirectory[faceIndex] ) ||
|
||||
READ_Long( *format_tag ) )
|
||||
goto Exit;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue