Hello.

I'm trying to write a Graphics2D implementation that will produce
PostScript output and I have the following problems/questions (I did
all testing on Windows 2000 Server with JDK 1.3 freshly downloaded):

1. Does Java2D support Type1 fonts? Does it rely on the platform (i.e.
GDI) to read and render these fonts? Namely, I've seen that Win2K has
native support for Type1 fonts. However, Java2D didn't know about any
of them until I installed ATM manager from Adobe. Why? Also, when I
call FontMetrics.getStringBounds(), how is this request fulfilled - is
it using the platform or does Java2D read the font itself?

2. I have problems with naming of Type1 fonts. Names that I get when I
enumerate all fonts on the platform correcpond to FullName key in the
font dictionary, and names that I get from Font.getPSName() correspond
to FullName. However, to generate PostScript I need the FontName key,
and I cannot get this trough the Font interface. Is this correct? (I'd
expect to get FontName key using getPSName() method).

3. Does Java2D support kerning? Namely, my font has kerning
information, but when I render the font on screen characters don't seem
to be kerned. Is it possible to access the kerning table from the font?

4. My font is Type1, but Font object returned from Font.getFont()
doesn't implement nor OpenType nor MultipleMaster interfaces. Are these
interfaces used at all in Java2D? If so, how? (The documentation is
quite terse.) Is there any way I can get to font tables (and kerning
table, for example) with current implementation?

Thanks for help

     Boris Motik

__________________________________________________
Do You Yahoo!?
Get email at your own domain with Yahoo! Mail.
http://personal.mail.yahoo.com/

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