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 aTrueTypeFont
with the specified encoding and base font.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getBaseFont()
Returns the name of the base font.java.lang.String
getEncoding()
Returns the encoding of this font.java.lang.String
getSubtype()
Returns the subtype of this object.java.lang.String
getType()
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.
-
-