]> source.dussan.org Git - xmlgraphics-fop.git/commitdiff
Sorry, I screwed up the tab setting in my new Eclipse installation.
authorJeremias Maerki <jeremias@apache.org>
Thu, 13 Feb 2003 17:21:33 +0000 (17:21 +0000)
committerJeremias Maerki <jeremias@apache.org>
Thu, 13 Feb 2003 17:21:33 +0000 (17:21 +0000)
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@195944 13f79535-47bb-0310-9956-ffa450edef68

src/org/apache/fop/fonts/truetype/TTFSubSetFile.java

index 0ee5bd92647f575ea0fe2515d5855cd026b635b3..6ac5c1be9183a12929ea578b8244dceab212a937 100644 (file)
@@ -88,12 +88,12 @@ public class TTFSubSetFile extends TTFFile {
         currentPos += 12;
         realSize += 16;
 
-               if (hasFpgm()) {
-               writeString("fpgm");
-               fpgmDirOffset = currentPos;
-               currentPos += 12;
-               realSize += 16;
-               }
+        if (hasFpgm()) {
+            writeString("fpgm");
+            fpgmDirOffset = currentPos;
+            currentPos += 12;
+            realSize += 16;
+        }
 
         writeString("glyf");
         glyfDirOffset = currentPos;
@@ -155,9 +155,9 @@ public class TTFSubSetFile extends TTFFile {
     }
 
 
-       private boolean hasFpgm() {
-               return (dirTabs.get("fpgm") != null);
-       }
+    private boolean hasFpgm() {
+        return (dirTabs.get("fpgm") != null);
+    }
 
 
     /**
@@ -177,7 +177,7 @@ public class TTFSubSetFile extends TTFFile {
             currentPos += (int)entry.getLength();
             realSize += (int)entry.getLength();
         } else {
-               //fpgm table is optional
+            //fpgm table is optional
             //throw new IOException("Can't find fpgm table");
         }
     }