X-Git-Url: http://git.asbjorn.biz/?a=blobdiff_plain;f=pdf2swf%2Fswfoutput.cc;h=b0315465c2a6408db60784827d1e125f3a41def7;hb=21ca4231de3cd7172850802c353e4aaffad98c7b;hp=5921251507c04b7db19b8f01f78e43ef7d6e3261;hpb=d92832b51644572982ae9b762828e83fe0a23499;p=swftools.git diff --git a/pdf2swf/swfoutput.cc b/pdf2swf/swfoutput.cc index 5921251..b031546 100644 --- a/pdf2swf/swfoutput.cc +++ b/pdf2swf/swfoutput.cc @@ -624,7 +624,9 @@ SWFFont::~SWFFont() } for(t=0;tdata[ptr[t]] = swf_GetTagLen(ftag)-initpos; + *(U16*)&ftag->data[ptr[t]] = + SWAP16(swf_GetTagLen(ftag)-initpos); + swflastx=0; swflasty=0; swf_SetU8(ftag,0x10); //0 fill bits, 0 linestyle bits