Class TrueTypeFont
- java.lang.Object
-
- de.erichseifert.vectorgraphics2d.pdf.TrueTypeFont
-
-
Constructor Summary
Constructors Constructor Description TrueTypeFont(java.lang.String encoding, java.lang.String baseFont)Creates aTrueTypeFontwith the specified encoding and base font.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetBaseFont()Returns the name of the base font.java.lang.StringgetEncoding()Returns the encoding of this font.java.lang.StringgetSubtype()Returns the subtype of this object.java.lang.StringgetType()Returns the type of this object.
-
-
-
Method Detail
-
getEncoding
public java.lang.String getEncoding()
Returns the encoding of this font.- Returns:
- Encoding.
-
getType
public java.lang.String getType()
Returns the type of this object. Always returns "Font".- Returns:
- The String "Font".
-
getSubtype
public java.lang.String getSubtype()
Returns the subtype of this object. Always returns "TrueType".- Returns:
- The String "TrueType".
-
getBaseFont
public java.lang.String getBaseFont()
Returns the name of the base font.- Returns:
- Base font name.
-
-