On Wed, May 30, 2012 at 10:00 PM, Raimund Steger <rs@xxxxxxxx> wrote: > OK I think I get it now. You want the lang from the environment already at > the time of config substitution, so that you can still react on it in the > course of your normal ~/.fonts.conf, and preferably inferred from your > normal locale settings without having to set any program-specific separate > configuration files etc.? Exactly. > > Well in that case Akira's fix seems quite useful. > > I think that changing the recommended order of the API calls otherwise isn't > a good idea, too, because the user should be the first instance that has the > opportunity to specify defaults for missing properties, except maybe on such > highly content-specific/dynamic properties as 'lang'. Right. FWIW we should get rid of the code to add the lang in FcDefaultSubstitute() because it won't takes any effects any more. -- Akira TAGOH _______________________________________________ Fontconfig mailing list Fontconfig@xxxxxxxxxxxxxxxxxxxxx http://lists.freedesktop.org/mailman/listinfo/fontconfig