[Fontconfig] any possible trouble by adding lang to the pattern by default
akira at tagoh.org
Wed May 30 19:42:34 PDT 2012
On Thu, May 31, 2012 at 1:39 AM, Keith Packard <keithp at keithp.com> wrote:
> I guess I'm not sure why this needs to be per-process; I generally like
> my whole environment to share the same configuration.
Because the process is allowed to run on various locales. I know
running processes on various locales on the desktop is rare case. but
this fix itself is to help that rare case. otherwise no one needs to
set even FC_LANG nor .fonts.conf. it should just works.
aside from that, as Raimund pointed out, even though it depends on
their configurations installed on the system, one may needs to include
the line to read the system's fonts.conf and override the default
configuration, particularly one isn't sure if they have the
language-specific rules prior to 50-user.conf, and want to expect to
I don't think relying on the environment variables is the best
solution, rather think it's the old fashion. it may prevents to change
the configuration on the fly too. though it's easy to try ;)
Given that we want to do it in fonts.conf, we may need a hook to apply
it as the top priority.
> keith.packard at intel.com
More information about the Fontconfig