Re: any possible trouble by adding lang to the pattern by default

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, May 30, 2012 at 7:02 AM, Raimund Steger <rs@xxxxxxxx> wrote:
> LANG (as opposed to FC_LANG) *is* already used to provide a default value
> dynamically, provided programs use FcDefaultSubstitute which I think they
> all do.
>
> (BTW- Akira- is there a special reason why applying the new string set
> needed to be done in FcConfigSubstituteWithPat in addition to
> FcDefaultSubstitute?)

Well, honestly I don't still even have the reasonable answer for that
though, FcDefaultSubstitute() seems supposed to call after
FcConfigSubstitute().

https://bugs.freedesktop.org/show_bug.cgi?id=35482#c2

I guess because it may affects too many things on building the
pattern? Keith or Behdad?

Anyway, so I did it separately to avoid dirty pattern.

> In case you need a different configuration for individual programs and
> cannot modify LANG for those, i. e. as would be possible through FC_LANG, I
> suspect you could create a file like:
...
> FONTCONFIG_FILE=your.config.file fc-match

Hmm, yeah.. though if you are sure there are no config files that
checks the lang object before looking at 50-user.conf, no need to do
that nor "include" /etc/fonts/fonts.conf in your .fonts.conf.

-- 
Akira TAGOH
_______________________________________________
Fontconfig mailing list
Fontconfig@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/fontconfig


[Index of Archives]     [Fedora Fonts]     [Fedora Users]     [Fedora Cloud]     [Kernel]     [Fedora Packaging]     [Fedora Desktop]     [PAM]     [Gimp Graphics Editor]     [Yosemite News]

  Powered by Linux