X-Git-Url: http://git.asbjorn.biz/?a=blobdiff_plain;f=lib%2Fmodules%2Fswffont.c;h=0297176332c4a9280f52c6e946eed6cd05005637;hb=c9b44693767f91eea337e8569eafbe7440eaf495;hp=c8c3efa58b57d80fa4296e7a70a4b35178bdcf70;hpb=6c3ab5574d31504d24710c2756899d49275c1a37;p=swftools.git diff --git a/lib/modules/swffont.c b/lib/modules/swffont.c index c8c3efa..0297176 100644 --- a/lib/modules/swffont.c +++ b/lib/modules/swffont.c @@ -21,6 +21,10 @@ along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ +#include +#include +#include "../rfxswf.h" + static int loadfont_scale = 4; static int skip_unused = 1; static int full_unicode = 0; @@ -122,7 +126,6 @@ SWFFONT* swf_LoadTrueTypeFont(char*filename) SWFFONT* font; int t; int*glyph2glyph; - FT_Size size; int max_unicode = 0; int charmap = -1; @@ -239,10 +242,8 @@ SWFFONT* swf_LoadTrueTypeFont(char*filename) for(t=0; t < face->num_glyphs; t++) { FT_Glyph glyph; FT_BBox bbox; - FT_Matrix matrix; char name[128]; drawer_t draw; - int ret; char hasname = 0; name[0]=0; if(FT_HAS_GLYPH_NAMES(face)) {