FcFontSetMatch doesn't produce the same result as FcFontSetSort

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]


I prefer japanese han glyphs over chinese when loading untagged content,
so I set fontconfig to use lang=en,ja when no language is otherwise

With the optimized FcFontSetMatch, this eliminates all fonts which don't
support Japanese from matching; not the desired result at all.

In any case, the requirement here is that FcFontSetMatch produce the
font at the head of the list produced by FcFontSetSort; the case above
should be easily tested with:

 $ fc-match sans:lang=en,ja


 $ fc-match --sort sans:lang=en,ja | head -1


Attachment: signature.asc
Description: This is a digitally signed message part

Fontconfig mailing list

[Index of Archives]     [Fedora Fonts]     [Fedora Users]     [Fedora Cloud]     [Kernel]     [Fedora Packaging]     [Fedora Desktop]     [PAM]     [Gimp Graphics Editor]     [Yosemite News]

  Powered by Linux