Hello Aaron,

Afm stands for Adobe Font Metrics. The afm file is a text file
that lists the postscript metrics of each character in the font in a
readable manner.

Because afm file per se does not contain enough information to
render glyphs there is no way to create java.awt.Font from afm file.

At the moment java supports TrueType fonts (ttf/ttc files) or Type1 fonts
(pfa/pfb files) only.

-igor

On Fri, 28 May 2004, Aaron Mulder wrote:

>         I have at best a limited understanding of font technology, but...
> Given an AFM file, is there a way to construct a corresponding
> java.awt.Font?
>
> Thanks,
>         Aaron
>
> ===========================================================================
> 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".
>

===========================================================================
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