Ben wrote:
* Yvonne Yeung (yy@lankum.com) [021027 21:57]: ->Just installed to SuSE 8.1 Pro, and recompiled freetype2 to activate ->bytecode interpreter. Fonts look good in KDE 3.0.4 w anti-aliasing, ->but I can't seem to get Mozilla to do font-aliasing (truetype fonts ->work ok, just not anti-aliased). -> ->I have font anti-aliasing working ok in Mozilla on SuSE 8.0. ->Any idea why it wouldn't work on 8.1?
The bytecode interpreter is already enabled in Freetype in both 8.0 and
I'm not so sure about this - I thought they had freetype support but without the bytecode interpreter (due to patent issue)? The source definitely has that option set... ### /*************************************************************************/ /* */ /* Define TT_CONFIG_OPTION_BYTECODE_INTERPRETER if you want to compile */ /* a bytecode interpreter in the TrueType driver. Note that there are */ /* important patent issues related to the use of the interpreter. */ /* */ /* By undefining this, you will only compile the code necessary to load */ /* TrueType glyphs without hinting. */ /* */ #define TT_CONFIG_OPTION_BYTECODE_INTERPRETER ### After I installed the recompiled freetype2, the fonts do look better!
8.1...no need to recompile. But you might want to edit your unix.js
SuSE has freetype enabled on Mozilla by default.
file and tell it where the freetype lib is and what directory your ttf's are in. That's about all you actually had to do. ;) ...
Well, I guess the weird part is that with all these Mozilla still doesn't show font anti-aliasing :-( Actually, whether I have font.Freetype2.enabled set to 'true' or 'false' gave the same results. Well, time to dig deeper.