ck = detailChunks[currentChar];
if (ck.isImage() && minY < yLine) {
Image img = ck.getImage();
if (img.isScaleToFitLineWhenOverflow() && yLine + 2 * descender - img.getScaledHeight() - ck.getImageOffsetY() - img.getSpacingBefore() < minY) {
float scalePercent = (yLine + 2 * descender - ck.getImageOffsetY() - img.getSpacingBefore() - minY) / img.getHeight() * 100;
img.scalePercent(scalePercent);
}
}
surrogate = Utilities.isSurrogatePair(text, currentChar);
if (surrogate)
uniC = ck.getUnicodeEquivalent(Utilities.convertToUtf32(text, currentChar));