Le 2019-06-26 13:49, Nicolas Mailhot a écrit :
*if* fontconfig was smart enough, and upstream naming was clean, it could be simplified into <match target="scan"> <test name="family"> <string>family to operate on</string> </edit>
<unset name="style"/>
Better: <remove name="style"/>
<add name="style"> <string>synthetic style1</string> <axis> <string>axis name</string> <double>axis value</double> </axis> </add> <add name="style"> <string>synthetic style2</string> <axis> <string>axis name</string> <double>axis value</double> </axis> </add> <edit name="fullname" value="auto"/> </match> (if fontconfig is able to autoselect, the original style most closely matching the synthetic to add, without needing a fullname help)
-- Nicolas Mailhot _______________________________________________ Fontconfig mailing list Fontconfig@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/fontconfig