mirror of
https://github.com/sismics/docs.git
synced 2024-11-22 14:07:55 +01:00
Fix PDF export if description is null
This commit is contained in:
parent
98350860eb
commit
ef16561272
@ -99,6 +99,10 @@ public class PdfPage implements Closeable {
|
||||
* @throws IOException
|
||||
*/
|
||||
private void drawText(float paragraphWidth, PDFont font, int fontSize, String text, boolean centered) throws IOException {
|
||||
if (text == null) {
|
||||
return;
|
||||
}
|
||||
|
||||
pdContent.setFont(font, fontSize);
|
||||
int start = 0;
|
||||
int end = 0;
|
||||
|
Loading…
Reference in New Issue
Block a user