CFFFont.java (pdfbox-2.0.23-src) | : | CFFFont.java (pdfbox-2.0.24-src) | ||
---|---|---|---|---|
skipping to change at line 127 | skipping to change at line 127 | |||
* @param charset the given CFFCharset | * @param charset the given CFFCharset | |||
*/ | */ | |||
void setCharset(CFFCharset charset) | void setCharset(CFFCharset charset) | |||
{ | { | |||
this.charset = charset; | this.charset = charset; | |||
} | } | |||
/** | /** | |||
* Returns the character strings dictionary. For expert users only. | * Returns the character strings dictionary. For expert users only. | |||
* | * | |||
* @return the dictionary | * @return the character strings dictionary as a list of byte arrays. | |||
*/ | */ | |||
public final List<byte[]> getCharStringBytes() | public final List<byte[]> getCharStringBytes() | |||
{ | { | |||
return Arrays.asList(charStrings); | return Arrays.asList(charStrings); | |||
} | } | |||
/** | /** | |||
* Sets a byte source to re-read the CFF data in the future. | * Sets a byte source to re-read the CFF data in the future. | |||
*/ | */ | |||
final void setData(CFFParser.ByteSource source) | final void setData(CFFParser.ByteSource source) | |||
skipping to change at line 161 | skipping to change at line 161 | |||
* Returns the number of charstrings in the font. | * Returns the number of charstrings in the font. | |||
*/ | */ | |||
public int getNumCharStrings() | public int getNumCharStrings() | |||
{ | { | |||
return charStrings.length; | return charStrings.length; | |||
} | } | |||
/** | /** | |||
* Sets the global subroutine index data. | * Sets the global subroutine index data. | |||
* | * | |||
* @param globalSubrIndexValue an list containing the global subroutines | * @param globalSubrIndexValue a list of the global subroutines. | |||
*/ | */ | |||
void setGlobalSubrIndex(byte[][] globalSubrIndexValue) | void setGlobalSubrIndex(byte[][] globalSubrIndexValue) | |||
{ | { | |||
globalSubrIndex = globalSubrIndexValue; | globalSubrIndex = globalSubrIndexValue; | |||
} | } | |||
/** | /** | |||
* Returns the list containing the global subroutine . | * Returns the list containing the global subroutines. | |||
* | * | |||
* @return the dictionary | * @return a list of the global subroutines. | |||
*/ | */ | |||
public List<byte[]> getGlobalSubrIndex() | public List<byte[]> getGlobalSubrIndex() | |||
{ | { | |||
return Arrays.asList(globalSubrIndex); | return Arrays.asList(globalSubrIndex); | |||
} | } | |||
/** | /** | |||
* Returns the Type 2 charstring for the given CID. | * Returns the Type 2 charstring for the given CID. | |||
* | * | |||
* @param cidOrGid CID for CIFFont, or GID for Type 1 font | * @param cidOrGid CID for CIFFont, or GID for Type 1 font | |||
End of changes. 4 change blocks. | ||||
4 lines changed or deleted | 4 lines changed or added |