[Bug 578045] lang-specific overrides rule doesn't work as expected

bugzilla at redhat.com bugzilla at redhat.com
Mon Apr 26 10:54:36 UTC 2010


Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug.


https://bugzilla.redhat.com/show_bug.cgi?id=578045

--- Comment #4 from Akira TAGOH <tagoh at redhat.com> 2010-04-26 06:54:32 EDT ---
Testing result without ipa-*-fonts and vlgothic-fonts to see the correct result
due to the priority thing:
# rpm -qa sazanami-gothic-fonts
sazanami-gothic-fonts-0.20040629-11.fc13.noarch
# fc-match monospace:lang=en
DejaVuSansMono.ttf: "DejaVu Sans Mono" "Book"
# fc-match monospace:lang=en-us
DejaVuSansMono.ttf: "DejaVu Sans Mono" "Book"
# fc-match monospace:lang=ja
sazanami-gothic.ttf: "Sazanami Gothic" "Regular"
# fc-match monospace:lang=ja-jp
sazanami-gothic.ttf: "Sazanami Gothic" "Regular"

No explicit rules for monospace in sazanami-fonts.

# fc-match sans:lang=en
DejaVuSans.ttf: "DejaVu Sans" "Book"
# fc-match sans:lang=en-us
DejaVuSans.ttf: "DejaVu Sans" "Book"
# fc-match sans:lang=ja
sazanami-gothic.ttf: "Sazanami Gothic" "Regular"
# fc-match sans:lang=ja-jp
sazanami-gothic.ttf: "Sazanami Gothic" "Regular"

That looks good.

# fc-match serif:lang=en
DejaVuSerif.ttf: "DejaVu Serif" "Book"
# fc-match serif:lang=en-us
DejaVuSerif.ttf: "DejaVu Serif" "Book"
# fc-match serif:lang=ja
sazanami-mincho.ttf: "Sazanami Mincho" "Regular"
# fc-match serif:lang=ja-jp
sazanami-mincho.ttf: "Sazanami Mincho" "Regular"

That looks good.

# for i in $(ls /usr/share/locale|grep -v -E "^(ja)$"); do fc-match
sans:lang=$i|grep -E "^(Sazanami Gothic)$"; [ $? = 0 ] && echo $i; done
#

No affects to other languages though, that may be good to get rid of
compare="contains" since it matches to other languages unexpectedly.

-- 
Configure bugmail: https://bugzilla.redhat.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


More information about the fonts-bugs mailing list