Problem:
Pango-CRITICAL **: No fonts found:
This probably means that the fontconfig library is not correctly configured. You may need to edit the fonts.conf configuration file. More information about fontconfig can be found in the fontconfig (3) manual
Solution:
1. You should copy the directory
/usr/share/fonts of your host machine to /usr/share of your target machine. Otherwise your target can't find fonts or your fonts are not installed in your target.
2. Your target can't find the module. So you should check the path. In my case, the path was mounted to the target and
I made a logial path so that it looks the same as that of the host. As follows:
ln /usr/etc/pango ..
ln /usr/lib/pango/1.6.0 ..
ln /use/share/fonts ..
export FONTCONFIG_PATH=/etc/fonts
Pango Font Configure
最新推荐文章于 2022-03-21 16:14:41 发布
本文介绍了当遇到Pango-CRITICAL错误时的解决方案。主要步骤包括:将宿主机的字体目录复制到目标机,检查模块路径并进行必要的链接设置。通过这些操作,可以有效解决目标系统找不到字体的问题。
2971

被折叠的 条评论
为什么被折叠?



