@@ -400,11 +400,11 @@ public int getActualClusterEnd(int charIndex) {
400400 }
401401
402402 /**
403- * Returns the index of leading glyph related to specified cluster. The trailing glyph will
404- * always come after the leading glyph of a cluster, even if the run logically flows backward.
403+ * Returns the index of leading glyph related to the specified cluster. It will come after the
404+ * trailing glyph, if the characters of this run logically flow backward.
405405 *
406406 * @param charIndex The index of a character in source string.
407- * @return The index of leading glyph related to specified cluster.
407+ * @return The index of leading glyph related to the specified cluster.
408408 *
409409 * @throws IllegalArgumentException if <code>charIndex</code> is less than run start or greater
410410 * than or equal to run end.
@@ -426,11 +426,11 @@ public int getLeadingGlyphIndex(int charIndex) {
426426 }
427427
428428 /**
429- * Returns the index of trailing glyph related to specified cluster. The leading glyph will
430- * always come before the trailing glyph of a cluster, even if the run logically flows backward.
429+ * Returns the index of trailing glyph related to the specified cluster. It will come before
430+ * the leading glyph, if the characters of this run logically flow backward.
431431 *
432432 * @param charIndex The index of a character in source string.
433- * @return The index of trailing glyph related to specified cluster.
433+ * @return The index of trailing glyph related to the specified cluster.
434434 *
435435 * @throws IllegalArgumentException if <code>charIndex</code> is less than run start or greater
436436 * than or equal to run end.
0 commit comments