Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » Ability to create SWT Font / FontData objects from files or InputStreams
Ability to create SWT Font / FontData objects from files or InputStreams [message #467276] Fri, 27 January 2006 14:53 Go to next message
Eclipse UserFriend
Originally posted by: mckaot.gmx.net

I think, it (sometimes) would be great to be able to load (TrueType) fonts from a jar file or an InputStream - like AWT with its Font API
<b><code>public static Font createFont(int fontFormat, InputStream fontStream)</code></b>

Tell me your opinion.

Regards
Re: Ability to create SWT Font / FontData objects from files or InputStreams [message #467306 is a reply to message #467276] Sat, 28 January 2006 17:20 Go to previous messageGo to next message
Jeff Myers is currently offline Jeff MyersFriend
Messages: 489
Registered: July 2009
Senior Member
There's a feature request open for SWT to accomplish this:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=79084

- Jeff
Re: Ability to create SWT Font / FontData objects from files or [message #467315 is a reply to message #467306] Sat, 28 January 2006 22:05 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: mckaot.gmx.net

Of course..

BUT: Mr. Northover's statement: "Normally, SWT stays out of the font loading business. Instead, it's up to the application to use system tools to install the font the same way that any font would be installed for the operating system."

SO: if this topic will be discussed (and commonly consented), the SWT team maybe would reconsider

br
Re: Ability to create SWT Font / FontData objects from files or [message #467324 is a reply to message #467315] Sat, 28 January 2006 22:56 Go to previous message
Jeff Myers is currently offline Jeff MyersFriend
Messages: 489
Registered: July 2009
Senior Member
The place to hold that discussion would be on the bug report, so that
the discussion is recorded along with the request, and to ensure that
the proper SWT developers are aware of what's going on (rather than
hoping that they're reading this newsgroup thread).

- Jeff
Previous Topic:How to add background Image in a StyledText
Next Topic:How to create custom file dialog
Goto Forum:
  


Current Time: Wed Apr 24 22:07:13 GMT 2024

Powered by FUDForum. Page generated in 0.02845 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top