I've been using a pdf generation tool that seems to use the typo
Ascender/Descender form ttf files, Can anyone compile swfmill for
windows with the flowing changes in swft/swft_import_ttf.cpp

//tag->setascent( 1+((SCALING_FACTOR * face->ascender) / face->units_per_EM) );
tag->setascent( 1+((SCALING_FACTOR * face->os2.sTypoAscender) /
face->units_per_EM) );
//tag->setdescent( 1+((SCALING_FACTOR * labs(face->descender)) /
face->units_per_EM) );
tag->setdescent( 1+((SCALING_FACTOR * labs(face->os2.sTypoDescender))
/ face->units_per_EM) );

Would help me so much... I get lost when I see a shell

Thank you

_______________________________________________
swfmill mailing list
[email protected]
http://osflash.org/mailman/listinfo/swfmill_osflash.org

Reply via email to