Bug 280773 - Map JFace default fonts to nice fonts
Summary: Map JFace default fonts to nice fonts
Status: RESOLVED FIXED
Alias: None
Product: RAP
Classification: RT
Component: JFace (show other bugs)
Version: 1.2   Edit
Hardware: All All
: P3 enhancement (vote)
Target Milestone: 1.3 M7   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 262603
  Show dependency tree
 
Reported: 2009-06-18 10:22 EDT by Benjamin Muskalla CLA
Modified: 2010-04-15 11:30 EDT (History)
1 user (show)

See Also:


Attachments
screenshot (8.61 KB, image/png)
2009-06-18 10:23 EDT, Benjamin Muskalla CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Benjamin Muskalla CLA 2009-06-18 10:22:23 EDT
Currently the JFace Fonts Registry (JFaceResources#getFontRegistry) loads the default fonts (FontRegistry#readResourceBundle -> jfacefonts.properties).
We should take a look to use some better fonts for some cases (eg. Banner font) or even map the fonts directly to the theme.
Comment 1 Benjamin Muskalla CLA 2009-06-18 10:23:19 EDT
Created attachment 139540 [details]
screenshot

Bannerfont looks odd
Comment 2 Benjamin Muskalla CLA 2009-09-23 04:56:33 EDT
See also bug 290224 in case we want to use the system font.
Comment 3 Ralf Sternberg CLA 2010-04-15 11:30:38 EDT
The FontRegistry is now filled with fonts derived from the system font (which in turn is defined in the theme). This way, JFace fonts always fit the theme. The default JFace fonts can still be changed by overwriting the jfacefonts.properties file using a fragment.

Changes are in CVS HEAD.