Hi, In FcDefaultSubstitute() we have: if (FcPatternObjectGet (pattern, FC_WEIGHT_OBJECT, 0, &v) == FcResultNoMatch ) FcPatternObjectAddInteger (pattern, FC_WEIGHT_OBJECT, FC_WEIGHT_MEDIUM); How do we implement the same logic but in conf files? Let's say I want to assign the weight to FC_WEIGHT_REGULAR, if it's empty. I can do it programmtically, of course. Just want to know if there is a way to do it in config files. - Jiang _______________________________________________ Fontconfig mailing list Fontconfig@xxxxxxxxxxxxxxxxxxxxx http://lists.freedesktop.org/mailman/listinfo/fontconfig