[
https://issues.apache.org/jira/browse/PDFBOX-5804?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17837640#comment-17837640
]
liu edited comment on PDFBOX-5804 at 4/16/24 10:07 AM:
-------------------------------------------------------
Another question: When pdfbox detects No glyph for, can we use the font of
FontMapperImpl.lastResortFont to render the font we want?
And FontMapperImpl.lastResortFont can give our users customized settings,
because if many non-English fonts use the default LiberationSans, it is easy to
lose text.
For example, 2.pdf, pdfbox will warn “No glyph for” when converting, and then
the rendered text will be lost.
was (Author: JIRAUSER297279):
Another question: When pdfbox detects No glyph for, can we use the font of
FontMapperImpl.lastResortFont to render the font we want?
And FontMapperImpl.lastResortFont can give our users customized settings,
because if many non-English fonts use the default LiberationSans, it is easy to
lose text.
> The embedded font style rendered by pdfbox is a bit strange, Adobe's is more
> normal.
> ------------------------------------------------------------------------------------
>
> Key: PDFBOX-5804
> URL: https://issues.apache.org/jira/browse/PDFBOX-5804
> Project: PDFBox
> Issue Type: Bug
> Components: FontBox
> Affects Versions: 2.0.31, 3.0.2 PDFBox
> Reporter: liu
> Priority: Major
> Attachments: 1.pdf, 2.pdf, image-2024-04-16-17-12-00-456.png
>
>
> test file:1.pdf.
> The one on the left is rendered by Adobe, and the one on the right is
> rendered by PDFBox.
> !image-2024-04-16-17-12-00-456.png!
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]