仅缺少数字Weasyprint PDF [英] Only numbers are missing Weasyprint PDF

查看:124
本文介绍了仅缺少数字Weasyprint PDF的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

就是这样,我在Mac Mojave上使用weasyprint-44,python 3.6和Cairo等版本. PDF会以其他方式很好地呈现-符号和字母很好-只是没有数字?

That's it, I'm on Mac Mojave with weasyprint-44, python 3.6, and Cairo etc. versions match. The PDF renders nicely otherwise - symbols and letters are fine - just no numbers?

太奇怪了.

有人能指出我正确的方向吗?

Can anyone point me in the right direction?

推荐答案

我能够通过从字体家族CSS声明中删除字体"Segoe UI Emoji"来解决此问题.从CSS删除此字体后,数字再次开始出现.

I was able to fix this problem by eliminating the font "Segoe UI Emoji" from a font-family CSS declaration. Numbers started appearing again once this font was removed from CSS.

该错误似乎始于对macOS 10.14.4的一些更改.

The bug seems to have started with some change on macOS 10.14.4.

这篇关于仅缺少数字Weasyprint PDF的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆