JDK-6542749 : DejaVu Sans in Latin Extended-A and Extended-B ranges rendered incorrectly
Type:Bug
Component:client-libs
Sub-Component:2d
Affected Version:6,7
Priority:P3
Status:Closed
Resolution:Fixed
OS:linux
CPU:x86
Submitted:2007-04-05
Updated:2011-03-08
Resolved:2011-03-08
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.
JDK: 7 b10, and 6
Platforms: RHEl 5, Fedora core 6
When running Font2DTest, select Dialog (or DejaVu Sans) font, select Range of Latin Extended-A, a lot of glyphs land at edge of grids.
Comments
EVALUATION
Problem happens because of the incomplete USE_MY_METRICS support.
This flag indicates that metrics of current component should be used as metrics of
composite glyph. Unfortunatelly, at the moment we only correctly do this for
first component. If flag is used on non-first component we end up using
non initialized values to calculate advance.
Problem was there for long time. It is unclear why we never faced it before.
05-04-2007
EVALUATION
The glyphs I see are rendered OK but there's something off with the advances.
The values coming back from the rasteriser look very odd. Text including those
glyphs will display with an extremely erratic baseline.