Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » Initialize underlined or other special Font Preferences
Initialize underlined or other special Font Preferences [message #876880] Fri, 25 May 2012 12:44 Go to next message
Sven Krause is currently offline Sven KrauseFriend
Messages: 119
Registered: July 2009
Senior Member
Hi there,

the font preference dialog allowes me defining fonts having more than
the bold and italic style under windows (like strikethrough and
underline). The manually configured font is saved in the
org.eclipse.ui.workbench.prefs and restored the next time correctly.

Now: I want to define such "advanced" font via a standard system config,
but was not really successfully. Neither via
org.eclipse.ui.themes/fontDefinition@value and fontValue (that allowes
only the font name-style-height format) nor the
PlatformUI.getPreferenceStore().setDefault(myFont.id, "textValue as
stored in the org.eclipse.ui.workbench.prefs file").

Is there a common way how to setup such font via extension or code?

thanks in advance
Sven
Re: Initialize underlined or other special Font Preferences [message #876906 is a reply to message #876880] Fri, 25 May 2012 13:57 Go to previous message
Sven Krause is currently offline Sven KrauseFriend
Messages: 1
Registered: February 2010
Junior Member
I got it. plugin_customization.ini does the trick, if I specify an own product.
Previous Topic:Exception occurred while saving project preferences
Next Topic:Execute Compare Programmatically
Goto Forum:
  


Current Time: Thu Nov 27 22:30:23 GMT 2014

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

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