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;
|
goto Exit;
|
||||||
|
|
||||||
/* seek to the appropriate TrueType file, then read tag */
|
/* seek to the appropriate TrueType file, then read tag */
|
||||||
if ( FILE_Skip( face->ttc_header.TableDirectory[faceIndex] - 12 ) ||
|
if ( FILE_Seek( face->ttc_header.TableDirectory[faceIndex] ) ||
|
||||||
READ_Long( *format_tag ) )
|
READ_Long( *format_tag ) )
|
||||||
goto Exit;
|
goto Exit;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue