< prev index next >

src/java.desktop/share/classes/java/awt/Font.java

Print this page

        

*** 2142,2155 **** /** * Checks if this {@code Font} has a glyph for the specified * character. * ! * <p> <b>Note:</b> This method cannot handle ! * <a href="../../../java.base/java/lang/Character.html#supplementary"> ! * supplementary characters</a>. ! * To support all Unicode characters, including * supplementary characters, use the {@link #canDisplay(int)} * method or {@code canDisplayUpTo} methods. * * @param c the character for which a glyph is needed * @return {@code true} if this {@code Font} has a glyph for this --- 2142,2154 ---- /** * Checks if this {@code Font} has a glyph for the specified * character. * ! * <p> <b>Note:</b> This method cannot handle <a ! * href="../../java/lang/Character.html#supplementary"> supplementary ! * characters</a>. To support all Unicode characters, including * supplementary characters, use the {@link #canDisplay(int)} * method or {@code canDisplayUpTo} methods. * * @param c the character for which a glyph is needed * @return {@code true} if this {@code Font} has a glyph for this
< prev index next >