On Sat, 11 Mar 2000, Donovan Rebbechi wrote: [...] > The problem boils down to the fact that Linux has no standard way to map > screen fonts to printer fonts. X11 does not print, and does not provide a [...] > To put it concisely, here's a problem: show me some code that displays a > font, and *reliably* prints the same font. Once you solve this problem, > you can do WYSIWYG. Before then, you can't. [...] > > IMO, the right way (tm) is to simply provide some database that stores the > following kind of information about a font: > > * screen name ( as in the XFLD ) > * outline file name > * font metric file if applicable > * family name > * weight ( bold, demibold, regular, light ) > * slant ( italic, oblique, regular ) > > Once you document the format of the database ( actually, xml is one > possibility ), you can write APIs to read it and edit it in any language > you choose. This looks like an excellent opportunity for KDE and GNOME people to collaborate on a mutually beneficial, widget set-independent project. Dave