compare="contains" issue

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

 



Hi,

I'd propose not using compare="contains" as far as possible,
especially must not when scripts are unififed/shared in
some languages.

Here is an example that messed up with it:

$ rpm -q vlgothic-fonts
vlgothic-fonts-20100126-2.fc13.noarch
$ FC_DEBUG=4 fc-match sans:lang=zh-cn
...

FcConfigSubstitute Pattern has 2 elts (size 16)
        family: "sans"(s)
        lang: zh-cn(s)

...

FcConfigSubstitute test pattern any lang Contains "ja"
FcConfigSubstitute test pattern any family Equal
"sans-serif"
Substitute match
        pattern any lang Contains "ja"
        pattern any family Equal "sans-serif"
edit
        Edit family Prepend "VL Gothic";

...


So in this case fontconfig says "zh-cn" contains "ja"
according to the orth file.

This may depends on languages. it may works in some case,
but not in some case like the above. that would be good
however to get rid of it from the config file until
fontconfig gets a fix of ll v.s. ll-cc issue.

Any comments?

--
Akira TAGOH

Attachment: pgps2SsbXfkpV.pgp
Description: PGP signature

_______________________________________________
fonts mailing list
fonts@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/fonts
http://fonts.fedoraproject.org/

[Index of Archives]     [Fedora Users]     [Font Configuration]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite Forum]     [KDE Users]

  Powered by Linux