Skip to content

Fix different matcher behavior between fc-match and fc-list

Akira TAGOH requested to merge tagoh/fontconfig:issue/46 into master

Right now FcFontList() has own matcher to sort out the results. this often causes different results between fc-match and fc-list. so this changes tries to share the same matcher functions between both APIs. and improve scoring on comparing family names and postscript names - giving better score when forward matching. by this change, fc-match noto will returns one of Noto families and fc-list noto will returns the list of Noto families.

Merge request reports

Loading