On Sun, 2006-08-27 at 14:24 +0200, Tor Andersson wrote:
It still won't be perfect, since all Linux toolkits snap metrics to
pixel integer coordinates which gives somewhat uneven spacing.
Don't even think about CoolType or ClearType in Linux; the Xft code
does not do filtering across pixel borders so it's a *lot* worse than
it could be.
Thanks for the info, but let me ask you this -- is there somebody
working on Xft to make it possible ? Are they pursuing a different
route ?
It's not FreeType's fault that Linux text looks bad.
For reference, with FreeType 2 it is possible to get the kind of
text quality displayed in the screenshots on this web page:
http://ccxvii.net/gargoyle/screenshots.html
Here I use FreeType2 to render text unhinted, taking in account
the fractional position of each glyph within the pixel (ie, the
render
of a character is different depending on whether it starts at pixel
coordinate 0.0 or 0.2 or 0.7, for example). I also apply a 5-
component
wide LCD coloring filter.
Tor, what kind of software did you use to achieve such a result ?
Can
it be leveraged for Xft (at least the filtering part)?
Also, if you don't mind -- can you elaborate a bit on how did you
do fractional positioning (I mean it doesn't seem to be possible
with FT APIs so you must have done something else here).
And as always -- any pointers will be greatly appreciated.
Thanks,
Roman.