Package org.apache.fontbox.cff
Class CFFFontROS
java.lang.Object
org.apache.fontbox.cff.CFFFont
org.apache.fontbox.cff.CFFFontROS
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.fontbox.cff.CFFFont
CFFFont.Mapping
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the fdSelect value.Returns the font dictionaries.Returns the ordering value.Returns the private dictionary.Returns the registry value.int
Returns the supplement value.int
getWidth
(int CID) Returns the Width value of the given Glyph identifiervoid
setFdSelect
(CIDKeyedFDSelect fdSelect) Sets the fdSelect value.void
setFontDict
(List<Map<String, Object>> fontDict) Sets the font dictionaries.void
setOrdering
(String ordering) Sets the ordering value.void
setPrivDict
(List<Map<String, Object>> privDict) Sets the private dictionary.void
setRegistry
(String registry) Sets the registry value.void
setSupplement
(int supplement) Sets the supplement value.Methods inherited from class org.apache.fontbox.cff.CFFFont
addValueToPrivateDict, addValueToTopDict, createConverter, createRenderer, getCharset, getCharStringsDict, getEncoding, getGlobalSubrIndex, getLocalSubrIndex, getMappings, getName, getNotDefWidth, getPrivateDict, getProperty, getTopDict, setCharset, setEncoding, setGlobalSubrIndex, setLocalSubrIndex, setName, toString
-
Constructor Details
-
CFFFontROS
public CFFFontROS()
-
-
Method Details
-
getRegistry
Returns the registry value.- Returns:
- the registry
-
setRegistry
Sets the registry value.- Parameters:
registry
- the registry to set
-
getOrdering
Returns the ordering value.- Returns:
- the ordering
-
setOrdering
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
Returns the font dictionaries.- Returns:
- the fontDict
-
setFontDict
Sets the font dictionaries.- Parameters:
fontDict
- the fontDict to set
-
getPrivDict
Returns the private dictionary.- Returns:
- the privDict
-
setPrivDict
Sets the private dictionary.- Parameters:
privDict
- the privDict to set
-
getFdSelect
Returns the fdSelect value.- Returns:
- the fdSelect
-
setFdSelect
Sets the fdSelect value.- Parameters:
fdSelect
- the fdSelect to set
-
getWidth
Returns the Width value of the given Glyph identifier- Overrides:
getWidth
in classCFFFont
- Parameters:
CID
-- Returns:
- -1 if the SID is missing from the Font.
- Throws:
IOException
-