-
Type:
Bug
-
Resolution: Duplicate
-
Priority:
P2
-
None
-
Affects Version/s: 1.2.0
-
Component/s: client-libs
-
sparc
-
solaris_2.6
Run the Java2D demo located in /usr/local/java/jdk1.2/solaris/demo/jfc/Java2D. Take a look at the Memory Monitor and Performance Monitor canvases.
PerformanceMonitor strings are not positioned appropriately. And the MemoryMonitor memory graph isn't positioned correctly. Here's how the ascent's & descent's are determined :
MemoryMonitor :
ascent = (int) offG.getFontMetrics(font).getAscent();
descent = (int) offG.getFontMetrics(font).getDescent();
PerfomanceMonitor :
ssH += (int) offG.getFontMetrics().getAscent()
+ offG.getFontMetrics().getDescent();
"JDK-1.2beta4-F"
PerformanceMonitor strings are not positioned appropriately. And the MemoryMonitor memory graph isn't positioned correctly. Here's how the ascent's & descent's are determined :
MemoryMonitor :
ascent = (int) offG.getFontMetrics(font).getAscent();
descent = (int) offG.getFontMetrics(font).getDescent();
PerfomanceMonitor :
ssH += (int) offG.getFontMetrics().getAscent()
+ offG.getFontMetrics().getDescent();
"JDK-1.2beta4-F"
- duplicates
-
JDK-4138922 Need to fully support multi-font
-
- Closed
-