mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-05-31 01:45:10 +00:00
Fixed: PDF Export - NullPointer when font of text is missing
This commit is contained in:
@@ -577,6 +577,11 @@ public class DualPdfGraphics2D extends Graphics2D implements BlendModeSetable, G
|
||||
int offsetY = rec.yOffset;
|
||||
y = offsetY;
|
||||
}
|
||||
|
||||
if (font == null) {
|
||||
continue;
|
||||
}
|
||||
|
||||
StringBuilder text = new StringBuilder();
|
||||
int deltaX = 0;
|
||||
setColor(Color.green);
|
||||
|
||||
Reference in New Issue
Block a user