-
Bug
-
Resolution: Fixed
-
P4
-
7, 8
-
b100
-
generic
-
generic
-
Not verified
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-2194662 | OpenJDK6 | Philip Race | P3 | Resolved | Fixed | b21 |
A small test program showed that 12 pt Deja Vu Sans was reporting
FontMetrice.getLeading() of -1, but only in OpenJDK freetype-based builds.
This is caused by freetype doing premature rounding of ascent,
descent and height, thus losing the raw data used to infer the leading.
For the full saga, see the March, May and June threads here:
http://mail.openjdk.java.net/pipermail/2d-dev/2010-March/001214.html
http://mail.openjdk.java.net/pipermail/2d-dev/2010-May/001242.html
http://mail.openjdk.java.net/pipermail/2d-dev/2010-June/001293.html
FontMetrice.getLeading() of -1, but only in OpenJDK freetype-based builds.
This is caused by freetype doing premature rounding of ascent,
descent and height, thus losing the raw data used to infer the leading.
For the full saga, see the March, May and June threads here:
http://mail.openjdk.java.net/pipermail/2d-dev/2010-March/001214.html
http://mail.openjdk.java.net/pipermail/2d-dev/2010-May/001242.html
http://mail.openjdk.java.net/pipermail/2d-dev/2010-June/001293.html
- backported by
-
JDK-2194662 FontMetrics.getLeading() may be negative in freetype-based OpenJDK builds
-
- Resolved
-
- duplicates
-
JDK-7188901 Fonts are rendered with the wrong metrics at times
-
- Closed
-