-
Notifications
You must be signed in to change notification settings - Fork 3.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug]: Hebrew not supported with LibreOffice(?) #2494
Comments
Hey there, @MatanMaimon! I'm Dosu, a bot here to help you with bug fixes, answer questions, and guide you on becoming a contributor. Let's work on resolving the issue you're facing while we wait for a human maintainer. A similar closed issue was found regarding font-related problems with non-Latin characters, specifically Cyrillic characters. The solution suggested in that issue was to address missing fonts by specifying the language code in the configuration file. You can refer to the example provided in the Docker configuration file here: docker-compose-latest.yml. This should help in downloading the correct fonts needed for Hebrew text [1]. In your Docker configuration, you can try adding the Hebrew language code to the To continue talking to Dosu, mention @dosu. Help Dosu learn! Give it feedback: Great Response | Irrelevant Answer | Incorrect Sources | Too Verbose | Hallucination | Other |
@dosu i have tried this code and it didn't help (of course i tried to rerun the container, remove and run etec...)
|
can you try LANGS as "ALL" |
If adding the Hebrew language code to the Here are a few steps you can try:
These steps should help in resolving the issue with Hebrew text not displaying correctly in the converted PDF files. To continue talking to Dosu, mention @dosu. Help Dosu learn! Give it feedback: Great Response | Irrelevant Answer | Incorrect Sources | Too Verbose | Hallucination | Other |
@Frooodle that worked! |
Installation Method
Docker
The Problem
Trying to use the
Convert any file to PDF
and seems like any file (docx / txt / etc...) written in Hebrew for some reason result PDF with bad text (the text looks like empty squares):you can check the result PDF file:
hebrew_text_convertedToPDF.pdf
you can test with this simple text file:
hebrew_text.txt
Version of Stirling-PDF
0.36.2
Last Working Version of Stirling-PDF
No response
Page Where the Problem Occurred
http://localhost:8080/file-to-pdf
Docker Configuration
Relevant Log Output
No response
Additional Information
i assume this related to this issue - #420
Browsers Affected
No response
No Duplicate of the Issue
The text was updated successfully, but these errors were encountered: