From: Matthias Kramm Date: Thu, 4 Mar 2010 00:24:35 +0000 (-0800) Subject: made .ttf files work on windows X-Git-Tag: version-0-9-1~119 X-Git-Url: http://git.asbjorn.biz/?p=swftools.git;a=commitdiff_plain;h=17dabd470e42707fa7adaff77fe3108d6dd37865 made .ttf files work on windows --- diff --git a/lib/ttf.c b/lib/ttf.c index a5bcfe4..2cbc32b 100644 --- a/lib/ttf.c +++ b/lib/ttf.c @@ -1529,7 +1529,7 @@ void name_write(ttf_t*ttf, ttf_table_t*table) for(t=0;tdata[offset_pos] = table->len>>8; @@ -1556,6 +1565,11 @@ void name_write(ttf_t*ttf, ttf_table_t*table) if(strings[t]) { int len = strlen(strings[t]); writeBlock(table, strings[t], len); + int s; + for(s=0;s