On Sat, Nov 17, 2012 at 5:38 AM, Bonekrusher <djs...@yahoo.com> wrote:

> Would this measurement be considered "relative"? If I pass my java
> extension
> (per example), a string with a Font that is Arial 9, Font Metrics will
> return a length. This is outside of FOP. Are you saying that Font 9 width
> can be different if FOP is not using AWT?
>

Yes. FOP does not use AWT for determining font metrics or for making glyph
placement or line breaking decisions. FOP reads font metrics directly from
font files, including kerning and other glyph position adjustment
information.

So what you may learn from AWT's FontMetrics may or may not be what FOP
uses. If it happens to be the same is some special case, then that is
merely a coincidence.

Reply via email to