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;
}
- private boolean hasFpgm() {
- return (dirTabs.get("fpgm") != null);
- }
+ private boolean hasFpgm() {
+ return (dirTabs.get("fpgm") != null);
+ }
/**
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");
}
}