Bug 578036 - lang-specific overrides rule doesn't work as expected
Summary: lang-specific overrides rule doesn't work as expected
Alias: None
Product: Fedora
Classification: Fedora
Component: lohit-malayalam-fonts
Version: rawhide
Hardware: All
OS: Linux
Target Milestone: ---
Assignee: Pravin Satpute
QA Contact: Fedora Extras Quality Assurance
Depends On: 578015
Blocks: F13Target 586862
TreeView+ depends on / blocked
Reported: 2010-03-30 03:46 UTC by Akira TAGOH
Modified: 2010-04-28 13:18 UTC (History)
3 users (show)

Fixed In Version: lohit-malayalam-fonts-2.4.4-5.fc13
Doc Type: Bug Fix
Doc Text:
Clone Of:
: 586862 (view as bug list)
Last Closed: 2010-04-25 14:01:39 UTC
Type: ---

Attachments (Terms of Use)

Description Akira TAGOH 2010-03-30 03:46:25 UTC
Description of problem:
All of detailed information is available on my post at the fonts list:

binding="same" in the fontconfig config file prevents to apply the rule for the
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:

Comment 1 Fedora Update System 2010-04-16 15:39:17 UTC
lohit-malayalam-fonts-2.4.4-5.fc13 has been submitted as an update for Fedora 13.

Comment 2 Pravin Satpute 2010-04-16 15:42:30 UTC
fixed in lohit-malayalam-fonts-2.4.4-5.fc14

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

Comment 4 Akira TAGOH 2010-04-22 09:36:37 UTC
Please note that I've removed smc-meera-fonts for testing first since it has a priority than lohit-malayalam-fonts.

Testing result:
# rpm -q lohit-malayalam-fonts
# 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=ml
Lohit-Malayalam.ttf: "Lohit Malayalam" "Regular"
# fc-match monospace:lang=ml-in
Lohit-Malayalam.ttf: "Lohit Malayalam" "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=ml
Lohit-Malayalam.ttf: "Lohit Malayalam" "Regular"
# fc-match serif:lang=ml-in
Lohit-Malayalam.ttf: "Lohit Malayalam" "Regular"

Though no rules for monospace nor serif in lohit-malayalam-fonts. may be good to have one for them?

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

That looks good.

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

Confirmed that the updated package works fine.

Comment 5 Fedora Update System 2010-04-25 14:01:35 UTC
lohit-malayalam-fonts-2.4.4-5.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.