Around 12 o'clock on Jan 9, Paul Cheyrou wrote:
> But I need to use the X Logical Font Description Conventions
> ("-b&h-lucida-bold-i-normal-sans-34-240-100-100-p-215-iso8859-*" font
> string description )
> Is there a way of getting font in memory or the font filename & filepath
> with X just with the XLFD ?
Currently, the Xft library is where X does font name -> file name
conversions for FreeType. While it can use XLFD names, there is a new
name syntax which is both easier to type and more capable to describe
fonts. The library and the new syntax are both documented in a paper I
wrote for last years XFree86 technical conference:
http://www.xfree86.org/~keithp/talks/xtc2001/
I'm in the process of extracting the font configuration, customization and
naming library out of Xft so that non-X applications can use it. That
work will be integrated into XFree86 after the 4.2 release; fortunately,
the interface is the same, except for the prefixes used for various
namespaces (XftListFonts -> FcListFonts).
You can use the font naming functions in Xft separately from the rest of
the library; the result of a match contains a filename and size that you
can use with FreeType.
Keith Packard XFree86 Core Team Compaq Cambridge Research Lab
_______________________________________________
Fonts mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/fonts