Comments (19)
I assume you are using docker. Under the directory
/usr/share/fonts/opentype/noto/
there should be some fonts. Copy some of your own fonts (Chinese fonts maybe) into that will work. As of issue 974 you might need to deletenoto
and remake the directory first.The method has been tested and proven effective. Thank you very much.
Can you share some example fonts? Would love to add this directly to stirling pdf to support
Of course, I'll pack it for you tomorrow.
from stirling-pdf.
I have added chinese now, but will be adding this via some env parameter in future as i cant install all fonts at start due to size issues
adding this via some env parameter
is a good idea.
from stirling-pdf.
Can you give a example PDF file i can test this with to resolve?
from stirling-pdf.
This is a Chinese document, converting it to PDF will not display the characters.
Can you give a example PDF file i can test this with to resolve?
from stirling-pdf.
I'm in the same boat. I'm having this problem
from stirling-pdf.
I also encountered the same problem. It seems that the technology used has weak support for Chinese. I hope it can be fixed as soon as possible. Thank you so much.
from stirling-pdf.
I have same issue with Thai language as well.
from stirling-pdf.
I assume you are using docker. Under the directory /usr/share/fonts/opentype/noto/
there should be some fonts. Copy some of your own fonts (Chinese fonts maybe) into that will work. As of issue 974 you might need to delete noto
and remake the directory first.
from stirling-pdf.
I assume you are using docker. Under the directory
/usr/share/fonts/opentype/noto/
there should be some fonts. Copy some of your own fonts (Chinese fonts maybe) into that will work. As of issue 974 you might need to deletenoto
and remake the directory first.
The method has been tested and proven effective. Thank you very much.
from stirling-pdf.
I assume you are using docker. Under the directory
/usr/share/fonts/opentype/noto/
there should be some fonts. Copy some of your own fonts (Chinese fonts maybe) into that will work. As of issue 974 you might need to deletenoto
and remake the directory first.The method has been tested and proven effective. Thank you very much.
May I ask where you found the Chinese font files in the Word document?
from stirling-pdf.
I assume you are using docker. Under the directory
/usr/share/fonts/opentype/noto/
there should be some fonts. Copy some of your own fonts (Chinese fonts maybe) into that will work. As of issue 974 you might need to deletenoto
and remake the directory first.The method has been tested and proven effective. Thank you very much.
Can you share some example fonts? Would love to add this directly to stirling pdf to support
from stirling-pdf.
May I ask where you found the Chinese font files in the Word document?
Since it's a word document, most likely created through Windows system. You can just copy those fonts being used from your system(C:\Windows\Fonts
) into sterling-pdf docker, only for your own use.
Can you share some example fonts? Would love to add this directly to stirling pdf to support
Maybe to check if this or this fits.
from stirling-pdf.
Does anyone have a example PDF file i can test with?
from stirling-pdf.
I have released a update as well while i wait for test file
If you can try with that
from stirling-pdf.
我假设你正在使用 docker。该目录下
/usr/share/fonts/opentype/noto/
应该有一些字体。复制一些你自己的字体(也许是中文字体)进去就可以了。从问题 974开始,您可能需要noto
先删除并重新创建目录。该方法已经过测试并证明是有效的。非常感谢。
你能分享一些示例字体吗?很想将其直接添加到斯特林 pdf 中以支持
当然,我明天就给你打包。
https://drive.google.com/file/d/1aicHFA-3l32evIN79nmiadZBQNRdEZJz/view?usp=sharing
from stirling-pdf.
Does anyone have a example PDF file i can test with?
from stirling-pdf.
Does anyone have a example PDF file i can test with?
Seems to work now? :)
from stirling-pdf.
I have added chinese now, but will be adding this via some env parameter in future as i cant install all fonts at start due to size issues
from stirling-pdf.
Added a LANGS parameter, this will need to be specified going forward
for example
LANGS: "zh_CN,zh_TW"
from stirling-pdf.
Related Issues (20)
- Is there a way to transform djvu files to pdf? HOT 1
- Releases · Stirling-Tools/Stirling-PDF
- Error when Cleanup Scans / OCR HOT 22
- Cannot pdf-to-pdfa because of DigitalSignatureError
- Feature Request: Improved PDF Compare
- Missing translation for Chinese HOT 2
- Display bug crop PDF HOT 2
- OCR Failing: seems to be a config issue. HOT 2
- Feature for "Detect/Split Scanned photos"
- PDF Translation HOT 1
- Why does the color change after compression?
- view-pdf added text removes first line
- [Question] How to remove a no more needed pipeline entry? HOT 1
- [Question] Will you generate a docker-image for linux/arm/v7? HOT 2
- Getting Error on login when using Zitadel for SSO HOT 7
- Czech language dont show diacrictics HOT 3
- Docker Container not starting after update 0.25.0 HOT 2
- Error when trying to use compress function HOT 2
- Not possible to launch anymore Stirling-PDF HOT 10
- Doesn't work with files larger than 100MB? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from stirling-pdf.