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 specified. 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 vs $ fc-match --sort sans:lang=en,ja | head -1 -- keith.packard@xxxxxxxxx
Attachment:
signature.asc
Description: This is a digitally signed message part
_______________________________________________ Fontconfig mailing list Fontconfig@xxxxxxxxxxxxxxxxxxxxx http://lists.freedesktop.org/mailman/listinfo/fontconfig