Bug 6806

Summary: fontconfig-using applications emit many warnings on the console
Product: Mageia Reporter: Shlomi Fish <shlomif>
Component: RPM PackagesAssignee: Mageia Bug Squad <bugsquad>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: Normal CC: fundawang
Version: Cauldron   
Target Milestone: Mageia 3   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Source RPM: fontconfig-2.10-2.mga3.src.rpm CVE:
Status comment:
Bug Depends on:    
Bug Blocks: 6919, 6938    

Description Shlomi Fish 2012-07-17 17:27:47 CEST
Description of problem:

When I'm running fontconfig-using applications such as gedit, gvim or konqueror, then fontconfig emits many warnings:

[SHELL]
shlomif@telaviv1:~$ gvim
Fontconfig warning: "/etc/fonts/conf.d/20-mdv-CJK-dualwidth.conf", line 17: Having multiple values in <test> isn't supported and may not works as expected
Fontconfig warning: "/etc/fonts/conf.d/25-mdv-CJK-disable-hinting.conf", line 15: Having multiple values in <test> isn't supported and may not works as expected
Fontconfig warning: "/etc/fonts/conf.d/50-user.conf", line 9: reading configurations from ~/.fonts.conf is deprecated.
Fontconfig warning: "/etc/fonts/conf.d/85-wqy-bitmapsong.conf", line 33: Having multiple values in <test> isn't supported and may not works as expected
Fontconfig warning: "/etc/fonts/conf.d/85-wqy-bitmapsong.conf", line 52: Having multiple values in <test> isn't supported and may not works as expected
[/SHELL]

Version-Release number of selected component (if applicable):

Cauldron.

How reproducible:

Always.

Steps to Reproduce:
1. Run gvim, gedit or konqueror from a terminal.
Manuel Hiebel 2012-07-18 00:09:05 CEST

CC: (none) => fundawang

Comment 1 Shlomi Fish 2012-07-31 07:28:03 CEST
@fundawang : can you please take a look at this bug? It is very annoying.
Comment 2 Funda Wang 2012-07-31 08:55:51 CEST
I've removed those two files, which are not used any more for recent distros.

For /etc/fonts/conf.d/50-user.conf, it is sipped by upstream. The warning is wanted. Please move your ~/fonts.conf to ~/.config/fontconfig/fonts.conf

Status: NEW => RESOLVED
Resolution: (none) => FIXED

Comment 3 Shlomi Fish 2012-07-31 13:20:49 CEST
@fundawang: thanks! However, I still have one warning left (with the latest fontconfig):

[SHELL]
shlomif@telaviv1:~$ rpm -q fontconfig
fontconfig-2.10.1-2.mga3
shlomif@telaviv1:~$ gvim
Fontconfig warning: "/etc/fonts/conf.d/25-mdv-CJK-disable-hinting.conf", line 15: Having multiple values in <test> isn't supported and may not works as expected
shlomif@telaviv1:~$ 
[/SHELL]

Can we get rid of it as well?

Status: RESOLVED => REOPENED
Resolution: FIXED => (none)

Manuel Hiebel 2012-08-03 00:22:43 CEST

Blocks: (none) => 6919, 6938
Target Milestone: --- => Mageia 3

Comment 4 Shlomi Fish 2012-08-06 17:48:11 CEST
The last warning was removed, so closing.

Status: REOPENED => RESOLVED
Resolution: (none) => FIXED