From: kramm Date: Mon, 10 Jan 2005 17:38:05 +0000 (+0000) Subject: added comment about point size. X-Git-Tag: release-0-6-3~55 X-Git-Url: http://git.asbjorn.biz/?p=swftools.git;a=commitdiff_plain;h=0c14fe25556ee2416451e65cac8caaa7ebfce15d added comment about point size. --- diff --git a/lib/modules/swffont.c b/lib/modules/swffont.c index 6344fd3..3366e54 100644 --- a/lib/modules/swffont.c +++ b/lib/modules/swffont.c @@ -51,6 +51,11 @@ void swf_SetLoadFontParameters(int _scale, int _skip_unused, int _full_unicode) #include #endif +/* Setting subpixels to 64 also means that the "point size" of the + font outlines will be 64. So the font, when rendered at original + size (i.e., the swf fontsize is 1024) will have the same size as + if it was rendered at 64pt */ + #define FT_SCALE 1 #define FT_SUBPIXELS 64