PANGO_LANGUAGE doesn't affect in some case
@tagoh
Submitted by Akira TAGOH Link to original bug (#442786)
Description
I have played around recent changes for PANGO_LANGUAGE/LANGUAGE to see the language priorities to choose a font.
It works fine when I run pango-view with PANGO_LANGUAGE=C:zh LANG=en_US.UTF-8, and I can see Chinese fonts are used for Chinese characters on even en_US locale and Japanese fonts installed. thanks for that.
I'm expecting it should works without any exceptions. however when I run pango-view with PANGO_LANGUAGE=C:zh LANG=ja_JP.UTF-8 with test-mixed.txt, Chinese characters are still rendered with Japanese font and Chinese font even if it could be displayed with only Chinese fonts. similarly it should uses Japanese font as much as possible when it's bringing up with PANGO_LANGUAGE=C:ja LANG=zh_CN.UTF-8 say.
Version: 1.17.x