Sorry to be late on this, but what Glenn said is true for the most part. FOP does delegate SVG font handling to Batik, which does use AWT classes for processing fonts. The disparity here is something I am hoping we will address.
Mehdi On 21 May 2011 21:28, Glenn Adams <[email protected]> wrote: > FOP reads native fonts directly, but does not create java.awt.Font as a > result; rather, it creates instances of org.apache.fop.fonts.Font, an > instance of which internally holds a reference to an object implementing > org.apache.fop.fonts.FontMetrics, the latter holding most of the information > parsed from the native font file. > > On Fri, May 20, 2011 at 9:22 AM, Dieter <[email protected]> wrote: >> >> Hi, >> >> Java AWT has the Font class and a couple of native ties to load fonts >> and generate a Font object. I wonder if XMLGraphics or FOP has its own >> infrastructure for reading Fonts (maybe without those native ties) >> that results in the same Font object. >> >> Cheers, >> Dieter >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: [email protected] >> For additional commands, e-mail: [email protected] >> > > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
