From 14d340ce2e04052a4fa1837c3cb9df6e57c44ec4 Mon Sep 17 00:00:00 2001 From: David Turner Date: Fri, 17 Mar 2000 23:33:07 +0000 Subject: [PATCH] fixed a _really_ stupid bugs in the TrueType Collection loading !! --- src/sfnt/ttload.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/sfnt/ttload.c b/src/sfnt/ttload.c index c40ec8d9c..410f5c4b0 100644 --- a/src/sfnt/ttload.c +++ b/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; }