JDK-4830281 : DPI setting not supported in GTK L&F
  • Type: Bug
  • Component: client-libs
  • Sub-Component: javax.swing
  • Affected Version: 1.4.2
  • Priority: P3
  • Status: Closed
  • Resolution: Fixed
  • OS: windows_xp
  • CPU: x86
  • Submitted: 2003-03-11
  • Updated: 2003-08-19
  • Resolved: 2003-07-18
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
Other
1.4.2_01 01Fixed
Description
The GTK L&F does not react to the DPI setting of gnome. In particular using RH8 and the default BlueCurve theme Java controls / fonts are rendered at a DPI different from the desktop.

Comments
CONVERTED DATA BugTraq+ Release Management Values COMMIT TO FIX: 1.4.2_01 tiger FIXED IN: 1.4.2_01 tiger INTEGRATED IN: 1.4.2_01 tiger tiger-b19 VERIFIED IN: 1.4.2_01
14-06-2004

EVALUATION We can already retrieve the DPI via getDesktopProperty in Toolkit. We just need to scale the font accordingly. We should also keep track of this property like we do windows desktop properties since this value can be changed dynamically. ###@###.### 2003-05-04 For tiger I've added desktop property support for tracking dynamic changes to the font, dpi and theme. ###@###.### 2003-08-18
04-05-2003