Bug 101875 - Fontconfig in Fedora 26 has an error in ~/.fonts.conf file- multiple entries
Summary: Fontconfig in Fedora 26 has an error in ~/.fonts.conf file- multiple entries
Status: RESOLVED NOTABUG
Alias: None
Product: fontconfig
Classification: Unclassified
Component: conf (show other bugs)
Version: 2.12
Hardware: x86-64 (AMD64) Linux (All)
: medium major
Assignee: fontconfig-bugs
QA Contact: Behdad Esfahbod
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-07-22 09:19 UTC by Bob Moore
Modified: 2017-07-23 10:49 UTC (History)
2 users (show)

See Also:
i915 platform:
i915 features:


Attachments
text file displaying errors in fonts.conf file (5.78 KB, text/plain)
2017-07-22 09:19 UTC, Bob Moore
Details
face-smile.png (1.03 KB, image/png)
2017-07-22 18:22 UTC, Bob Moore
Details

Description Bob Moore 2017-07-22 09:19:11 UTC
Created attachment 132827 [details]
text file displaying errors in fonts.conf file

This error is preventing Adobe Reader from working due to the fault in ~/.fonts.conf file

It also affects font display in Evolution. Maybe other programs as well, haven't come across any others yet.
Comment 1 Akira TAGOH 2017-07-22 11:30:11 UTC
Fix your erroneous fonts.conf as the log said. you have to have separate expressions for them. e.g. if it is intent to AND, you have to have some test elements in a match. if it is OR, you have to have separate match elements for test.
Comment 2 Bob Moore 2017-07-22 18:22:55 UTC
Created attachment 132832 [details]
face-smile.png

I understand that it needs separate test elements, but this is a file
that was installed as part of the upgrade from Fedora 25 to 26.

Therefore surely it should have been correct from the start?

I am not expert enough to correct this fault, which is why I reported
it... :-)


On Sat, 2017-07-22 at 11:30 +0000, bugzilla-daemon@freedesktop.org
wrote:
>  Akira TAGOH
>  changed
>           bug 101875
>           
> 
>              
>           
>             What
>             Removed
>             Added
>           
> 
>          
>            CC
>            
>                 
>            
>            akira@tagoh.org
>            
>          
> 
>          
>            Resolution
>            ---
>            
>            NOTABUG
>            
>          
> 
>          
>            Status
>            NEW
>            
>            RESOLVED
>            
>          
>       
>         
>             Comment # 1
>               on bug 101875
>               from  Akira TAGOH
> 
>         Fix your erroneous fonts.conf as the log said. you have to
> have separate
> expressions for them. e.g. if it is intent to AND, you have to have
> some test
> elements in a match. if it is OR, you have to have separate match
> elements for
> test.
>         
>       
> 
> 
>       
>       You are receiving this mail because:
> 
>       
>           You reported the bug.
>           You are on the CC list for the bug.
>       
>     
>
Comment 3 Akira TAGOH 2017-07-23 10:49:30 UTC
The fontconfig package won't install any files on the userspace. if you are suspecting, see scriptlet on fontconfig. though fontconfig itself may moves config files when it was placed on the older space but it was happened on f18 lifetime. see https://fedoraproject.org/wiki/Features/Fontconfig2.10

Anyway if you aren't sure where it was coming from, there might be some clue in those files. ask those to corrct it.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.