Bug 837530 - Malformed fontconfig config file
Summary: Malformed fontconfig config file
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: motoya-lcedar-fonts
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Akira TAGOH
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-07-04 07:52 UTC by Akira TAGOH
Modified: 2012-07-04 09:43 UTC (History)
3 users (show)

Fixed In Version: motoya-lcedar-fonts-1.00-0.5.20110406git.fc18
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-07-04 09:43:15 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Akira TAGOH 2012-07-04 07:52:32 UTC
Description of problem:

Still no changes in the behavior in the latest version of fontconfig,
but it now warns when <test> contains multiple values or <alias> contains
multiple <family>s. this is because the behavior isn't intuitive and
doesn't work as expected necessarily. So you better consider to fix it
to make clearer what you want to do with it.

For solution, if you are expecting OR operator with that rule, add more
<match>s or <alias>es. if you are expecting AND operator with that rule,
just add more <test>s in that <match>.

Version-Release number of selected component (if applicable):
motoya-lcedar-fonts-1.00-0.4.20110406git.fc17.src.rpm

How to reproducible:
always

Steps to Reproduce:
1. install the fonts package
2. fc-match

Actual results:
Fontconfig warning: "/etc/fonts/conf.d/65-4-motoya-lcedar.conf", line 16: Having multiple values in <test> isn't supported and may not works as expected

Expected results:
no warnings

Comment 1 Akira TAGOH 2012-07-04 09:43:15 UTC
Fixed in motoya-lcedar-fonts-1.00-0.5.20110406git.fc18


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