Hi,

I'm using XfsListFonts to get a font set with all the fonts available on
my system.

I'm using it as:

fs = XftListFonts(dpy, screen, 0,
          XFT_FAMILY, XFT_STYLE, XFT_SLANT,
          XFT_WEIGHT, XFT_SIZE, XFT_ENCODING, XFT_XLFD, XFT_FILE, 0);

but the patterns in fs doesn't have all the font properties that I'm
asking for.  I only get family, style, slant, weight, encoding & file. 
In which cases should I expect to get the font properties that I'm
asking for and in which cases should I expect the font property missing
in the font pattern?

Is there any way to get the nearest xlfd to a given XftPattern without
building it by hand?

I've also been using a bit XftDrawString<8,16,32,Utf8>, and I find kind
of weird that the "string" is XftChar<8,16,32,Utf8> *, and not a const
XftChar<...> *

Is there any reason to leave this parameter as a non-const pointer?

Thank you in advance!

Cheers,

P.S.: If these are rtfm question, just point me to the manual.  I've
read man Xft(3), and the xft tutorial, but I've not find any of these
issues commented.

-- 
Joaqu�n Cuenca Abela
[EMAIL PROTECTED]

_______________________________________________
Render mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/render

Reply via email to