FS#2033 - freetype bytecode patch not needed
Attached to Project:
Arch Linux
Opened by Aaron Griffin (phrakture) - Tuesday, 18 January 2005, 23:01 GMT
Last edited by arjan timmerman (blaasvis) - Sunday, 06 March 2005, 19:15 GMT
Opened by Aaron Griffin (phrakture) - Tuesday, 18 January 2005, 23:01 GMT
Last edited by arjan timmerman (blaasvis) - Sunday, 06 March 2005, 19:15 GMT
|
Details
The bytecode patch to freetype 2.1.9 (and any freetype for
that matter) is flat out NOT needed. This patch specifically
has caused firefox to hang and crash numerous times for me
(and others). freetype is a very good, very mature piece of
software and the devs have stated numerous times that they
recommend using the auto-hinter and not the bytecode
interpreter...
see here, near the bottom: http://wiki2.archlinux.org/index.php/XOrg%20Font%20Configuration I strongly suggest removing the bytecode patch and never using it again - it causes instability and goes against what the developers intend/suggest. |
This task depends upon
Firefox hanging should be solved with latest releases: those are patched for the removal of freetype2 caching code that isn't in freetype2 anymore since 2.1.8
This would also probably get rid of the "My fonts look ugly" complaints...
Unless it's just a configuration issue on my end.
A new image is up, which looks a lot better.
To be honest, I still like the bytecode version best, as the fonts are crisper and don't hurt my eyes. Staring at the fuzzier AA/auto-hinted ones make my eyes a little sore after a while.
Perhaps the best solution for both worlds (for now) would be to have fonts.conf enable the auto-hinter by default, and then picky people like myself could disable it and revert to the bytecode interpreter if they so choose.
If all else fails, what about two packages: freetype2-bytecode freetype2-autohint where each provides=('freetype2')?
There are also patent issues with the bytecode interpreter - technically, in order to use the version of freetype2 supplied by Arch, one must pay Apple...
here's some screenshots of the auto-hinter at work:
http://freetype.sourceforge.net/autohinting/hinter.html#screenshots
Judd, are your fonts anti-aliased in those screen-shots? That could be a issue as well.
Even scarier is the patent issue. I think there should be a disclaimer on install of this package and the mplayer codecs.
That's the best of the 3 attached screenshots. That's the default that it should be used by Arch. Both the other two first screenshots suck quality-wise.
i will add the screenshot.
maybe split and have two versions, one with, one without,
I havnt had any stability issues in any of my programs - I only use gtk2 programs though.
james: I agree - two versions wuld be best
Look at the first block in /etc/fonts/local.conf. It starts with a comment saying "Enable the auto-hinter". Comment that block out if you want to use the bytecode interpreter.
The jury's still out on what the Arch default should be, but two separate packages are not necessary. Stay tuned.
I think this bug can close, since the new package clearly states how to turn it on and off, as well as which is the default, in its install-time echos.