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

bugzilla at redhat.com bugzilla at redhat.com
Mon Apr 26 05:06:02 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=578017

--- Comment #4 from Akira TAGOH <tagoh at redhat.com> 2010-04-26 01:05:58 EDT ---
Testing result:
# rpm -qa baekmuk-ttf-*
baekmuk-ttf-batang-fonts-2.2-25.fc13.noarch
baekmuk-ttf-gulim-fonts-2.2-25.fc13.noarch
baekmuk-ttf-fonts-ghostscript-2.2-25.fc13.noarch
baekmuk-ttf-fonts-common-2.2-25.fc13.noarch
baekmuk-ttf-hline-fonts-2.2-25.fc13.noarch
baekmuk-ttf-dotum-fonts-2.2-25.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=ko
gulim.ttf: "Baekmuk Gulim" "Regular"
# fc-match monospace:lang=ko-kr
UnDotum.ttf: "UnDotum" "Regular"

  <test name="lang">
    <string>ko</string>
  </test>

  should be

  <test name="lang">
    <string>ko-kr</string>
  </test>

plus, the above reasult is from 65-nonlatin.conf since
65-baekmuk-ttf-gulim.conf is supposed to be applied for monospace and
65-baekmuk-dotum.conf is for sans-serif. to get that working, you should rename
65-baekmuk-* to 65-0-baekmuk-* or something like that.

# 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=ko
dotum.ttf: "Baekmuk Dotum" "Regular"
# fc-match sans:lang=ko-kr
wqy-zenhei.ttc: "WenQuanYi Zen Hei" "Regular"

Due to the same reason above, the unexpected fonts was picked up for ko-kr.

# 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=ko
batang.ttf: "Baekmuk Batang" "Regular"
# fc-match serif:lang=ko-kr
wqy-zenhei.ttc: "WenQuanYi Zen Hei" "Regular"

Due to the same reason above, the unexpected fonts was picked up for ko-kr.

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

That looks good.

-- 
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