[
https://issues.apache.org/jira/browse/PDFBOX-2360?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14141492#comment-14141492
]
John Hewson edited comment on PDFBOX-2360 at 9/19/14 10:55 PM:
---------------------------------------------------------------
It's a "font-like object" according to the PDF spec. I generally prefer names
to be the same as the spec to avoid confusion or creating PDFBox-specific
jargon. This interface is never exposed publicly by the API in any methods or
fields, it's just implemented by PDFont and PDCIDFont, for whatever purpose
power users want that for. Unless you're looking into the interface you
wouldn't ever encounter it or need to use it.
was (Author: jahewson):
It's a "font-like object" according to the PDF spec. I generally prefer names
to be the same as the spec to avoid confusion or creating PDFBox-specific
jargon. This interface is never exposed publicly by the API in any methods or
fields, it's just implemented by PFFont and PDCIDFont, for whatever purpose
power users want that for. Unless you're looking into the interface you
wouldn't ever encounter it or need to use it.
> PDFont had methods removed
> --------------------------
>
> Key: PDFBOX-2360
> URL: https://issues.apache.org/jira/browse/PDFBOX-2360
> Project: PDFBox
> Issue Type: Bug
> Components: PDModel
> Affects Versions: 2.0.0
> Reporter: simon steiner
> Assignee: John Hewson
>
> Add back methods or provide a equivalent to pdfbox so it easier to upgrade to
> PDFBox 2
> PDFont
> public int getFirstChar()
> public int getLastChar()
> public Encoding getFontEncoding()
> public CMap getToUnicodeCMap()
> public String encode(byte[] c, int offset, int length) throws IOException
> PDCIDFont
> public long getDefaultWidth()
> Encoding
> public String getCharacter(int code) throws IOException
> CFFFont
> public Object getProperty(String name)
> public Map<String, byte[]> getCharStringsDict()
> public CFFEncoding getEncoding()
> CFFCharset
> public List<Entry> getEntries()
> CFFEncoding
> public List<Entry> getEntries()
> Cmap
> public String lookup( int code, int length )
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)