diff options
author | Jeremias Maerki <jeremias@apache.org> | 2003-02-13 17:21:33 +0000 |
---|---|---|
committer | Jeremias Maerki <jeremias@apache.org> | 2003-02-13 17:21:33 +0000 |
commit | 4dadcb5d1eac31c8d166a5d83c2e93546d9986e5 (patch) | |
tree | 2e59b342eda5398bec954dcc9a300ef9d6b0e35f /src/org/apache/fop | |
parent | ca4dd6f16a02dea66a72ed30bc2c1af8df086764 (diff) | |
download | xmlgraphics-fop-4dadcb5d1eac31c8d166a5d83c2e93546d9986e5.tar.gz xmlgraphics-fop-4dadcb5d1eac31c8d166a5d83c2e93546d9986e5.zip |
Sorry, I screwed up the tab setting in my new Eclipse installation.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@195944 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/org/apache/fop')
-rw-r--r-- | src/org/apache/fop/fonts/truetype/TTFSubSetFile.java | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/src/org/apache/fop/fonts/truetype/TTFSubSetFile.java b/src/org/apache/fop/fonts/truetype/TTFSubSetFile.java index 0ee5bd926..6ac5c1be9 100644 --- a/src/org/apache/fop/fonts/truetype/TTFSubSetFile.java +++ b/src/org/apache/fop/fonts/truetype/TTFSubSetFile.java @@ -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"); } } |