Package org.apache.pdfbox.pdmodel.font
Interface Subsetter
- All Known Implementing Classes:
PDCIDFontType2Embedder,PDTrueTypeFontEmbedder,TrueTypeEmbedder
interface Subsetter
Interface for a font subsetter.
-
Method Summary
Modifier and TypeMethodDescriptionvoidaddToSubset(int codePoint) Adds the given Unicode code point to this subset.voidsubset()Subset this font now.
-
Method Details
-
addToSubset
void addToSubset(int codePoint) Adds the given Unicode code point to this subset.- Parameters:
codePoint- Unicode code point
-
subset
Subset this font now.- Throws:
IOException- if the font could not be read
-