<BUG>String[] split = splitText(textConfig.getFont(), textConfig.getFontSize(), allowedWidth, fixedText);</BUG><CONTEXT>addTextSimple(stream, textConfig, textX, nextLineY, "");return nextLineY;}try {<extra_id_0>float x = calculateAlignPosition(textX, align, textConfig, allowedWidth, split[0]);if (!underline) {addTextSimple(stream, textConfig, x, nextLineY, split[0]);} else {</CONTEXT>
String[] split = splitText(textConfig.getFont(), textConfig.getFontSize(), allowedWidth, text);