On Thu, Nov 10, 2016 at 5:11 PM, Simon Cozens <simon@xxxxxxxxxxxxxxxx> wrote:
$ FC_DEBUG=3 fc-match 'Arno Pro:slant=Italic:weight=200' >
italic-should-not-be-bold.log
Ah, I see. it isn't the value in OpenType. you should use the constant name or see https://cgit.freedesktop.org/fontconfig/tree/src/fcweight.c and https://cgit.freedesktop.org/fontconfig/tree/fontconfig/fontconfig.h#n135
$ FC_DEBUG=3 fc-match 'Arno Pro:style=Caption:weight=800' >
caption-should-be-bold.log
S
Akira TAGOH
_______________________________________________ Fontconfig mailing list Fontconfig@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/fontconfig