|Initialize underlined or other special Font Preferences [message #876880]
||Fri, 25 May 2012 08:44
| Sven Krause
Registered: July 2009
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
Powered by FUDForum
. Page generated in 0.02271 seconds