Class Type3Container
- java.lang.Object
-
- org.apache.pdfbox.preflight.font.container.FontContainer<PDType3Font>
-
- org.apache.pdfbox.preflight.font.container.Type3Container
-
public class Type3Container extends FontContainer<PDType3Font>
Because Type3 font program is an inner type of the PDF file, this font container is quite different from the other because all character/glyph are already checked.
-
-
Field Summary
-
Fields inherited from class org.apache.pdfbox.preflight.font.container.FontContainer
embeddedFont, errorBuffer, font
-
-
Constructor Summary
Constructors Constructor Description Type3Container(PDType3Font 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
-
Type3Container
public Type3Container(PDType3Font 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<PDType3Font>
- Parameters:
code
- character code- Throws:
java.io.IOException
-
-