< prev index next >

src/java.desktop/share/classes/sun/font/FontUtilities.java

Print this page

        

@@ -234,11 +234,13 @@
      */
     public static boolean isNonSimpleChar(char ch) {
         return
             isComplexCharCode(ch) ||
             (ch >= CharToGlyphMapper.HI_SURROGATE_START &&
-             ch <= CharToGlyphMapper.LO_SURROGATE_END);
+             ch <= CharToGlyphMapper.LO_SURROGATE_END) ||
+            (ch >= CharToGlyphMapper.VS_START &&
+             ch <= CharToGlyphMapper.VS_END);
     }
 
     /* If the character code falls into any of a number of unicode ranges
      * where we know that simple left->right layout mapping chars to glyphs
      * 1:1 and accumulating advances is going to produce incorrect results,
< prev index next >