Details
-
Type:
Bug
-
Status:
Analysis
-
Priority:
Minor
-
Resolution: Unresolved
-
Affects Version/s: UDIG 1.1.1, UDIG 1.2.M2, UDIG 1.2.M3
-
Fix Version/s: UDIG 1.1.1, UDIG 1.2.M2, UDIG 1.2.M3
-
Component/s: application
-
Labels:None
-
Environment:XP
Description
the font used by the srs button, scale text, and mouse position text in the statusbar at the bottom of the map is too large for the space provided. The text appears stretched.
1) Is it possible that a font is being used that may not always be present?
2) If there were a way to set the font on these components, it would alleviate this issue.
The line below (or a variant like it) appears to be the culprit. If I change the "scalable" parameter from true to false, it renders the correct size.
FontData[] data = display.getFontList("courier", true); //$NON-NLS-1$
This line is taken from CursorPosition.java but it also occurs in other places for other components.