[Fontconfig] Sort order of style variants

Santhosh Thottingal santhosh.thottingal at gmail.com
Wed Mar 2 15:51:44 UTC 2016

I am designing a new font and it has Thin, Regular and Bold versions.
When I run fc-match fontName, I get the Bold variant. I would like to get
Regular as output
fc-list lists in the fonts in this order: Thin, Bold, Regular

What property in the font can affect the sorting order and how can I
achieve fc-match returning Regular?

Thanks in advance!

Santhosh Thottingal
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/fontconfig/attachments/20160302/65e749f1/attachment.html>

More information about the Fontconfig mailing list