Pango Font Configure

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

你可能感兴趣的:(Path,library,fonts)