-
Bug
-
Resolution: Fixed
-
P2
-
1.4.0
-
beta2
-
x86
-
windows_nt, windows_2000
J2SE Version:
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.0-beta-b58)
Java HotSpot(TM) Client VM (build 1.4.0-beta-b58, mixed mode)
Problem:
Drawing glyphs from a GlyphVector using the 2D API.
Each paint of a glyph outline paints the outline of the
complete GlyphVector.
It seems that sun.awt.font.StandardGlyphVector#getGlyphOutline(int)
is broken and answers the same as #getOutline().
Steps to Reproduce (be specific):
Find attached a simple test program, GlyphVectorTest.java,
which prints four lines:
1. paint 'Test' using Graphics2d#drawString
2. paint the outline of a GlyphVector for 'Test'.
3. same as 2) but repeated for each glyph, should paint overlayed glyphs
4. paint each glyph in 'Test', using all glyphOutlines from the GlyphVector
Using J2SE 1.3, lines 2 and 4 are equal, which is the expected result.
Using J2SE 1.4, lines 3 and 4 are equal, which is not expected.
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.0-beta-b58)
Java HotSpot(TM) Client VM (build 1.4.0-beta-b58, mixed mode)
Problem:
Drawing glyphs from a GlyphVector using the 2D API.
Each paint of a glyph outline paints the outline of the
complete GlyphVector.
It seems that sun.awt.font.StandardGlyphVector#getGlyphOutline(int)
is broken and answers the same as #getOutline().
Steps to Reproduce (be specific):
Find attached a simple test program, GlyphVectorTest.java,
which prints four lines:
1. paint 'Test' using Graphics2d#drawString
2. paint the outline of a GlyphVector for 'Test'.
3. same as 2) but repeated for each glyph, should paint overlayed glyphs
4. paint each glyph in 'Test', using all glyphOutlines from the GlyphVector
Using J2SE 1.3, lines 2 and 4 are equal, which is the expected result.
Using J2SE 1.4, lines 3 and 4 are equal, which is not expected.
- duplicates
-
JDK-4459082 Broken painting of glyph outlines (Merlin B64)
-
- Closed
-