It is now possible to use bitmap-only SFNTs in XFree86. There is very
little left to do at the server level, some more work is needed at the
level of fonttosfnt and mkfontscale.
0. Check you've got the right version of XFree86.
$ cvs log xc/lib/font/fontfile/fontdir.c | grep 289
289. Twisting fontfile.c and fontdir.c to be able to pass all fonts (bitmap
1. Apply
http://bugs.xfree86.org/cgi-bin/bugzilla/show_bug.cgi?id=491
and rebuild mkfontscale.
2. Make a directory full of fonts.
$ cd /tmp
$ mkdir fonts
$ cd fonts
$ cp /usr/X11R6/lib/X11/fonts/misc/*.pcf.gz .
3. Uncompress the fonts. This is optional, but if you don't do that,
the next step will take minutes rather than seconds.
$ gzip -d *.pcf.gz
4. Convert all the fonts to bitmap-only sfnt, and give them the
extension ttf (for now -- see my next message):
$ for i in *.pcf; do fonttosfnt -o ${i%.pcf}.ttf $i ; done
$ rm *.pcf
You will get a number of failures, I'm looking into that.
5. Create a fonts.dir file:
$ mkfontscale -b
You'll get some warnings, and some of the generated names will not be
quite right. Additionally, all non-Unicode fonts will get names
ending in ``microsoft-symbol''. (Fixing that will require private
extensions to the sfnt format.)
6. Test the new fonts.
$ xset +fp `pwd`
$ xlsfonts -ll -fn '-misc-fixed-medium-r-normal--20-*-75-75-m-*-iso8859-1' | grep
RASTERIZER_NAME
RASTERIZER_NAME FreeType
$ xfd -fn '-misc-fixed-medium-r-normal--20-*-75-75-m-*-iso8859-1'
Juliusz
___
Fonts mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/fonts