[GH-ISSUE #5383] [FEAT]: Create-pdf-file support non-latin chars #5058

Closed
opened 2026-06-05 14:51:46 -04:00 by yindo · 5 comments
Owner

Originally created by @parkhw328 on GitHub (Apr 7, 2026).
Original GitHub issue: https://github.com/Mintplex-Labs/anything-llm/issues/5383

How are you running AnythingLLM?

Docker (local)

What happened?

Hello,

I would like to report a possible issue with the PDF creation feature in AnythingLLM Agent Skills.

It seems that Korean text is not supported properly when generating PDFs. Korean characters may not render correctly, or the output may fail to display them as expected.

Could you please check whether Korean font embedding or Unicode/Korean language support is missing in the PDF generation process?

It would be great if Korean text could be fully supported in generated PDFs.

Thank you.

Are there known steps to reproduce?

No response

LLM Provider & Model (if applicable)

openai/gpt-oss-120b

Embedder Provider & Model (if applicable)

ollama/embeddinggemma

Originally created by @parkhw328 on GitHub (Apr 7, 2026). Original GitHub issue: https://github.com/Mintplex-Labs/anything-llm/issues/5383 ### How are you running AnythingLLM? Docker (local) ### What happened? Hello, I would like to report a possible issue with the PDF creation feature in AnythingLLM Agent Skills. It seems that Korean text is not supported properly when generating PDFs. Korean characters may not render correctly, or the output may fail to display them as expected. Could you please check whether Korean font embedding or Unicode/Korean language support is missing in the PDF generation process? It would be great if Korean text could be fully supported in generated PDFs. Thank you. ### Are there known steps to reproduce? _No response_ ### LLM Provider & Model (if applicable) openai/gpt-oss-120b ### Embedder Provider & Model (if applicable) ollama/embeddinggemma
yindo added the enhancementDockerfeature requestDesktop labels 2026-06-05 14:51:46 -04:00
yindo closed this issue 2026-06-05 14:51:46 -04:00
Author
Owner

@timothycarambat commented on GitHub (Apr 8, 2026):

For future reference this is because (@mdpdf/mdpdf](https://www.npmjs.com/package/@mdpdf/mdpdf) does not support alternative fonts and instead uses a base Latin font so therefore non-latin languages cannot be used.

We have a fork of this repo already https://github.com/Mintplex-Labs/mdpdf with ARM64 builds, we can modify it further and back-port it to this so that we can get support for alternative language fonts that contain both latin/non-latin chars.

<!-- gh-comment-id:4210149609 --> @timothycarambat commented on GitHub (Apr 8, 2026): For future reference this is because (`@mdpdf/mdpdf`](https://www.npmjs.com/package/@mdpdf/mdpdf) does not support alternative fonts and instead uses a base Latin font so therefore non-latin languages cannot be used. We have a fork of this repo already https://github.com/Mintplex-Labs/mdpdf with ARM64 builds, we can modify it further and back-port it to this so that we can get support for alternative language fonts that contain both latin/non-latin chars.
Author
Owner

@parkhw328 commented on GitHub (Apr 8, 2026):

Thank you for your response. I appreciate your suggestion to backport using
mdpdf from mintplexlabs. I’m planning to adjust the process to use a full
npm-based workflow referencing the extra-fonts branch, and I’d like to
confirm if my understanding of the intended direction is correct.

2026년 4월 9일 (목) 오전 7:37, Timothy Carambat @.***>님이 작성:

timothycarambat left a comment (Mintplex-Labs/anything-llm#5383)
https://github.com/Mintplex-Labs/anything-llm/issues/5383#issuecomment-4210149609

For future reference this is because @./mdpdf](
@.
/mdpdf) does not support alternative
fonts and instead uses a base Latin font so therefore non-latin languages
cannot be used.

We have a fork of this repo already https://github.com/Mintplex-Labs/mdpdf
with ARM64 builds, we can modify it further and back-port it to this so
that we can get support for alternative language fonts that contain both
latin/non-latin chars.


Reply to this email directly, view it on GitHub
https://github.com/Mintplex-Labs/anything-llm/issues/5383#issuecomment-4210149609,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AXHNH2DCRRF5NCT3KN4UUAT4U3IDPAVCNFSM6AAAAACXQHSXLSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHM2DEMJQGE2DSNRQHE
.
You are receiving this because you authored the thread.Message ID:
@.***>

<!-- gh-comment-id:4210734735 --> @parkhw328 commented on GitHub (Apr 8, 2026): Thank you for your response. I appreciate your suggestion to backport using mdpdf from mintplexlabs. I’m planning to adjust the process to use a full npm-based workflow referencing the extra-fonts branch, and I’d like to confirm if my understanding of the intended direction is correct. 2026년 4월 9일 (목) 오전 7:37, Timothy Carambat ***@***.***>님이 작성: > *timothycarambat* left a comment (Mintplex-Labs/anything-llm#5383) > <https://github.com/Mintplex-Labs/anything-llm/issues/5383#issuecomment-4210149609> > > For future reference this is because ***@***.***/mdpdf]( > ***@***.***/mdpdf) does not support alternative > fonts and instead uses a base Latin font so therefore non-latin languages > cannot be used. > > We have a fork of this repo already https://github.com/Mintplex-Labs/mdpdf > with ARM64 builds, we can modify it further and back-port it to this so > that we can get support for alternative language fonts that contain both > latin/non-latin chars. > > — > Reply to this email directly, view it on GitHub > <https://github.com/Mintplex-Labs/anything-llm/issues/5383#issuecomment-4210149609>, > or unsubscribe > <https://github.com/notifications/unsubscribe-auth/AXHNH2DCRRF5NCT3KN4UUAT4U3IDPAVCNFSM6AAAAACXQHSXLSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHM2DEMJQGE2DSNRQHE> > . > You are receiving this because you authored the thread.Message ID: > ***@***.***> >
Author
Owner

@timothycarambat commented on GitHub (Apr 8, 2026):

Working on a custom build right now - https://github.com/Mintplex-Labs/mdpdf

We needed to do this anyway so we can provide long term support for this since the core maintainer of the original seems to given up on maintaining the project so we need to bring it in anyway. Should be resolved soon in Docker and in the next Desktop patch

<!-- gh-comment-id:4211291962 --> @timothycarambat commented on GitHub (Apr 8, 2026): Working on a custom build right now - https://github.com/Mintplex-Labs/mdpdf We needed to do this anyway so we can provide long term support for this since the core maintainer of the original seems to given up on maintaining the project so we need to bring it in anyway. Should be resolved soon in Docker and in the next Desktop patch
Author
Owner

@parkhw328 commented on GitHub (Apr 8, 2026):

Thank you for your response. I really appreciate the direction you’re taking and fully support it. If a release with Docker support becomes available, I would greatly appreciate it if you could provide an update.

<!-- gh-comment-id:4211333163 --> @parkhw328 commented on GitHub (Apr 8, 2026): Thank you for your response. I really appreciate the direction you’re taking and fully support it. If a release with Docker support becomes available, I would greatly appreciate it if you could provide an update.
Author
Owner

@timothycarambat commented on GitHub (Apr 9, 2026):

Deployed & Patched - latest tag on docker building now: https://github.com/Mintplex-Labs/anything-llm/actions/runs/24173287932/job/70549309324

Have a good night (or day)!

<!-- gh-comment-id:4211557356 --> @timothycarambat commented on GitHub (Apr 9, 2026): Deployed & Patched - `latest` tag on docker building now: https://github.com/Mintplex-Labs/anything-llm/actions/runs/24173287932/job/70549309324 Have a good night (or day)!
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Mintplex-Labs/anything-llm#5058