Okay, so far so good.  Can you take an existing font in the system
and adjust it based on the AFM metrics?  For instance, if my AFM file is
for "Times" and my system has some close but perhaps not exact match,
could I just massage the existing font so the metrics match?

        Also, Font.createFont says that it only supports TrueType fonts,
but you mention that Java supports Type 1 too -- how would I load a Type 1
font?

        And heck, if you'll bear with me for one more, what's the
difference between TTF and TTC or PFA and PFB?

Thanks,
        Aaron

On Fri, 28 May 2004, Igor Nekrestyanov wrote:
> 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.

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