[Fontconfig] any possible trouble by adding lang to the pattern by default

Raimund Steger rs at mytum.de
Fri Jun 1 04:36:47 PDT 2012


On Fri, June 1, 2012 12:16, Akira TAGOH wrote:
> On Fri, Jun 1, 2012 at 6:28 PM, Jjgod Jiang <gzjjgod at gmail.com> wrote:
>> On Fri, Jun 1, 2012 at 3:14 AM, Akira TAGOH <akira at tagoh.org> wrote:
>>> just realized that there may be the side-effect after this change. if
>>> any applications expects to see English fonts without any lang objects
>>> in the pattern, it may possibly breaks this expectation if one runs it
>>> on non-English locale.
>>
>> But it won't be too hard to fix either, right? The people who set a list
>> for preferred Chinese fonts for instance can always prepend that list
>> with a English font.
>
> Sure. well, given that we go forward with it, I think there are
> nothing we can do in fontconfig on this issue, because it's the result
> that the application tried to pick a font up with the unreliable way.

But that would only affect applications that don't use
FcDefaultSubstitute, right? Because FcDefaultSubstitute added the lang
from the environment anyway.

Raimund




-- 
Worringer Str 31 Duesseldorf 40211 Germany +49-179-2981632 icq 16845346



More information about the Fontconfig mailing list