Class CIDType2Container
- java.lang.Object
-
- org.apache.pdfbox.preflight.font.container.FontContainer<PDCIDFontType2>
-
- org.apache.pdfbox.preflight.font.container.CIDType2Container
-
public class CIDType2Container extends FontContainer<PDCIDFontType2>
-
-
Field Summary
-
Fields inherited from class org.apache.pdfbox.preflight.font.container.FontContainer
embeddedFont, errorBuffer, font
-
-
Constructor Summary
Constructors Constructor Description CIDType2Container(PDCIDFontType2 font)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
hasGlyph(int code)
Checks if the embedded font contains a glyph for the given character code.-
Methods inherited from class org.apache.pdfbox.preflight.font.container.FontContainer
checkGlyphWidth, errorsAleadyMerged, getAllErrors, isEmbeddedFont, isValid, markAsInvalid, markAsValid, notEmbedded, push, push, setErrorsAlreadyMerged
-
-
-
-
Constructor Detail
-
CIDType2Container
public CIDType2Container(PDCIDFontType2 font)
-
-
Method Detail
-
hasGlyph
public boolean hasGlyph(int code) throws java.io.IOException
Description copied from class:FontContainer
Checks if the embedded font contains a glyph for the given character code.- Specified by:
hasGlyph
in classFontContainer<PDCIDFontType2>
- Parameters:
code
- character code- Throws:
java.io.IOException
-
-