You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pdfbox.apache.org by ti...@apache.org on 2026/09/26 18:53:08 UTC

svn commit: r1938544 - in pdfbox/branches/3.0: pdfbox-layout-awt/src/main/java/org/apache/pdfbox/glyphlayout/awt pdfbox-layout-awt/src/test/java/org/apache/pdfbox/glyphlayout/awt pdfbox-layout-fop/src/main/java/org/apache/pdfbox/glyphlayout/fop

Author: tilman
Date: Sat Sep 26 18:53:08 2026
New Revision: 1938544

Log:
PDFBOX-6256: fix formatting / remove super()

Modified:
   pdfbox/branches/3.0/pdfbox-layout-awt/src/main/java/org/apache/pdfbox/glyphlayout/awt/GlyphLayoutProcessorAwt.java
   pdfbox/branches/3.0/pdfbox-layout-awt/src/test/java/org/apache/pdfbox/glyphlayout/awt/GlyphLayoutLigaturesAndKerningTest.java
   pdfbox/branches/3.0/pdfbox-layout-fop/src/main/java/org/apache/pdfbox/glyphlayout/fop/GlyphLayoutProcessorFop.java

Modified: pdfbox/branches/3.0/pdfbox-layout-awt/src/main/java/org/apache/pdfbox/glyphlayout/awt/GlyphLayoutProcessorAwt.java
==============================================================================
--- pdfbox/branches/3.0/pdfbox-layout-awt/src/main/java/org/apache/pdfbox/glyphlayout/awt/GlyphLayoutProcessorAwt.java	Sat Sep 26 18:47:58 2026	(r1938543)
+++ pdfbox/branches/3.0/pdfbox-layout-awt/src/main/java/org/apache/pdfbox/glyphlayout/awt/GlyphLayoutProcessorAwt.java	Sat Sep 26 18:53:08 2026	(r1938544)
@@ -48,10 +48,8 @@ import org.apache.pdfbox.pdmodel.font.PD
  */
 public class GlyphLayoutProcessorAwt extends AbstractGlyphLayoutProcessor implements GlyphLayoutProcessorInterface
 {
-
     private final GlyphLayoutFontLoaderAwt glyphLayoutFontLoaderAwt = new GlyphLayoutFontLoaderAwt();
 
-
     /**
      * Constructs a GlyphLayoutProcessorFop with options
      *
@@ -67,12 +65,9 @@ public class GlyphLayoutProcessorAwt ext
      */
     public GlyphLayoutProcessorAwt()
     {
-        super();
     }
 
-
-
-        /**
+    /**
      * Checks if glyphs needed for text are missing in awtFont
      *
      * @param text text to be checked

Modified: pdfbox/branches/3.0/pdfbox-layout-awt/src/test/java/org/apache/pdfbox/glyphlayout/awt/GlyphLayoutLigaturesAndKerningTest.java
==============================================================================
--- pdfbox/branches/3.0/pdfbox-layout-awt/src/test/java/org/apache/pdfbox/glyphlayout/awt/GlyphLayoutLigaturesAndKerningTest.java	Sat Sep 26 18:47:58 2026	(r1938543)
+++ pdfbox/branches/3.0/pdfbox-layout-awt/src/test/java/org/apache/pdfbox/glyphlayout/awt/GlyphLayoutLigaturesAndKerningTest.java	Sat Sep 26 18:53:08 2026	(r1938544)
@@ -104,7 +104,8 @@ class GlyphLayoutLigaturesAndKerningTest
      * @throws URISyntaxException
      */
     @Test
-    void testLigaturesAndKerningNoActualText() throws IOException, FontFormatException, URISyntaxException {
+    void testLigaturesAndKerningNoActualText() throws IOException, FontFormatException, URISyntaxException
+    {
         testLigaturesAndKerning(false, "");
     }
 
@@ -115,7 +116,8 @@ class GlyphLayoutLigaturesAndKerningTest
      * @throws URISyntaxException
      */
     @Test
-    void testLigaturesAndKerningUseActualText() throws IOException, FontFormatException, URISyntaxException {
+    void testLigaturesAndKerningUseActualText() throws IOException, FontFormatException, URISyntaxException
+    {
         testLigaturesAndKerning(true, "_ActualText");
     }
 
@@ -129,7 +131,8 @@ class GlyphLayoutLigaturesAndKerningTest
     void testLigaturesAndKerning(boolean useActualText, String sActualText) throws IOException, FontFormatException, URISyntaxException
     {
         AbstractGlyphLayoutProcessor.GlyphLayoutProcessorOptions options = new AbstractGlyphLayoutProcessor.GlyphLayoutProcessorOptions();
-        if (useActualText) {
+        if (useActualText)
+        {
             options.useActualText();
         }
         GlyphLayoutProcessorAwt glyphLayoutProcessor = new GlyphLayoutProcessorAwt(options);

Modified: pdfbox/branches/3.0/pdfbox-layout-fop/src/main/java/org/apache/pdfbox/glyphlayout/fop/GlyphLayoutProcessorFop.java
==============================================================================
--- pdfbox/branches/3.0/pdfbox-layout-fop/src/main/java/org/apache/pdfbox/glyphlayout/fop/GlyphLayoutProcessorFop.java	Sat Sep 26 18:47:58 2026	(r1938543)
+++ pdfbox/branches/3.0/pdfbox-layout-fop/src/main/java/org/apache/pdfbox/glyphlayout/fop/GlyphLayoutProcessorFop.java	Sat Sep 26 18:53:08 2026	(r1938544)
@@ -69,7 +69,6 @@ public class GlyphLayoutProcessorFop ext
      */
     public GlyphLayoutProcessorFop()
     {
-        super();
     }
 
     /**