ITADN

CJK font display abnormality

#183Openarchko 创建于 2025-12-25
A
archkocommented
I am using mupdf-rs branch main, in cargo.toml mupdf = { path = "mupdf-rs", features = ["system-fonts", "all-fonts"] }, however, epub cannot display Chinese, all are blank, only numbers in the content can be displayed. Some PDFs also cannot display Chinese, mupdf downloaded is 1.27 source code. The inability to display Chinese in epub/pdf is one reason. In the early mupdf, when there were no CJK fonts, PDFs couldn't display, but after adding them, it was normal. I tried some methods, but they didn't work. Compile and run, before adding the features = ["system-fonts", "all-fonts"] it was 80MB, after adding it was 110MB, thinking that the fonts are actually packaged in. But still can't display Chinese. [围城(文字版).钱钟书.pdf](https://github.com/user-attachments/files/24335019/default.pdf)
2 条评论