mirror of
https://github.com/openjdk/jdk.git
synced 2026-02-24 01:00:27 +00:00
7124223: [macosx] Regression test failure with new exception, when glyph is positioned explicitly
Reviewed-by: jgodinez
This commit is contained in:
parent
35183211d7
commit
96a62b95f3
@ -1025,7 +1025,8 @@ public abstract class PathGraphics extends ProxyGraphics2D {
|
||||
continue;
|
||||
}
|
||||
glyph = font2D.charToGlyph(c);
|
||||
if (glyph != missingGlyph && glyph < numGlyphs &&
|
||||
if (glyph != missingGlyph &&
|
||||
glyph >= 0 && glyph < numGlyphs &&
|
||||
(glyphToCharMap[glyph] ==
|
||||
CharToGlyphMapper.INVISIBLE_GLYPH_ID)) {
|
||||
glyphToCharMap[glyph] = c;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user