Re: How do you display 2-byte fonts with Xlib?

From: Nobody (nobody_at_nowhere.com)
Date: 03/07/04


Date: 7 Mar 2004 11:40:11 -0600

On Mon, 01 Mar 2004 16:51:45 +0100,

>> Are there any Xlib programming gurus out there? I'm working through the
>> "Xlib programmin manual" (by Adrian Nye... as far as I can tell, this is
>> the only printed X programming guide), and it refers to 2-byte fonts,
>> but doesn't elaborate much as to their use.
>
> Just use XFT2/Fontconfig .. it'll work on every X server (its client side,
> but can use Xrender acceleration if available) ... it has better font
> support, anti-alliasing, UTF-8 etc...

Oh, I'm sure there are lots of ways to display multi-byte fonts (in fact,
I wouldn't seriously consider using base Xlib for *anything* I wanted to
actually use)... I was just curious about the XDrawString16 (et. al.)
function(s). I can't find a working example of any multi-byte functions
in Xlib.

But since you mentioned them, I can't find any info on XFT2/Fontconfig...
what are they?