[
https://issues.apache.org/jira/browse/PDFBOX-6249?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18109976#comment-18109976
]
Tim Allison edited comment on PDFBOX-6249 at 8/31/26 5:15 PM:
--------------------------------------------------------------
With logging enabled, I see this when running the patched trunk on my linux
laptop:
tallison@tallison-XPS-9320:~/Intellij/pdfbox$ java -Dlog4j2.level=warn -jar
app/target/pdfbox-app-4.0.0-SNAPSHOT.jar render --input=/xyz/cjk-cid-repro.pdf
2026-08-31T17:13:42.263138265Z main WARN Format 14 cmap table is not supported
and will be ignored
2026-08-31T17:13:42.321836667Z main WARN Format 14 cmap table is not supported
and will be ignored
2026-08-31T17:13:42.354817989Z main WARN Format 14 cmap table is not supported
and will be ignored
2026-08-31T17:13:42.383356834Z main WARN Format 14 cmap table is not supported
and will be ignored
2026-08-31T17:13:42.410794178Z main WARN Using fallback NotoSerifCJKjp-Bold for
CID-keyed font MSungStd-Light-Acro
was (Author: [email protected]):
With logging enabled, I see this when running on my linux laptop:
tallison@tallison-XPS-9320:~/Intellij/pdfbox$ java -Dlog4j2.level=warn -jar
app/target/pdfbox-app-4.0.0-SNAPSHOT.jar render --input=/xyz/cjk-cid-repro.pdf
2026-08-31T17:13:42.263138265Z main WARN Format 14 cmap table is not supported
and will be ignored
2026-08-31T17:13:42.321836667Z main WARN Format 14 cmap table is not supported
and will be ignored
2026-08-31T17:13:42.354817989Z main WARN Format 14 cmap table is not supported
and will be ignored
2026-08-31T17:13:42.383356834Z main WARN Format 14 cmap table is not supported
and will be ignored
2026-08-31T17:13:42.410794178Z main WARN Using fallback NotoSerifCJKjp-Bold for
CID-keyed font MSungStd-Light-Acro
> Non-embedded Adobe-GB1/CNS1/Japan1 fonts render as .notdef even when Noto CJK
> / Source Han fonts are installed
> --------------------------------------------------------------------------------------------------------------
>
> Key: PDFBOX-6249
> URL: https://issues.apache.org/jira/browse/PDFBOX-6249
> Project: PDFBox
> Issue Type: Task
> Components: Rendering
> Reporter: Tim Allison
> Priority: Minor
> Attachments: cjk-cid-repro.pdf, image-2026-08-31-18-22-38-997.png
>
>
> I ran a rendering bake-off with pdftoppm vs PDFBox on the 1k pdfs in [digital
> corpora
> 0000.zip|https://digitalcorpora.s3.amazonaws.com/corpora/files/CC-MAIN-2021-31-PDF-UNTRUNCATED/zipfiles/0000-0999/0000.zip]
>
> There was a small handful of files where pdftoppm and pdfium were handling
> missing cjk fonts a bit better than PDFBox.
>
> Specifically:
> ||file||non-embedded CID font||collection||
> |0000000.pdf|MSungStd-Light-Acro|Adobe-CNS1|
> |0000063.pdf|STSongStd-Light-Acro|Adobe-GB1|
> |0000750.pdf|MSungStd-Light-Acro|Adobe-CNS1|
> |0000877.pdf|KozGoPro-Medium-Acro|Adobe-Japan1|
> |0000908.pdf|MSungStd-Light-Acro|Adobe-CNS1|
>
> I had Claude generate a small repro file (attached).
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]