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=578028
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: lklug-fonts AssignedTo: psatpute@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-lklug.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=578028
--- Comment #1 from Fedora Update System updates@fedoraproject.org 2010-04-15 05:29:11 EDT --- lklug-fonts-0.6-4.20090803cvs.fc13 has been submitted as an update for Fedora 13. http://admin.fedoraproject.org/updates/lklug-fonts-0.6-4.20090803cvs.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=578028
Pravin Satpute psatpute@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |MODIFIED
--- Comment #2 from Pravin Satpute psatpute@redhat.com 2010-04-16 01:55:09 EDT --- fixed in lklug-fonts-0.6-4.20090803cvs.fc14
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=578028
Fedora Update System updates@fedoraproject.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|MODIFIED |ON_QA
--- Comment #3 from Fedora Update System updates@fedoraproject.org 2010-04-16 19:35:16 EDT --- lklug-fonts-0.6-4.20090803cvs.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 lklug-fonts'. You can provide feedback for this update here: http://admin.fedoraproject.org/updates/lklug-fonts-0.6-4.20090803cvs.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=578028
--- Comment #4 from Akira TAGOH tagoh@redhat.com 2010-04-21 08:22:01 EDT --- Testing result: # rpm -q lklug-fonts lklug-fonts-0.6-4.20090803cvs.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=si lklug.ttf: "LKLUG" "Regular" # fc-match monospace:lang=si-lk lklug.ttf: "LKLUG" "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=si lklug.ttf: "LKLUG" "Regular" # fc-match serif:lang=si-lk lklug.ttf: "LKLUG" "Regular"
Even though no monospaced fonts nor serif fonts in lklug-fonts (nor probably in Fedora? dunno I don't have them installed at least because it's not in comps), this would be good side-effect fontconfig tries to pick up the better font for the language. however please note that this kind of expectation isn't a good idea because it could be messed up when any existing fonts started to support Sinhala.
# 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=si lklug.ttf: "LKLUG" "Regular" # fc-match sans:lang=si-lk lklug.ttf: "LKLUG" "Regular"
That looks good.
# for i in $(ls /usr/share/locale|grep -v si); do fc-match sans:lang=$i|grep LKLUG; [ $? = 0 ] && echo $i; done #
So the updated package works as expected.
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=578028
--- Comment #5 from Fedora Update System updates@fedoraproject.org 2010-04-25 09:47:49 EDT --- lklug-fonts-0.6-4.20090803cvs.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=578028
Fedora Update System updates@fedoraproject.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|ON_QA |CLOSED Fixed In Version| |lklug-fonts-0.6-4.20090803c | |vs.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=578028
Akira TAGOH tagoh@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Blocks| |586851
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=578028
Bug 578028 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