"Victor Mote" <[EMAIL PROTECTED]> schrieb am 24.05.2004 02:32:28:
> There may come a time when the awt system is the way to go, but AFAICT, it > isn't here yet, but I'll be glad to be proven wrong. > > ... > > No. Font *embedding* is renderer specific. AFAICT, everything else about the > font is the same. > > ... > > It is a non sequiter to say that layout needs only font metrics (which is > true), and therefore the logical home for font selection information is the > renderer. > > ... > > Again, the underlying font is the same whether you are rendering to PDF, > Postscript, or anything else. Only the embedding would change. Please let me > know if I have missed something. To all of that I entirely agree, but might want to add one thing: a renderer should have a way to supply a font to the formatter's font repository. This is needed when, for example, a print renderer can query and use builtin printer fonts. The way to query and get these (even if it's only a metrics-only font) should be in the renderer, though. Sometimes, this is an essential feature, for example for special OCR/OMR fonts stored in printers for which you may not have a "screen" font. My 2 cents. Arnd -- Arnd Beißner Cappelino Informationstechnologie GmbH