Bug 578037

Summary: lang-specific overrides rule doesn't work as expected
Product: [Fedora] Fedora Reporter: Akira TAGOH <tagoh>
Component: lohit-oriya-fontsAssignee: Pravin Satpute <psatpute>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: rawhideCC: fonts-bugs, i18n-bugs, psatpute
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: lohit-oriya-fonts-2.4.3-4.fc13 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 586864 (view as bug list) Environment:
Last Closed: 2010-04-25 13:58:24 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 578015    
Bug Blocks: 507684, 586864    

Description Akira TAGOH 2010-03-30 03:47:20 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-oriya.conf

Comment 1 Fedora Update System 2010-04-19 07:55:30 UTC
lohit-oriya-fonts-2.4.3-4.fc13 has been submitted as an update for Fedora 13.
http://admin.fedoraproject.org/updates/lohit-oriya-fonts-2.4.3-4.fc13

Comment 2 Pravin Satpute 2010-04-19 07:56:43 UTC
fixed in lohit-oriya-fonts-2.4.3-4.fc14

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

Comment 4 Akira TAGOH 2010-04-22 09:53:00 UTC
Testing result:
# rpm -q lohit-oriya-fonts
lohit-oriya-fonts-2.4.3-4.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=or
Lohit-Oriya.ttf: "Lohit Oriya" "Regular"
# fc-match monospace:lang=or-in
Lohit-Oriya.ttf: "Lohit Oriya" "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=or
Lohit-Oriya.ttf: "Lohit Oriya" "Regular"
# fc-match serif:lang=or-in
Lohit-Oriya.ttf: "Lohit Oriya" "Regular"

No explicit rules described for Oriya. but looks good for fallback for monospace and serif.

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

That looks good.

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

Confirmed the updated package works fine.

Comment 5 Fedora Update System 2010-04-25 13:58:20 UTC
lohit-oriya-fonts-2.4.3-4.fc13 has been pushed to the Fedora 13 stable repository.  If problems still persist, please make note of it in this bug report.