Fonts and color settings
This product uses the fonts and colors provided by the operating system as much as possible. Operating systems do not provide enough colors to handle all of the extra information that colors and fonts provide in the workbench.
Fonts
There are 4 main fonts in use by the workbench. They are:
Font Description Banner Used in PDE editors, welcome pages and in the title area of many wizards. For instance the New Project wizard uses this font for the top title. Header Used as a section heading. For instance the Welcome page for the Eclipse Platform uses this font for the top title, Text Used in text editors. Dialog Used in dialog boxes These fonts can be set via the Workbench > Colors and Fonts preference. As well as these 4 fonts there are several other secondary font settings. These default to the text font. They can be found on the Colors and Fonts preference page.
Colors
The workbench uses colors as an information enhancement in many places. Whenever possible the operating system color settings are used, but in cases where the operating system settings are not enough, the workbench defines other colors. All of these colors can be adjusted via the following preference pages:
- Workbench > Colors and Fonts > Basic (Error text, hyperlink text, active hyperlink text)
- Workbench > Search (Foreground for potential matches)
- Run/Debug > Console (Standard Out, Standard Error, Standard In)
- Run/Debug (Variable Views changed value, Memory View unbuffered lines)
- Ant (Error, Warning, Information, Verbose, Debug)
- Java > Editor (Line number, matching brackets, current line, print, find scope, hyperlink, selection foreground, selection background)
- Java > Editor, select the Syntax Tab (Javadoc HTML tags, Javadoc keywords, Javadoc links, Javadoc others, keyword 'return', keywords excluding 'return', Method names, Multi line comment, Operators and brackets, Others, Single-line comment, Strings, Task Tags)
- Java > Editor > Code Assist (completion proposal background, completion proposal foreground, method parameter background, method parameter foreground, completion overwrite background, completion overwrite foreground)
- Plug-in Development > Editors (Text, Processing instructions, Constant strings, Tags, Comments)
- Team > CVS > Console (Command line, Message, Error)
Accessibility and the Windows Color Dialog
For color selection, the workbench uses a dialog box provided by the operating system. On Windows, the color selection dialog box does not respond properly to assitive technology. When you first open he dialog box, focus is on one of the basic colors, but the dialog box provides no indication of this through assistive technology. You can select colors in the workbench with this dialog box in the following way:
- Select to customize the color of a setting in the workbench, for example the color of Error Text in your Workbench Colors and Fonts Basic preferences.
- In the color selection dialog box , tab twice to go from the Basic Color matrix to the Define Custom Colors button and press Enter.
- You can now enter the basic colors using an HSL or RGB specification according to the following definitions.
Related concepts
Keyboard navigation
Related tasks
Setting help fonts and colors for accessibility
Related reference
Windows Color Dialog Reference
Accessibility preferences