From 04fa5bf01c7a0ade51ed92f423ae6831ed765195 Mon Sep 17 00:00:00 2001 From: kramm Date: Fri, 13 Aug 2004 19:02:22 +0000 Subject: [PATCH] fixed "second swf_LoadT1Font() fails" bug. --- lib/modules/swffont.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/lib/modules/swffont.c b/lib/modules/swffont.c index ba73409..abfc0c1 100644 --- a/lib/modules/swffont.c +++ b/lib/modules/swffont.c @@ -323,7 +323,6 @@ SWFFONT* swf_LoadT1Font(char*filename) char*fontname,*fullname,*familyname; BBox bbox; int s,num; - char*encoding[256]; char**charnames; char**charname; int c; @@ -339,9 +338,6 @@ SWFFONT* swf_LoadT1Font(char*filename) nr = T1_AddFont(filename); T1_LoadFont(nr); - num = T1_SetDefaultEncoding(encoding); - for(;num<256;num++) encoding[num] = 0; - charnames = T1_GetAllCharNames(nr); angle = T1_GetItalicAngle(nr); -- 1.7.10.4