[Fedora-i18n-bugs] [Bug 578020] lang-specific overrides rule doesn't work as expected

bugzilla at redhat.com bugzilla at redhat.com
Mon Apr 26 09:36:20 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=578020

--- Comment #4 from Akira TAGOH <tagoh at redhat.com> 2010-04-26 05:36:15 EDT ---
Testing result without vlgothic-fonts due to the priority thing:
# rpm -qa ipa-gothic-fonts
ipa-gothic-fonts-003.02-3.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
ipag.ttf: "IPAGothic" "Regular"
# fc-match monospace:lang=ja-jp
ipag.ttf: "IPAGothic" "Regular"

That looks good though, that may be good to not use compare="contains" since
fontconfig matches other languages with it. though it's luckily not appearing
due to the priority etc.

# 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
ipag.ttf: "IPAGothic" "Regular"
# fc-match sans:lang=ja-jp
ipag.ttf: "IPAGothic" "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
ipag.ttf: "IPAGothic" "Regular"
# fc-match serif:lang=ja-jp
ipag.ttf: "IPAGothic" "Regular"

No explicit rules for serif in ipa-gothic-fonts.

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

No affects to other languages.

-- 
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 i18n-bugs mailing list