mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-06-27 04:55:33 +00:00
Fixed: PDF Export - Text position on font change
This commit is contained in:
@@ -614,11 +614,11 @@ public class DualPdfGraphics2D extends Graphics2D implements BlendModeSetable, G
|
||||
text.append(dynamicEntry.character);
|
||||
deltaX += entry.glyphAdvance;
|
||||
}
|
||||
|
||||
}
|
||||
if (text.length() > 0) {
|
||||
drawText(x, y, trans, textColor, existingFonts, font, text.toString(), textHeight, pdfGraphics);
|
||||
}
|
||||
x = x + deltaX;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user