-
Bug
-
Resolution: Duplicate
-
P4
-
None
-
1.4.0
-
sparc
-
solaris_2.6
Name: atR10191 Date: 11/30/2001
the specification for the FontMetrics class does not state, if
'ascent', 'font ascent', 'descent', 'font descent', 'advance width',
'total advance width', 'standard leading', 'standard height',
'distance from the leftmost point to the rightmost' can have negative values
(from common sense they can not).
There can be wrong interpretation of the specification (current tests
for the FontMetrics class would fail in case of negative values).
So the explicit statement for the possibility of negative values for these
should be added.
======================================================================
the specification for the FontMetrics class does not state, if
'ascent', 'font ascent', 'descent', 'font descent', 'advance width',
'total advance width', 'standard leading', 'standard height',
'distance from the leftmost point to the rightmost' can have negative values
(from common sense they can not).
There can be wrong interpretation of the specification (current tests
for the FontMetrics class would fail in case of negative values).
So the explicit statement for the possibility of negative values for these
should be added.
======================================================================
- duplicates
-
JDK-6271315 Text metrics nonsensical when baseline is rotated
- Resolved