[ https://issues.apache.org/jira/browse/PDFBOX-5766?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17825175#comment-17825175 ]
Andreas Lehmkühler commented on PDFBOX-5766: -------------------------------------------- How about simply ignoring hintmask and cntrmask as we don't support hinting at all? The current implementation adds a hsbw command in some cases and it re-adds some/all of the number values. But I won't try that without a sample font/pdf > CharStringCommand-mapping does not work for HintMask-cmd > -------------------------------------------------------- > > Key: PDFBOX-5766 > URL: https://issues.apache.org/jira/browse/PDFBOX-5766 > Project: PDFBox > Issue Type: Bug > Reporter: Dieter von Holten > Priority: Minor > > i have a (proprietary) document with a licensed font. Opening it in PdfDebug > shows some 'Unknown-command' messages. > I could track it down (in glyph-handling) to some HintMask-command(19), which > is followed by a mask-byte. The attempt to map this to a CharStringCommand > fails, because it tries to lookup a 2-byte command. There doesn't seem to be > a way to create a CharStringCommand with additional data. > > AddOn: the 'unknown command' log-message should be enhanced to actually show > the 'unknown command' -- This message was sent by Atlassian Jira (v8.20.10#820010) --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@pdfbox.apache.org For additional commands, e-mail: dev-h...@pdfbox.apache.org