org.faceless.pdf2
Class OutputProfile.FontInfo

java.lang.Object
  extended by org.faceless.pdf2.OutputProfile.FontInfo
Enclosing class:
OutputProfile

public static final class OutputProfile.FontInfo
extends Object

Represents information about a font used in the document.

Since:
2.11.9

Method Summary
 boolean equals(Object other)
           
 String getBaseName()
          The name of the font.
 String getType()
          Return the type of embedded font: one of the values "TrueType", "OpenType", "Type1", "Compact", "MultipleMaster" or "Type3".
 int hashCode()
           
 boolean isCIDFont()
          Whether this font is a CID font.
 boolean isEmbedded()
          Whether or not this font is embedded in the document.
 String toString()
           
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Method Detail

getBaseName

public String getBaseName()
The name of the font. Note for embedded subset fonts, the font name is usually prefixed by 6 random uppercase letters and a plus sign.

See Also:
PDFFont.getBaseName()

isEmbedded

public boolean isEmbedded()
Whether or not this font is embedded in the document.

See Also:
OpenTypeFont.setEmbed(boolean)

isCIDFont

public boolean isCIDFont()
Whether this font is a CID font.


getType

public String getType()
Return the type of embedded font: one of the values "TrueType", "OpenType", "Type1", "Compact", "MultipleMaster" or "Type3". Unembedded fonts return "Unembedded".


hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object other)
Overrides:
equals in class Object

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2001-2009 Big Faceless Organization