Oliver Schmidtmer created PDFBOX-5785:
-----------------------------------------
Summary: Issue with embedded Font and decendant font
Key: PDFBOX-5785
URL: https://issues.apache.org/jira/browse/PDFBOX-5785
Project: PDFBox
Issue Type: Bug
Reporter: Oliver Schmidtmer
Attachments: Renfer_Beleg_ueber_SFr_1000.pdf,
image-2024-03-13-18-01-57-168.png, image-2024-03-13-18-04-49-957.png
On the attached PDF, a text where the second font is used cannot be rendered:
!image-2024-03-13-18-01-57-168.png|width=547,height=60!
>From debugging I can see, that PDType0Font.codeToGID(code) does return "0" for
>this chars.
The call there is delegated to descendantFont.codeToGID(code).
However at least for code to unicode, the map is in the font itself, not the
descendant:
!image-2024-03-13-18-04-49-957.png|width=500,height=213!
The font view in the PDF Debugger also shows codes from 1 to 7, instead of
those from the unicode map.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]