Skip to main content

[JAVA2D] OpenType interface

1 reply [Last post]
Anonymous

According to the Javadocs, the java.awt.font.OpenType interface _can_ by
implemented by TT or OT instances of java.awt.Font.

It seems that none of the TT fonts I have on my linux system actually
implement OpenType. Is this to be expected. Is its implementation
restricted to Apple's AAT fonts?

Peter
--
Peter B. West
Folio

===========================================================================
To unsubscribe, send email to listserv@java.sun.com and include in the body
of the message "signoff JAVA2D-INTEREST". For general help, send email to
listserv@java.sun.com and include in the body of the message "help".
[smime.p7s]

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
Phil Race

Right, that interface was put in place pre 1.2 days and probably
should have been removed before it shipped as it wasn't used.
Since an app just codes new Font(..) its hard to see how the returned
instance can implement this interface.

Under the covers we have all the code needed to expose these tables
So when we start to expose font files, I expect we'd also
provide a way to get these raw tables and perhaps orthogonally
probably some things in a more easy to use form such as being
able to query a kerning pair without needing to parse the KERN table.

-phil.

Peter B. West wrote:
> According to the Javadocs, the java.awt.font.OpenType interface _can_ by
> implemented by TT or OT instances of java.awt.Font.
>
> It seems that none of the TT fonts I have on my linux system actually
> implement OpenType. Is this to be expected. Is its implementation
> restricted to Apple's AAT fonts?
>
> Peter
> --
> Peter B. West
> Folio
>
> ===========================================================================
> To unsubscribe, send email to listserv@java.sun.com and include in the body
> of the message "signoff JAVA2D-INTEREST". For general help, send email to
> listserv@java.sun.com and include in the body of the message "help".

===========================================================================
To unsubscribe, send email to listserv@java.sun.com and include in the body
of the message "signoff JAVA2D-INTEREST". For general help, send email to
listserv@java.sun.com and include in the body of the message "help".