On Tue, 2006-10-24 at 11:16 -0700, Phil Race wrote:
> Well since we don't look at the AFM file ...
>
> -phil.
>
> Peter B. West wrote:
> ...

> > Generally speaking, the logical bounds of characters in Type1 fonts
> > seems to be slightly smaller than the width given in the AFM file for
> > that font.
...

Phil,

Plese correct me if I'm wrong, but don't the horizontal metrics in the
AFM file simply reflect the sbw or hsbw commands that are required at
the start of each CharString? For example, when I open a .pfb file,
isolated from its .afm, in FontForge, and look at individual characters,
I get values for left side bearing and for width that are consistent
with the values in the afm file for that font. This is why I'm puzzled
by the differences in Java2D.

These difference make for great difficulties in using 2D to measure text
which will be rendered by some other renderer.

Peter

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JAVA2D-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

Reply via email to