git.asbjorn.biz
/
swftools.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e8b1cc9
)
added comment about point size.
author
kramm
<kramm>
Mon, 10 Jan 2005 17:38:05 +0000
(17:38 +0000)
committer
kramm
<kramm>
Mon, 10 Jan 2005 17:38:05 +0000
(17:38 +0000)
lib/modules/swffont.c
patch
|
blob
|
history
diff --git
a/lib/modules/swffont.c
b/lib/modules/swffont.c
index
6344fd3
..
3366e54
100644
(file)
--- 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 <freetype/ftoutln.h>
#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