final boolean kern) throws PdfException {
if (size < 1) {
return;
}
final FontPdf fontPdf = (FontPdf) fontUse.getFontOutput(Mime.PDF.getMimeString());
final PdfFont pdfFont = this.getPDFDocument().getPdfFont(fontPdf);
getContentStream().setFont(pdfFont, toPoints(area.traitFontSize()));
/* Paint the text. */
final CharSequence textToWrite = text.subSequence(startIndex, startIndex + size);
getContentStream().drawText(textToWrite, kern);