jeremias    2003/02/13 09:21:33

  Modified:    src/org/apache/fop/fonts/truetype TTFSubSetFile.java
  Log:
  Sorry, I screwed up the tab setting in my new Eclipse installation.
  
  Revision  Changes    Path
  1.3       +11 -11    xml-fop/src/org/apache/fop/fonts/truetype/TTFSubSetFile.java
  
  Index: TTFSubSetFile.java
  ===================================================================
  RCS file: /home/cvs/xml-fop/src/org/apache/fop/fonts/truetype/TTFSubSetFile.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- TTFSubSetFile.java        13 Feb 2003 17:10:59 -0000      1.2
  +++ TTFSubSetFile.java        13 Feb 2003 17:21:33 -0000      1.3
  @@ -88,12 +88,12 @@
           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 @@
       }
   
   
  -     private boolean hasFpgm() {
  -             return (dirTabs.get("fpgm") != null);
  -     }
  +    private boolean hasFpgm() {
  +        return (dirTabs.get("fpgm") != null);
  +    }
   
   
       /**
  @@ -177,7 +177,7 @@
               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");
           }
       }
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to