Class MaximumProfileTable

java.lang.Object
org.apache.fontbox.ttf.TTFTable
org.apache.fontbox.ttf.MaximumProfileTable

public class MaximumProfileTable extends TTFTable
A table in a true type font.
Author:
Ben Litchfield (ben@benlitchfield.com)
  • Field Details

  • Constructor Details

    • MaximumProfileTable

      public MaximumProfileTable()
  • Method Details

    • getMaxComponentDepth

      public int getMaxComponentDepth()
      Returns:
      Returns the maxComponentDepth.
    • setMaxComponentDepth

      public void setMaxComponentDepth(int maxComponentDepthValue)
      Parameters:
      maxComponentDepthValue - The maxComponentDepth to set.
    • getMaxComponentElements

      public int getMaxComponentElements()
      Returns:
      Returns the maxComponentElements.
    • setMaxComponentElements

      public void setMaxComponentElements(int maxComponentElementsValue)
      Parameters:
      maxComponentElementsValue - The maxComponentElements to set.
    • getMaxCompositeContours

      public int getMaxCompositeContours()
      Returns:
      Returns the maxCompositeContours.
    • setMaxCompositeContours

      public void setMaxCompositeContours(int maxCompositeContoursValue)
      Parameters:
      maxCompositeContoursValue - The maxCompositeContours to set.
    • getMaxCompositePoints

      public int getMaxCompositePoints()
      Returns:
      Returns the maxCompositePoints.
    • setMaxCompositePoints

      public void setMaxCompositePoints(int maxCompositePointsValue)
      Parameters:
      maxCompositePointsValue - The maxCompositePoints to set.
    • getMaxContours

      public int getMaxContours()
      Returns:
      Returns the maxContours.
    • setMaxContours

      public void setMaxContours(int maxContoursValue)
      Parameters:
      maxContoursValue - The maxContours to set.
    • getMaxFunctionDefs

      public int getMaxFunctionDefs()
      Returns:
      Returns the maxFunctionDefs.
    • setMaxFunctionDefs

      public void setMaxFunctionDefs(int maxFunctionDefsValue)
      Parameters:
      maxFunctionDefsValue - The maxFunctionDefs to set.
    • getMaxInstructionDefs

      public int getMaxInstructionDefs()
      Returns:
      Returns the maxInstructionDefs.
    • setMaxInstructionDefs

      public void setMaxInstructionDefs(int maxInstructionDefsValue)
      Parameters:
      maxInstructionDefsValue - The maxInstructionDefs to set.
    • getMaxPoints

      public int getMaxPoints()
      Returns:
      Returns the maxPoints.
    • setMaxPoints

      public void setMaxPoints(int maxPointsValue)
      Parameters:
      maxPointsValue - The maxPoints to set.
    • getMaxSizeOfInstructions

      public int getMaxSizeOfInstructions()
      Returns:
      Returns the maxSizeOfInstructions.
    • setMaxSizeOfInstructions

      public void setMaxSizeOfInstructions(int maxSizeOfInstructionsValue)
      Parameters:
      maxSizeOfInstructionsValue - The maxSizeOfInstructions to set.
    • getMaxStackElements

      public int getMaxStackElements()
      Returns:
      Returns the maxStackElements.
    • setMaxStackElements

      public void setMaxStackElements(int maxStackElementsValue)
      Parameters:
      maxStackElementsValue - The maxStackElements to set.
    • getMaxStorage

      public int getMaxStorage()
      Returns:
      Returns the maxStorage.
    • setMaxStorage

      public void setMaxStorage(int maxStorageValue)
      Parameters:
      maxStorageValue - The maxStorage to set.
    • getMaxTwilightPoints

      public int getMaxTwilightPoints()
      Returns:
      Returns the maxTwilightPoints.
    • setMaxTwilightPoints

      public void setMaxTwilightPoints(int maxTwilightPointsValue)
      Parameters:
      maxTwilightPointsValue - The maxTwilightPoints to set.
    • getMaxZones

      public int getMaxZones()
      Returns:
      Returns the maxZones.
    • setMaxZones

      public void setMaxZones(int maxZonesValue)
      Parameters:
      maxZonesValue - The maxZones to set.
    • getNumGlyphs

      public int getNumGlyphs()
      Returns:
      Returns the numGlyphs.
    • setNumGlyphs

      public void setNumGlyphs(int numGlyphsValue)
      Parameters:
      numGlyphsValue - The numGlyphs to set.
    • getVersion

      public float getVersion()
      Returns:
      Returns the version.
    • setVersion

      public void setVersion(float versionValue)
      Parameters:
      versionValue - The version to set.
    • initData

      public void initData(TrueTypeFont ttf, TTFDataStream data) throws IOException
      This will read the required data from the stream.
      Overrides:
      initData in class TTFTable
      Parameters:
      ttf - The font that is being read.
      data - The stream to read the data from.
      Throws:
      IOException - If there is an error reading the data.