There are two issues with the current Xft TrueType
font support:

1.  Font names

Xft simply uses Freetype's family_name and style_name
fields.  Unfortunately, if a font file does not have an ASCII
name, those fields could be NULL, making the font useless
with Xft.

2.  Font cmap

Now Xft can only understand Unicode cmap.  If a font
has no Unicode cmap, it can not be used either.

To solve those two problems, I have written a small
utility program to a: add "ASCII" names; b. add Unicode
cmap.  Both are done by translating existing names
and cmap.

For "ASCII" name translation, strictly speaking, it can
not done.   But I really mean translating to UTF-8 and
add as (Macintosh, Roman, English) names.

As for Unicode cmap, it uses tables found in Unicode
official site which translate to font's existing encoding
and then glyph index.

I call the program "Open Type Organizer", if you are
interested, you can find it at

http://sourceforge.net/projects/oto/

I just started doing it last week, please let me know
if you have trouble trying it.

Regards.



_______________________________________________
Fonts mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/fonts

Reply via email to