Please do not reply directly to this email. All additional comments should be made in the comments box of this bug.
Summary: "contains" expression seems not working on the fontconfig rule
https://bugzilla.redhat.com/show_bug.cgi?id=518161
Summary: "contains" expression seems not working on the fontconfig rule Product: Fedora Version: rawhide Platform: All OS/Version: Linux Status: NEW Severity: medium Priority: low Component: fontconfig AssignedTo: besfahbo@redhat.com ReportedBy: tagoh@redhat.com QAContact: extras-qa@fedoraproject.org CC: besfahbo@redhat.com, pnemade@redhat.com, fedora-fonts-bugs-list@redhat.com, fedora-i18n-bugs@redhat.com Classification: Fedora Target Release: ---
Created an attachment (id=357904) --> (https://bugzilla.redhat.com/attachment.cgi?id=357904) sample fontconfig rule
Description of problem: Even if the pattern contains strings that the rule specifies with "contains" expression, it doesn't match.
Version-Release number of selected component (if applicable): fontconfig-2.7.1-1.fc12
How reproducible: always
Steps to Reproduce: 1.install lohit-hindi-fonts and lohit-marathi-fonts 2.put the attached rule into /etc/fonts/conf.d 3.fc-match "sans-serif:lang=mr" 4.fc-match "sans-serif:lang=mr-in"
Actual results: 3. lohit_mr.ttf: "Lohit Marathi" "Regular" 4. lohit_hi.ttf: "Lohit Hindi" "Regular"
Expected results: the result of 3 and 4 should be: lohit_mr.ttf: "Lohit Marathi" "Regular"
Additional info:
From a debug log:
FcConfigSubstitute test pattern any lang Contains "mr" FcLangSet mr-in contains mr Missing bitmap ku-am No match
I'm not really sure why fontconfig refers ku-am map here but apparently it looks like fontconfig doesn't know what mr-in is.
Anyway, if no explicit lang pattern is given and applications calls FcDefaultSubstitute(), lang will be set like mr-in from current locale mr_IN.UTF-8 say.
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=518161
--- Comment #1 from Behdad Esfahbod besfahbo@redhat.com 2009-08-19 13:05:36 EDT --- Upstream please.
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=518161
Akira TAGOH tagoh@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- External Bug ID| |FreeDesktop.org 23419
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=518161
Parag pnemade@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Blocks| |517635
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=518161
Matthias Clasen mclasen@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |mclasen@redhat.com
--- Comment #2 from Matthias Clasen mclasen@redhat.com 2009-08-29 00:33:57 EDT --- Behdad, this is fixed now, no ?
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=518161
--- Comment #3 from Behdad Esfahbod besfahbo@redhat.com 2009-08-30 16:51:58 EDT --- Fixed as far as I'm concerned. I can't get any of the reporters to confirm it though.
Not in a release yet. I'll make a fontconfig release with the fix today.
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=518161
--- Comment #4 from Parag pnemade@redhat.com 2009-08-31 05:18:51 EDT --- waiting for upstream release as well as Fedora release and yes I am still not sure about this fix. I thought someone will explain what is difference between "fc-match" and "fc-match :lang=mr" commands when executed in mr_IN locale. But anyway I have reported one more upstream bug 23601.
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=518161
--- Comment #5 from Parag pnemade@redhat.com 2009-08-31 05:19:46 EDT --- FYI, we have pushed fontconfig rules for lohit-fonts in rawhide now.
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=518161
--- Comment #6 from Behdad Esfahbod besfahbo@redhat.com 2009-08-31 15:06:42 EDT --- (In reply to comment #4)
waiting for upstream release as well as Fedora release
So you want me to make a release and push in Fedora, just so you can test the fix and possibly tell me it's not working?
and yes I am still not sure about this fix.
Then just try it and become sure.
I thought someone will explain what is difference between "fc-match" and "fc-match :lang=mr" commands when executed in mr_IN locale.
As I said upstream numerous times, I have major issues understanding what you were reporting.
But anyway I have reported one more upstream bug 23601.
More bugs don't fix anything in themselves.
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=518161
--- Comment #7 from Behdad Esfahbod besfahbo@redhat.com 2009-08-31 17:58:09 EDT --- Built for f11 and devel. Pushing update out on f11. Not sure if I should make any request for f12.
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=518161
--- Comment #8 from Fedora Update System updates@fedoraproject.org 2009-08-31 17:59:10 EDT --- fontconfig-2.7.2-1.fc11 has been submitted as an update for Fedora 11. http://admin.fedoraproject.org/updates/fontconfig-2.7.2-1.fc11
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=518161
--- Comment #9 from Parag pnemade@redhat.com 2009-09-01 00:12:14 EDT --- Thanks and now we can see some more input for further request/bug based on new fontconfig release. we have also got new lohit-fonts with fontconfig rules in rawhide now. So I will test and report back here.
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=518161
Fedora Update System updates@fedoraproject.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ON_QA
--- Comment #10 from Fedora Update System updates@fedoraproject.org 2009-09-01 14:08:27 EDT --- fontconfig-2.7.2-1.fc11 has been pushed to the Fedora 11 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 fontconfig'. You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F11/FEDORA-2009-9225
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=518161
--- Comment #11 from Parag pnemade@redhat.com 2009-09-01 23:16:27 EDT --- I confirm my comment #4. fc-match command failed to show "Lohit Marathi" in Marathi locale.
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=518161
Jens Petersen petersen@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |petersen@redhat.com Flag| |needinfo?(tagoh@redhat.com)
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=518161
Jens Petersen petersen@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|ON_QA |ASSIGNED
--- Comment #13 from Jens Petersen petersen@redhat.com 2010-11-03 22:58:41 EDT --- Any better with current fontconfig-2.8.0 packages?
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=518161
Jens Petersen petersen@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Flag| |needinfo?(pnemade@redhat.co | |m)
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=518161
--- Comment #14 from Bug Zapper fedora-triage-list@redhat.com 2010-11-04 06:27:30 EDT ---
This message is a reminder that Fedora 12 is nearing its end of life. Approximately 30 (thirty) days from now Fedora will stop maintaining and issuing updates for Fedora 12. It is Fedora's policy to close all bug reports from releases that are no longer maintained. At that time this bug will be closed as WONTFIX if it remains open with a Fedora 'version' of '12'.
Package Maintainer: If you wish for this bug to remain open because you plan to fix it in a currently maintained version, simply change the 'version' to a later Fedora version prior to Fedora 12's end of life.
Bug Reporter: Thank you for reporting this issue and we are sorry that we may not be able to fix it before Fedora 12 is end of life. If you would still like to see this bug fixed and are able to reproduce it against a later version of Fedora please change the 'version' of this bug to the applicable version. If you are unable to change the version, please add a comment here and someone will do it for you.
Although we aim to fix as many bugs as possible during every release's lifetime, sometimes those efforts are overtaken by events. Often a more recent Fedora release includes newer upstream software that fixes bugs or makes them obsolete.
The process we are following is described here: http://fedoraproject.org/wiki/BugZappers/HouseKeeping
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=518161
Akira TAGOH tagoh@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |CLOSED Resolution| |CURRENTRELEASE Flag|needinfo?(tagoh@redhat.com) | |, | |needinfo?(pnemade@redhat.co | |m) | Last Closed| |2010-11-24 00:16:25
--- Comment #15 from Akira TAGOH tagoh@redhat.com 2010-11-24 00:16:25 EST --- Since lohit-hindi-fonts and lohit-marathi-fonts merged into lohit-devanagari-fonts, I have no idea to reproduce this. even though lohit-devanagari-fonts still uses "contains" in their config file, I don't see "Missing bitmap" message in Additional Info at comment#0 at least on rawhide.
So let's close this so far and reopen if it still has any issues.
Thanks,
fonts-bugs@lists.fedoraproject.org