Add a FC_LOCALE_LANG element
Submitted by Behdad Esfahbod
Assigned to fon..@..op.org
Description
This would be quite similar to FC_LANG, except that it holds the default language of the locale, not the language we are looking for fonts for.
The idea is that an application (Pango) looking for a font to render English always passes en as lang. However, in CJK locales, it may be desirable to select the same font for Latin as well as CJK. With the proposed element, a conf file can check whether FC_LOCALE_LANG is CJK and in that case, add the CJK font as the single preferred font. All this without affecting the case of not running under a CJK locale.
Version: 2.4