I can't figure out how to add new fonts to Koen's Ångström/E17 Demo.
I'm trying to port an X Windows application that uses a lot of fonts
and I need to know:
1. What font file formats are acceptable to Ångström/E17?
2. Where should I put them?
3. How do to load them into the operating system?
Any help would be greatly appreciated!
John
Here are things I have tried:
Calling XGetFontPath returns one font path:
Font path 0 = built-ins
Calling XListFonts returns the following four fonts:
font: -misc-fixed-medium-r-semicondensed--13-100-100-100-c-60-
iso8859-1
font: -misc-fixed-medium-r-semicondensed--13-120-75-75-c-60-iso8859-1
font: -misc-fixed-medium-r-semicondensed--13-120-75-75-c-0-iso8859-1
font: -misc-fixed-medium-r-semicondensed--0-0-75-75-c-0-iso8859-1
Trying to install my own font directory (which has fonts.dir and has
777 permissions) gives me:
# xset fp+ fonts
xset: bad font path element (#60), possible causes are:
Directory does not exist or has wrong permissions
Directory missing fonts.dir
Incorrect font server address or syntax