On Fri, 28 May 2004, Aaron Mulder wrote:

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

No, at the moment java has no support for AFM files.

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

JDK1.5 adds support for Type 1 fonts in Font.createFont.
(Have a look at beta release at java.sun.com)

In previous versions of jdk public API provides only possibility to
request installed type 1 font by family name.

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

TTC - is collection of TrueType fonts

PFA and PFB are just different representations of Type 1 fonts.
(Ascii and binary. Ascii is platform independent one.)

-igor

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