Hi, I wrote a patch to fix the contains comparison for string and langset vars. Now I can write the match rule like: <test name="family" compare="contains"> <string>Song</string> </test> which will match all families like ZYSong and SongTi, etc. And the contains comparison for langset is ok now, eg.: <test name="lang" compare="contains"> <string>zh-cn</string> </test> which will match all fonts with zh-cn langset.
Created attachment 46 [details] [review] The patch to fix contains comparison for string and langset.
Patch applied.
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.