I am trying to write an application using the Java2D API, but
my application needs a specialized font. I intend to distribute
this font with my Java application, as either TrueType or Type 1.
I want to be able to use my font from within the Java application
without having the user install the font onto his host OS using
the OS-specific font-installation method (MacOS, Win, Unix).

How do I actually *use* a font that exists solely in my application's
directory, and is not installed on the host OS?

I have tried playing with the JAVA_FONTS env variable and using
getFont() and the Font constructor with the filename of my font, but this
does not work.

Thanks for any help,

--gilbert

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