PDF4Java Reference Documentation
com.o2sol.pdf4java.graphics.fonts.type1 Package / PDFType1Font Class
Collapse All Expand All Members Options: Show All Members Options: Filtered
Include Inherited Members
Include Protected Members
In This Topic

PDFType1Font Class Methods
In This Topic

For a list of all members of this type, see PDFType1Font members.

Public Methods

| Name | Description
--- | --- | ---
| convertString | This method supports the internal library infrastructure and should not be used by external client code.
| convertStringJustified | This method supports the internal library infrastructure and should not be used by external client code. (Inherited from com.o2sol.pdf4java.graphics.fonts.PDFFont)
| createFont | This method supports the internal library infrastructure and should not be used by external client code. (Inherited from com.o2sol.pdf4java.graphics.fonts.PDFFont)
| createWithAfmMetrics | Overloaded. Creates a Type1 font from a combination of .afm and .pfb files.
| createWithPfmMetrics | Overloaded. Creates a Type1 font from a combination of .pfm and .pfb files.
| encodeString | Encodes the given text to a byte array based on font's encoding. (Inherited from com.o2sol.pdf4java.graphics.fonts.PDFFont)
| escapeString | This method supports the internal library infrastructure and should not be used by external client code. (Inherited from com.o2sol.pdf4java.graphics.fonts.PDFFont)
| getAbsoluteHeight | This method supports the internal library infrastructure and should not be used by external client code.
| getBaseFont | This method supports the internal library infrastructure and should not be used by external client code. (Inherited from com.o2sol.pdf4java.graphics.fonts.PDFFont)
| getCharacterSpacing | Gets the character spacing to be used by this font. (Inherited from com.o2sol.pdf4java.graphics.fonts.PDFFont)
| getCharWidth | This method supports the internal library infrastructure and should not be used by external client code.
| getCosFont | This method supports the internal library infrastructure and should not be used by external client code. (Inherited from com.o2sol.pdf4java.graphics.fonts.PDFFont)
| getEncoding | This method supports the internal library infrastructure and should not be used by external client code. (Inherited from com.o2sol.pdf4java.graphics.fonts.PDFFont)
| getFittedTextLength | This method supports the internal library infrastructure and should not be used by external client code. (Inherited from com.o2sol.pdf4java.graphics.fonts.PDFFont)
| getFontName | This method supports the internal library infrastructure and should not be used by external client code. (Inherited from com.o2sol.pdf4java.graphics.fonts.PDFFont)
| getHeight | This method supports the internal library infrastructure and should not be used by external client code.
| getIsKerningAvailable | This method supports the internal library infrastructure and should not be used by external client code. (Inherited from com.o2sol.pdf4java.graphics.fonts.PDFFont)
| getIsWordSpacingSupported | This method supports the internal library infrastructure and should not be used by external client code.
| getMetrics | Gets the font metrics. (Inherited from com.o2sol.pdf4java.graphics.fonts.PDFFont)
| getSize | Gets the font size. (Inherited from com.o2sol.pdf4java.graphics.fonts.PDFFont)
| getStrikethroughOffset | Gets the strikethrough offset. (Inherited from com.o2sol.pdf4java.graphics.fonts.PDFFont)
| getTextRenderingMode | Gets the text rendering mode. (Inherited from com.o2sol.pdf4java.graphics.fonts.PDFFont)
| getToUnicodeCMap | This method supports the internal library infrastructure and should not be used by external client code. (Inherited from com.o2sol.pdf4java.graphics.fonts.PDFFont)
| isBold | Gets a value indicating whether the font is bold. (Inherited from com.o2sol.pdf4java.graphics.fonts.PDFFont)
| isItalic | Gets a value indicating whether the font is italic. (Inherited from com.o2sol.pdf4java.graphics.fonts.PDFFont)
| isStrikethrough | Gets a value indicating whether the font is strikethrough. (Inherited from com.o2sol.pdf4java.graphics.fonts.PDFFont)
| isUnderline | Gets a value indicating whether the font is underlined. (Inherited from com.o2sol.pdf4java.graphics.fonts.PDFFont)
| measureString | This method supports the internal library infrastructure and should not be used by external client code. (Inherited from com.o2sol.pdf4java.graphics.fonts.PDFFont)
| setBold | Sets a value indicating whether the font is bold. (Inherited from com.o2sol.pdf4java.graphics.fonts.PDFFont)
| setCharacterSpacing | Sets the character spacing to be used by this font. (Inherited from com.o2sol.pdf4java.graphics.fonts.PDFFont)
| setCosFont | This method supports the internal library infrastructure and should not be used by external client code. (Inherited from com.o2sol.pdf4java.graphics.fonts.PDFFont)
| setData | This method supports the internal library infrastructure and should not be used by external client code. (Inherited from com.o2sol.pdf4java.graphics.fonts.PDFFont)
| setEncoding | This method supports the internal library infrastructure and should not be used by external client code. (Inherited from com.o2sol.pdf4java.graphics.fonts.PDFFont)
| setItalic | Sets a value indicating whether the font is italic. (Inherited from com.o2sol.pdf4java.graphics.fonts.PDFFont)
| setSize | Sets the font size. (Inherited from com.o2sol.pdf4java.graphics.fonts.PDFFont)
| setStrikethrough | Sets a value indicating whether the font is strikethrough. (Inherited from com.o2sol.pdf4java.graphics.fonts.PDFFont)
| setStrikethroughOffset | Sets the strikethrough offset. (Inherited from com.o2sol.pdf4java.graphics.fonts.PDFFont)
| setTextRenderingMode | Sets the text rendering mode. (Inherited from com.o2sol.pdf4java.graphics.fonts.PDFFont)
| setUnderline | Sets a value indicating whether the font is underlined. (Inherited from com.o2sol.pdf4java.graphics.fonts.PDFFont)
| setUsedChars | This method supports the internal library infrastructure and should not be used by external client code. (Inherited from com.o2sol.pdf4java.graphics.fonts.PDFFont)
| supportsAdvancedTypography | This method supports the internal library infrastructure and should not be used by external client code. (Inherited from com.o2sol.pdf4java.graphics.fonts.PDFFont)

Top
See Also

#### Reference

PDFType1Font Class
com.o2sol.pdf4java.graphics.fonts.type1 Package

© 2025 O2 Solutions All Rights Reserved.

Send comments on this topic.