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

bugzilla at redhat.com bugzilla at redhat.com
Thu Apr 22 12:12:21 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=578041

--- Comment #3 from Akira TAGOH <tagoh at redhat.com> 2010-04-22 08:12:15 EDT ---
Testing result:
# rpm -q madan-fonts
madan-fonts-2.000-2.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=ne
Lohit-Devanagari.ttf: "Lohit Devanagari" "Regular"
# fc-match monospace:lang=ne-np
Lohit-Devanagari.ttf: "Lohit Devanagari" "Regular"
# 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=ne
Lohit-Devanagari.ttf: "Lohit Devanagari" "Regular"
# fc-match serif:lang=ne-np
Lohit-Devanagari.ttf: "Lohit Devanagari" "Regular"

No explicit rules for monospace and serif in madan-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=ne
Lohit-Devanagari.ttf: "Lohit Devanagari" "Regular"
# fc-match sans:lang=ne-np
Lohit-Devanagari.ttf: "Lohit Devanagari" "Regular"

For this issue, the above result isn't bad. the reasons why fontconfig didn't
pick up Madan font is:

 * madan-fonts doesn't have certain glyph coverages that fontconfig is
expecting in ne.orth.

   $ fc-match -v Madan | grep -E "^    ]*lang"
           lang: (s)

 * since the locale-specific overrides rule adds Madan as the weak binding now,
Lohit Devanagari has a priority since it appears in 65-nonlatin.conf.
65-madan.conf should be renamed to 65-0-madan.conf or something like that.

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

No affects to other languages so far. but I'm not really sure when the above
issues got fixed once.

Anyway, it's good enough for this issue but need further fixes to make this
package useful for Nepali.

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