Class CFFFontROS

java.lang.Object
org.apache.fontbox.cff.CFFFont
org.apache.fontbox.cff.CFFFontROS

public class CFFFontROS extends CFFFont
  • Constructor Details

    • CFFFontROS

      public CFFFontROS()
  • Method Details

    • getRegistry

      public String getRegistry()
      Returns the registry value.
      Returns:
      the registry
    • setRegistry

      public void setRegistry(String registry)
      Sets the registry value.
      Parameters:
      registry - the registry to set
    • getOrdering

      public String getOrdering()
      Returns the ordering value.
      Returns:
      the ordering
    • setOrdering

      public void setOrdering(String ordering)
      Sets the ordering value.
      Parameters:
      ordering - the ordering to set
    • getSupplement

      public int getSupplement()
      Returns the supplement value.
      Returns:
      the supplement
    • setSupplement

      public void setSupplement(int supplement)
      Sets the supplement value.
      Parameters:
      supplement - the supplement to set
    • getFontDict

      public List<Map<String,Object>> getFontDict()
      Returns the font dictionaries.
      Returns:
      the fontDict
    • setFontDict

      public void setFontDict(List<Map<String,Object>> fontDict)
      Sets the font dictionaries.
      Parameters:
      fontDict - the fontDict to set
    • getPrivDict

      public List<Map<String,Object>> getPrivDict()
      Returns the private dictionary.
      Returns:
      the privDict
    • setPrivDict

      public void setPrivDict(List<Map<String,Object>> privDict)
      Sets the private dictionary.
      Parameters:
      privDict - the privDict to set
    • getFdSelect

      public CIDKeyedFDSelect getFdSelect()
      Returns the fdSelect value.
      Returns:
      the fdSelect
    • setFdSelect

      public void setFdSelect(CIDKeyedFDSelect fdSelect)
      Sets the fdSelect value.
      Parameters:
      fdSelect - the fdSelect to set
    • getWidth

      public int getWidth(int CID) throws IOException
      Returns the Width value of the given Glyph identifier
      Overrides:
      getWidth in class CFFFont
      Parameters:
      CID -
      Returns:
      -1 if the SID is missing from the Font.
      Throws:
      IOException