src/share/classes/sun/font/CompositeGlyphMapper.java
Print this page
rev 1379 : [mq]: fontmanager.patch
*** 209,222 ****
int gc = glyphs[i] = getCachedGlyphCode(code);
if (gc == UNINITIALIZED_GLYPH) {
glyphs[i] = convertToGlyph(code);
}
! if (code < FontManager.MIN_LAYOUT_CHARCODE) {
continue;
}
! else if (FontManager.isComplexCharCode(code)) {
return true;
}
else if (code >= 0x10000) {
i += 1; // Empty glyph slot after surrogate
continue;
--- 209,222 ----
int gc = glyphs[i] = getCachedGlyphCode(code);
if (gc == UNINITIALIZED_GLYPH) {
glyphs[i] = convertToGlyph(code);
}
! if (code < FontUtilities.MIN_LAYOUT_CHARCODE) {
continue;
}
! else if (FontUtilities.isComplexCharCode(code)) {
return true;
}
else if (code >= 0x10000) {
i += 1; // Empty glyph slot after surrogate
continue;