[Problem] When rendering a string of multiple languages, the font selected might not support all glyphs. Is it possible to specify a list of fonts to test the glyph through?
[Context] The system is Pango + Fontconfig, my first guess this is something to address at fontconfig level. However from fontconfig spec, I don't see something directly relevant.
[Questions]
<alias> <family>FreightSans Pro</family> <prefer> <family>Noto Sans</family> <family>Noto Emoji</family> <family>Noto Sans Armenian</family> <family>Noto Sans Avestan</family> <family>Noto Sans Balinese</family> <family>Noto Sans Bamum</family> ...... </prefer> </alias>
Thanks for any thought. :)
Just got it working. It looks the build of fontconfig I have isn't looking /etc/fonts/ for config files. Therefore by adding the environment variable below the system is picking up my customized conf file and work as expected.
export FONTCONFIG_PATH=/etc/fonts/