fixed a _really_ stupid bugs in the TrueType Collection

loading !!
VER-2-0-4-PATCH
David Turner 25 years ago
parent f8bc2d3ca6
commit 14d340ce2e
  1. 4
      src/sfnt/ttload.c

@ -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…
Cancel
Save