Please do not reply directly to this email. All additional comments should be made in the comments box of this bug.
Summary: lang-specific overrides rule doesn't work as expected
https://bugzilla.redhat.com/show_bug.cgi?id=578041
Summary: lang-specific overrides rule doesn't work as expected Product: Fedora Version: rawhide Platform: All OS/Version: Linux Status: NEW Severity: medium Priority: low Component: madan-fonts AssignedTo: pnemade@redhat.com ReportedBy: tagoh@redhat.com QAContact: extras-qa@fedoraproject.org CC: petersen@redhat.com, pnemade@redhat.com, psatpute@redhat.com, i18n-bugs@lists.fedoraproject.org Depends on: 578015 Blocks: 507684 Estimated Hours: 0.0 Classification: Fedora Target Release: ---
Description of problem: All of detailed information is available on my post at the fonts list: http://lists.fedoraproject.org/pipermail/fonts/2010-March/001117.html
binding="same" in the fontconfig config file prevents to apply the rule for the specific language only properly. As a result, fonts is used for non-targetted languages and it may gives different look and feel in some cases.
I'd propose to get rid of binding="same" from: 65-madan.conf
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 #1 from Fedora Update System updates@fedoraproject.org 2010-04-20 01:01:12 EDT --- madan-fonts-2.000-2.fc13 has been submitted as an update for Fedora 13. http://admin.fedoraproject.org/updates/madan-fonts-2.000-2.fc13
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
Fedora Update System updates@fedoraproject.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ON_QA
--- Comment #2 from Fedora Update System updates@fedoraproject.org 2010-04-20 22:20:56 EDT --- madan-fonts-2.000-2.fc13 has been pushed to the Fedora 13 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with su -c 'yum --enablerepo=updates-testing update madan-fonts'. You can provide feedback for this update here: http://admin.fedoraproject.org/updates/madan-fonts-2.000-2.fc13
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@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.
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 #4 from Fedora Update System updates@fedoraproject.org 2010-04-26 22:25:38 EDT --- madan-fonts-2.000-2.fc13 has been pushed to the Fedora 13 stable repository. If problems still persist, please make note of it in this bug report.
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
Fedora Update System updates@fedoraproject.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|ON_QA |CLOSED Fixed In Version| |madan-fonts-2.000-2.fc13 Resolution| |ERRATA
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
Akira TAGOH tagoh@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Blocks| |586870
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
Bug 578041 depends on bug 578015, which changed state.
Bug 578015 Summary: l10n-font-template.conf doesn't work as expected https://bugzilla.redhat.com/show_bug.cgi?id=578015
What |Old Value |New Value ---------------------------------------------------------------------------- Status|NEW |ASSIGNED Status|ASSIGNED |MODIFIED Resolution| |CURRENTRELEASE Status|MODIFIED |CLOSED
i18n-bugs@lists.fedoraproject.org