Xft - problem with XftFontOpenName and XftFontOpen functions.

Eeri Kask Eeri.Kask at mailbox.tu-dresden.de
Mon Feb 20 00:18:04 PST 2012


On 19.02.12 21:00, "Nicolas Mailhot" <nicolas.mailhot at laposte.net> wrote:
> Le Dim 19 f?vrier 2012 09:13, John Found a ?crit :
>> Hm, nobody knows or nobody cares?
>> Or it is a great secret, for the internal circle only? :D
> 
> It's probably because no one sane uses Xft directly nowadays. Xft alone is not
> sufficient to display modern text, you need a shaper such as pango (directly
> or via cairo) or harfbuzz to process properly modern fonts, Xft will let you
> read glyphs in truetype fonts but won't know how to position them properly.


What is wrong with using XftDrawString8() if letterspacing is not a big
issue (like with monospaced typefaces)?

Curiously, do pango and cairo / harfbuzz support modern shaping like of
the quality found in the HZ-algorithm (to justify their use in this
regard)?  :-)

    Eeri Kask




More information about the xorg mailing list