| java.lang.Object de.intarsys.font.truetype.TTFont
TTFont | public class TTFont implements IFont(Code) | | This class represents a true type font. Currently only single font files are
supported. The bytes defining the font are read completely and stored for
later use. This class is under construction, it's use is for reading true
types and make some operations on it rather than creating from the scratch.
|
Constructor Summary | |
protected | TTFont() Create an empty true type font. |
Method Summary | |
protected Set | addCompositeGlyphs(IRandomAccess glyfRandom, int[] locations, Set glyphs) | protected void | addCompositeGlyphs(IRandomAccess random, int[] locations, Set glyphs, int codePoint) | protected TTFont | copySubset() | public static TTFont | createFromLocator(ILocator locator) | protected void | createGlyphTable(TTTable loca, TTTable glyf, IRandomAccess glyfRandom, int[] oldLocations, Set glyphs) | public TTFont | createSubset(Set glyphs) | public Map | getCMaps() | public Map | getCMapsAt(int platformID, int platformSpecificID) | public String | getFontFamilyName() | public TTFontHeader | getFontHeader() | public String | getFontName() | public FontStyle | getFontStyle() | public int | getGlyphWidth(int codePoint) | protected int[] | getGlyphWidths() | public TTHorizontalHeader | getHorizontalHeader() | public ILocator | getLocator() | public TTMetrics | getMetrics() | public TTNaming | getNaming() | public TTPostScriptInformation | getPostScriptInformation() | public String | getPsName() | public TTTable | getTable(byte[] name) | public TTTable[] | getTables() | protected void | initializeFromLocator() | public boolean | isSymbolFont() | protected void | putCMaps(int platformID, int platformSpecificID, Map value) | protected void | setFontFamilyName(String string) | protected void | setFontName(TTFont font) | protected void | setFontStyle(FontStyle fontStyle) | protected void | setLocator(ILocator locator) | public void | setPsName(String string) | protected void | setTables(TTTable[] tables) |
ARG_1_AND_2_ARE_WORDS | final public static int ARG_1_AND_2_ARE_WORDS(Code) | | |
MORE_COMPONENTS | final public static int MORE_COMPONENTS(Code) | | |
SubsetTables | public static byte[][] SubsetTables(Code) | | |
TABLE_CMAP | final public static byte[] TABLE_CMAP(Code) | | |
TABLE_CVT | final public static byte[] TABLE_CVT(Code) | | |
TABLE_FGPM | final public static byte[] TABLE_FGPM(Code) | | |
TABLE_GLYF | final public static byte[] TABLE_GLYF(Code) | | |
TABLE_HEAD | final public static byte[] TABLE_HEAD(Code) | | |
TABLE_HHEA | final public static byte[] TABLE_HHEA(Code) | | |
TABLE_HMTX | final public static byte[] TABLE_HMTX(Code) | | |
TABLE_LOCA | final public static byte[] TABLE_LOCA(Code) | | |
TABLE_MAXP | final public static byte[] TABLE_MAXP(Code) | | |
TABLE_NAME | final public static byte[] TABLE_NAME(Code) | | |
TABLE_OS2 | final public static byte[] TABLE_OS2(Code) | | |
TABLE_POST | final public static byte[] TABLE_POST(Code) | | |
TABLE_PREP | final public static byte[] TABLE_PREP(Code) | | |
WE_HAVE_AN_X_AND_Y_SCALE | final public static int WE_HAVE_AN_X_AND_Y_SCALE(Code) | | |
WE_HAVE_A_SCALE | final public static int WE_HAVE_A_SCALE(Code) | | |
WE_HAVE_A_TWO_BY_TWO | final public static int WE_HAVE_A_TWO_BY_TWO(Code) | | |
TTFont | protected TTFont()(Code) | | Create an empty true type font.
|
isSymbolFont | public boolean isSymbolFont()(Code) | | |
putCMaps | protected void putCMaps(int platformID, int platformSpecificID, Map value)(Code) | | |
setFontFamilyName | protected void setFontFamilyName(String string)(Code) | | |
|
|