From cbe2fe444f32f050bc228f4cb9000894db1382de Mon Sep 17 00:00:00 2001 From: Emmeran Seehuber Date: Sun, 25 Jun 2023 22:10:52 +0200 Subject: [PATCH] #51 Give this a unique name for the testfile. --- .../src/test/java/de/rototor/pdfbox/graphics2d/FontTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/graphics2d/src/test/java/de/rototor/pdfbox/graphics2d/FontTest.java b/graphics2d/src/test/java/de/rototor/pdfbox/graphics2d/FontTest.java index 24df82c..2093141 100644 --- a/graphics2d/src/test/java/de/rototor/pdfbox/graphics2d/FontTest.java +++ b/graphics2d/src/test/java/de/rototor/pdfbox/graphics2d/FontTest.java @@ -77,7 +77,7 @@ public void testStyledAttributeSubAndSup() throws IOException, FontFormatExcepti final Font antonioRegular = Font.createFont(Font.TRUETYPE_FONT, PdfBoxGraphics2dTest.class.getResourceAsStream("antonio/Antonio-Regular.ttf")) .deriveFont(15f); - exportGraphic("fonts", "attributed_text", new GraphicsExporter() + exportGraphic("fonts", "attributed_text_sup", new GraphicsExporter() { @Override public void draw(Graphics2D gfx) throws IOException, FontFormatException