[Fontconfig] Styles, weights and slants

Akira TAGOH akira at tagoh.org
Thu Nov 10 08:51:01 UTC 2016


On Thu, Nov 10, 2016 at 5:11 PM, Simon Cozens <simon at simon-cozens.org>
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/fontconfig/attachments/20161110/f8e3f080/attachment.html>


More information about the Fontconfig mailing list