>>>>> "Keith" == Keith Packard <[EMAIL PROTECTED]> writes:
Keith> I've since had a revelation that we should discard PCF font
Keith> files and replace them with TTF files containing an embedded
Keith> bitmap.
Cool. I've also been thinking this for some time now.
I'd like to see this designed to combine all of the dpi-pt_size
variations of a given face into a single ttf. (It may even be
a good idea to also collect the WIEGHT, SLANT, SETWIDTH and
ADD_STYLE variations into a ttc; this should be discussed.)
The resultant ttfs should also, IMO, include sufficient hints so that
mkfontdir can generate fonts.dir entries from them exactly as it now
can from the bdf files. In fact, all of the properties from the bdf
files' STARTPROPERTIES section should be encoded into the ttf.
Exactly how the properties should be encoded is another topic in need
of discussion. A new table could be added (perhaps named something
like XF86, XFLD, XBDF or BDFP) to encode all of the props with
pointers to which bitmap they refer. Or perhaps the current tables
are sufficient to encode all of that data.
Keith> If anyone has experience writing TrueType font files, help
Keith> would be greatly appreciated in building something that can
Keith> create these new files.
It might be easier to start by writing a bdf2ttx util and using Just's
fonttools package to compile to ttf. Or perhaps just extend fonttools
to read in a (set of) bdf(s) and dump out a ttf.
Alternatively, pfaedit ought to be able to do this right now, and
could be scripted to automate the task.
Either package would be good code to test against.
P.S. As a related sidenote, has anyone tried writing an xfs
on top of fontconfig/xft2/ft2?
-JimC
_______________________________________________
Fonts mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/fonts