Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.faceless.pdf2
Class OutputProfile.FontInfo

    java.lang.Object
      org.faceless.pdf2.OutputProfile.FontInfo

All Implemented Interfaces:
  Comparable

Enclosing class:
  OutputProfile

    public static final class OutputProfile.FontInfo

extends Object
implements Comparable

Represents information about a font used in the document.

Since:
  2.11.9

Method Summary
`int` | `compareTo(Object o)`
`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.
`boolean` | `isSubset()` Whether or not this embedded font is Subset
`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)`

### isSubset

    public boolean isSubset()

  Whether or not this embedded font is Subset

### 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`

### compareTo

    public int compareTo(Object o)

  Specified by:
    `compareTo` in interface `Comparable`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2001-2012 Big Faceless Organization