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 TypeMethodDescriptionvoid
addToSubset
(int codePoint) Adds the given Unicode code point to this subset.void
subset()
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
-