[ 
https://issues.apache.org/jira/browse/PDFBOX-5960?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17929448#comment-17929448
 ] 

Tilman Hausherr edited comment on PDFBOX-5960 at 2/23/25 11:38 AM:
-------------------------------------------------------------------

It is a PDTrueType font, the GID is (wrongly) decided as 34. It is considered 
to be a symbolic font so the cmap is used. The cmap has 71 (that is the "G" in 
the content stream) => 34.
 !screenshot-1.png! 
Forcing it to be not symbolic brings a correct rendering.
Adding code to use the differences table too.


was (Author: tilman):
It is a PDTrueType font, the GID is (wrongly) decided as 34. It is considered 
to be a symbolic font so the cmap is used. The cmap has 71 (that is the "G" in 
the content stream) => 34.
 !screenshot-1.png! 
Forcing it to be not symbolic brings a correct rendering.
Another thing to investigate is whether the differences table should be used.

> diameter symbol missing
> -----------------------
>
>                 Key: PDFBOX-5960
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-5960
>             Project: PDFBox
>          Issue Type: Bug
>          Components: Rendering
>    Affects Versions: 2.0.33, 3.0.4 PDFBox
>            Reporter: Tilman Hausherr
>            Priority: Major
>              Labels: regression
>         Attachments: PDFJS-19527-font.ttf, PDFJS-19527-reduced1.pdf, 
> screenshot-1.png
>
>
> Diameter symbol missing, it worked in 1.8.16.
> The symbol is at GID 90 in the font, post name "Ccedilla".



--
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

Reply via email to