- All Known Implementing Classes:
PDFont,PDMMType1Font,PDSimpleFont,PDTrueTypeFont,PDType0Font,PDType1CFont,PDType1Font,PDType3Font
public interface Subsettable
A subsettable
- Author:
- Andrea Vacondio
-
Method Summary
Modifier and TypeMethodDescriptionvoidaddToSubset(int codePoint) Adds the given Unicode point to the subset.voidsubset()Replaces this font with a subset containing only the given Unicode characters.boolean
-
Method Details
-
addToSubset
void addToSubset(int codePoint) Adds the given Unicode point to the subset.- Parameters:
codePoint- Unicode code point
-
subset
Replaces this font with a subset containing only the given Unicode characters.- Throws:
IOException- if the subset could not be written
-
willBeSubset
boolean willBeSubset()- Returns:
- true if this font will be subset when embedded.
-