The Source for Java Technology Collaboration

Home » java.net Forums » Java Desktop Technologies » Java 2D

Thread: Load and display OpenType Fonts

Welcome, Guest Help
Login Login
Guest Settings Guest Settings
This question is not answered. Helpful answers available: 2. Correct answers available: 1.

Reply to this Thread Reply to this Thread Search Forum Search Forum Back to Thread List Back to Thread List

Permlink Replies: 1 - Last Post: Jan 14, 2008 9:28 AM by: Phil Race Threads: [ Previous | Next ]
newcron

Posts: 4
Load and display OpenType Fonts
Posted: Jan 14, 2008 1:51 AM
 
  Click to reply to this thread Reply

Hello,

I noticed that sun.font.FontManager.getFontsFromPlatform() does not return OpenType Fonts installed on a System (using Windows XP, SP2, Java 1.6.0_05-ea). Aswell creating new Font objects with OpenType Fonts as name does not work too.

Is there any way to load and render Fonts with Graphics2D, or is there any JSR/other library capable of that (as far as my googling skills tell: there isn't)?

regards,
newcron

Phil Race
Re: [JAVA2D] Load and display OpenType Fonts
Posted: Jan 14, 2008 9:28 AM   in response to: newcron
  Click to reply to this thread Reply

Depends what you mean by "OpenType". If you mean specifically the CFF
(Postscript outlines) subset of OpenType then JDK doesn't support that.
There's an open RFE on this : http://bugs.sun.com/view_bug.do?bug_id=4356282

-phil.

java2d@JAVADESKTOP.ORG wrote:
> Hello,
>
> I noticed that sun.font.FontManager.getFontsFromPlatform() does not return OpenType Fonts installed on a System (using Windows XP, SP2, Java 1.6.0_05-ea). Aswell creating new Font objects with OpenType Fonts as name does not work too.
>
> Is there any way to load and render Fonts with Graphics2D, or is there any JSR/other library capable of that (as far as my googling skills tell: there isn't)?
>
> regards,
> newcron
> [Message sent by forum member 'newcron' (newcron)]
>
> http://forums.java.net/jive/thread.jspa?messageID=253698
>
> ===========================================================================
> 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".





 XML java.net RSS