Interface Subsettable

All Known Implementing Classes:
PDFont, PDMMType1Font, PDSimpleFont, PDTrueTypeFont, PDType0Font, PDType1CFont, PDType1Font, PDType3Font

public interface Subsettable
A subsettable
Author:
Andrea Vacondio
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    addToSubset(int codePoint)
    Adds the given Unicode point to the subset.
    void
    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

      void subset() throws IOException
      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.