[
https://issues.apache.org/jira/browse/PDFBOX-2943?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14934131#comment-14934131
]
John Hewson edited comment on PDFBOX-2943 at 9/28/15 9:55 PM:
--------------------------------------------------------------
So the code for parsing Type 3 char procs was supposed to be added to
PDType3CharProc, not PDType3Font:
{quote}
PDType3CharProc would be a good place to add such code.
{quote}
{quote}
PDType3CharProc can do the actual parsing and we can call that from
getWidthFromFont()
{quote}
{quote}
We can still add a getWidth() method to PDType3CharProc either way.
{quote}
See also, this comment in PDType3CharProc:
{code}
// todo: add methods for getting the character's width from the stream
{code}
was (Author: jahewson):
So the code for parsing Type 3 char procs was supposed to be added to
PDType3CharProc, not PDType3Font:
{quote}
PDType3CharProc would be a good place to add such code.
{quote}
{quote}
PDType3CharProc can do the actual parsing and we can call that from
getWidthFromFont()
{quote}
{quote}
We can still add a getWidth() method to PDType3CharProc either way.
{quote}
> PDType3Font.getWidthFromFont not supported
> ------------------------------------------
>
> Key: PDFBOX-2943
> URL: https://issues.apache.org/jira/browse/PDFBOX-2943
> Project: PDFBox
> Issue Type: Improvement
> Affects Versions: 2.0.0
> Reporter: Timur Kamalov
> Assignee: Timur Kamalov
> Priority: Minor
> Labels: type3
> Fix For: 2.0.0
>
> Attachments: PDFBOX-2794_unc.pdf,
> PDType3Font_getWidthFromFont_implementation_.patch
>
>
> This method is still not implemented.
> Does anyone working on this issue? If not I will be happy to contribute and
> propose implementation.
> In fact it's not a very complicated task : you just need to parse d0 or d1
> operator from glyph's content stream (stored in CharProcs).
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]