[swfmill] sTypoAscender vs ascender
Andrei Rosca
rosca.andrei at gmail.com
Fri Aug 8 10:54:10 PDT 2008
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
More information about the swfmill
mailing list