|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.foray.font.format.ttf.TTFSubSetFile
public class TTFSubSetFile
Reads a TrueType file and generates a subset that can be used to embed a TrueType font. TrueType tables needed for embedded CID fonts are: "head", "hhea", "loca", "maxp", "cvt ", "prep", "glyf", "hmtx" and "fpgm". The TrueType spec can be found at the Microsoft Typography site: http://www.microsoft.com/truetype/
Constructor Summary | |
---|---|
TTFSubSetFile(TrueTypeFont ttfFont,
Subset subset)
Constructor. |
Method Summary | |
---|---|
byte[] |
buildEmbeddableSubset()
Builds and returns the embeddable subset. |
org.apache.commons.logging.Log |
getLogger()
Return the logger. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TTFSubSetFile(TrueTypeFont ttfFont, Subset subset)
ttfFont
- The font to be subsetted.subset
- The subset information.Method Detail |
---|
public byte[] buildEmbeddableSubset() throws IOException
IOException
- For I/O Error.public org.apache.commons.logging.Log getLogger()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |