Class Type0Container
java.lang.Object
org.apache.pdfbox.preflight.font.container.FontContainer<PDFont>
org.apache.pdfbox.preflight.font.container.Type0Container
-
Field Summary
FieldsFields inherited from class org.apache.pdfbox.preflight.font.container.FontContainer
embeddedFont, errorBuffer, font
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
hasGlyph
(int code) Checks if the embedded font contains a glyph for the given character code.boolean
boolean
isValid()
void
setDelegateFontContainer
(FontContainer<?> delegateFontContainer) Methods inherited from class org.apache.pdfbox.preflight.font.container.FontContainer
checkGlyphWidth, errorsAleadyMerged, markAsInvalid, markAsValid, notEmbedded, push, push, setErrorsAlreadyMerged
-
Field Details
-
delegateFontContainer
-
-
Constructor Details
-
Type0Container
-
-
Method Details
-
setDelegateFontContainer
-
getAllErrors
- Overrides:
getAllErrors
in classFontContainer<PDFont>
-
isValid
public boolean isValid()- Overrides:
isValid
in classFontContainer<PDFont>
-
isEmbeddedFont
public boolean isEmbeddedFont()- Overrides:
isEmbeddedFont
in classFontContainer<PDFont>
-
hasGlyph
Description copied from class:FontContainer
Checks if the embedded font contains a glyph for the given character code.- Specified by:
hasGlyph
in classFontContainer<PDFont>
- Parameters:
code
- character code- Throws:
IOException
-