| Summary: | [Preferences] Font Definition cannot handle color and has not enough info | ||
|---|---|---|---|
| Product: | [Eclipse Project] Platform | Reporter: | Kai-Uwe Maetzel <kai-uwe_maetzel> |
| Component: | UI | Assignee: | Tod Creasey <Tod_Creasey> |
| Status: | RESOLVED DUPLICATE | QA Contact: | |
| Severity: | enhancement | ||
| Priority: | P4 | CC: | veronika_irvine |
| Version: | 2.0 | Keywords: | accessibility |
| Target Milestone: | --- | ||
| Hardware: | All | ||
| OS: | Windows All | ||
| Whiteboard: | |||
| Bug Depends on: | |||
| Bug Blocks: | 4340 | ||
|
Description
Kai-Uwe Maetzel
PRODUCT VERSION: 129 No plans to change current 2.0 behavior. FontDialog now has support for getting and setting colour. Should get the color setting and look at a potential format change to store this value. We would also need to check that setFont also sets the font colour on Windows. FontData still does not give a way for us to store colors. If we want this enhancement not only will we have to change the way we store fonts (so that colors can be stored with it) but users of those fonts will have to change thier code to get the colors. This can be implemented in a non breaking way by JFace but there will be some code changes required by plug-ins that use these fonts to get this functionality. Is there any plan in SWT for FontData to hold onto colors and if so will setting a FontData with a color setting be enough to set the foreground fo a widget? There is currently no plan for SWT to include an RGB value as part of the FontData. |