Bug 578032 - lang-specific overrides rule doesn't work as expected
Summary: lang-specific overrides rule doesn't work as expected
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: lohit-kannada-fonts
Version: rawhide
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Pravin Satpute
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On: 578015
Blocks: F13Target 586857
TreeView+ depends on / blocked
 
Reported: 2010-03-30 03:44 UTC by Akira TAGOH
Modified: 2010-04-28 13:16 UTC (History)
3 users (show)

Fixed In Version: lohit-kannada-fonts-2.4.5-2.fc13
Doc Type: Bug Fix
Doc Text:
Clone Of:
: 586857 (view as bug list)
Environment:
Last Closed: 2010-04-25 13:46:31 UTC


Attachments (Terms of Use)

Description Akira TAGOH 2010-03-30 03:44:24 UTC
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:
 66-lohit-kannada.conf

Comment 1 Fedora Update System 2010-04-16 15:22:45 UTC
lohit-kannada-fonts-2.4.5-2.fc13 has been submitted as an update for Fedora 13.
http://admin.fedoraproject.org/updates/lohit-kannada-fonts-2.4.5-2.fc13

Comment 2 Pravin Satpute 2010-04-16 15:42:03 UTC
fixed in lohit-kannada-fonts-2.4.5-2.fc14

Comment 3 Fedora Update System 2010-04-20 13:28:59 UTC
lohit-kannada-fonts-2.4.5-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 lohit-kannada-fonts'.  You can provide feedback for this update here: http://admin.fedoraproject.org/updates/lohit-kannada-fonts-2.4.5-2.fc13

Comment 4 Akira TAGOH 2010-04-22 07:20:30 UTC
Testing result:
# rpm -q lohit-kannada-fonts
lohit-kannada-fonts-2.4.5-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=kn
Lohit-Kannada.ttf: "Lohit Kannada" "Regular"
# fc-match monospace:lang=kn-in
Lohit-Kannada.ttf: "Lohit Kannada" "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=kn
Lohit-Kannada.ttf: "Lohit Kannada" "Regular"
# fc-match serif:lang=kn-in
Lohit-Kannada.ttf: "Lohit Kannada" "Regular"

Though no rules for monospace nor serif is described in lohit-kannada-fonts, it just works so far. please note that this result may be changed once any fonts started providing Kannada support.

# 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=kn
Lohit-Kannada.ttf: "Lohit Kannada" "Regular"
# fc-match sans:lang=kn-in
Lohit-Kannada.ttf: "Lohit Kannada" "Regular"

That looks good.

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

No further affects on this font. so confirmed that the updated package works fine.

Comment 5 Fedora Update System 2010-04-25 13:46:23 UTC
lohit-kannada-fonts-2.4.5-2.fc13 has been pushed to the Fedora 13 stable repository.  If problems still persist, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.