Skip to content
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

Chinese character export pdf problem #192

Open
zhaowei-plus opened this issue Jul 15, 2020 · 1 comment
Open

Chinese character export pdf problem #192

zhaowei-plus opened this issue Jul 15, 2020 · 1 comment

Comments

@zhaowei-plus
Copy link

zhaowei-plus commented Jul 15, 2020

A blank area appears after exporting the Chinese character set, and some Chinese content is normally exported

@zhaowei-plus zhaowei-plus changed the title markdown-pdf 对于linux下的中文字符处理问题 Chinese character export pdf problem Jul 15, 2020
@five-dev-7
Copy link

我也碰到了同样的问题,通过查看和调试源码发现,他转换html的过程是可以的,但html转换pdf出现了空白和内容无法输出的问题。然后发现他由html生成pdf是通过phantomjs完成的。然后经过一系列的查看文档和搜索其他人的解决方案。最终发现是运行时环境缺少字体库支撑导致。以centos为例,通过执行 yum groupinstall "fonts" 安装字体解决问题。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants