< prev index next >

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

Print this page

        

*** 315,325 **** * character's baseline. Note that the advance of a * {@code String} is not necessarily the sum of the advances * of its characters. * * <p><b>Note:</b> This method cannot handle <a ! * href="../lang/Character.html#supplementary"> supplementary * characters</a>. To support all Unicode characters, including * supplementary characters, use the {@link #charWidth(int)} method. * * @param ch the character to be measured * @return the advance width of the specified character --- 315,325 ---- * character's baseline. Note that the advance of a * {@code String} is not necessarily the sum of the advances * of its characters. * * <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 #charWidth(int)} method. * * @param ch the character to be measured * @return the advance width of the specified character
< prev index next >