Bug 6919 - fontconfig emits more warnings with google-droid-fonts installed
Summary: fontconfig emits more warnings with google-droid-fonts installed
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: Cauldron
Hardware: x86_64 Linux
Priority: Normal normal
Target Milestone: ---
Assignee: Mageia Bug Squad
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on: 6806
Blocks:
  Show dependency treegraph
 
Reported: 2012-07-31 18:00 CEST by Shlomi Fish
Modified: 2013-10-27 01:42 CEST (History)
6 users (show)

See Also:
Source RPM: google-droid-fonts-20100409-5.mga3.src.rpm
CVE:
Status comment:


Attachments
Demonstration of messages during install of original version (top) and then new version (2.75 KB, text/plain)
2013-10-27 01:42 CEST, Barry Jackson
Details

Description Shlomi Fish 2012-07-31 18:00:50 CEST
After I installed google-droid-fonts (required by the package "rt"), I am getting this when running gvim:

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
Fontconfig warning: "/etc/fonts/conf.d/65-google-droid-sans.conf", line 61: Having multiple values in <test> isn't supported and may not works as expected
Fontconfig warning: "/etc/fonts/conf.d/65-google-droid-sans.conf", line 96: Having multiple values in <test> isn't supported and may not works as expected

The CJK warning is always there (see https://bugs.mageia.org/show_bug.cgi?id=6806 ) but the other warnings are google-droid-* specific. Please fix them.
Comment 1 Shlomi Fish 2012-07-31 18:02:11 CEST
@fundawang: hi! I added you as the last committer on this package (and on fontconfig). Please look into fixing it.

CC: (none) => fundawang, shlomif

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

Depends on: (none) => 6806

Comment 2 Curtis Hildebrand 2012-10-18 18:40:03 CEST
My guess is that line 65 should be the same as line 55:

line 55:
    <test name="lang" compare="not_eq">

line 65:
    <test name="lang">

CC: (none) => curtis_mageia

Comment 3 Curtis Hildebrand 2012-10-23 04:36:23 CEST
(In reply to comment #2)
> My guess is that line 65 should be the same as line 55:

Scratch that... no difference.

The fix is to separate them into their own lines

  <match target="scan">
    <test name="lang">
      <string>zh-cn</string>
    </test>
    <test name="lang">
      <string>zh-sg</string>
    </test>
    <test name="lang">
      <string>zh-hk</string>
    </test>
    <test name="lang">
      <string>zh-tw</string>
    </test>
    <test name="lang">
      <string>zh</string>
    </test>


SOURCE:
http://www.infinality.net/forum/viewtopic.php?f=2&t=254&sid=18bbe719baaed47d7a9547866436d142 

http://ubuntuforums.org/showpost.php?p=12159762&postcount=13
Comment 4 Shlomi Fish 2012-10-23 12:20:13 CEST
(In reply to comment #3)
> (In reply to comment #2)
> > My guess is that line 65 should be the same as line 55:
> 
> Scratch that... no difference.
> 
> The fix is to separate them into their own lines
> 
>   <match target="scan">
>     <test name="lang">
>       <string>zh-cn</string>
>     </test>
>     <test name="lang">
>       <string>zh-sg</string>
>     </test>
>     <test name="lang">
>       <string>zh-hk</string>
>     </test>
>     <test name="lang">
>       <string>zh-tw</string>
>     </test>
>     <test name="lang">
>       <string>zh</string>
>     </test>
> 
> 
> SOURCE:
> http://www.infinality.net/forum/viewtopic.php?f=2&t=254&sid=18bbe719baaed47d7a9547866436d142 
> 
> http://ubuntuforums.org/showpost.php?p=12159762&postcount=13

Hi Curtis,

the problem is that we have a:

    <test name="lang" compare="not_eq">
      <string>zh-cn</string>
      <string>zh-sg</string>
      <string>zh-hk</string>
      <string>zh-tw</string>
      <string>zh</string>
    </test>

With a compare="not_eq". You converted it into tests without this compare attribute. What should they be?
Bit Twister 2013-03-15 14:56:46 CET

Source RPM: google-droid-fonts-20100409-3.mga2.src.rpm => google-droid-fonts-20100409-5.mga2.src.rpm

Bit Twister 2013-03-19 22:59:00 CET

CC: (none) => junk_no_spam
Source RPM: google-droid-fonts-20100409-5.mga2.src.rpm => google-droid-fonts-20100409-5.mga3.src.rpm

Comment 5 Ezequiel Partida 2013-05-21 17:59:08 CEST
This bug continues after final release. :-(

CC: (none) => ezequiel_partida

Bit Twister 2013-05-21 19:24:18 CEST

CC: junk_no_spam => (none)

Jehan Hysseo 2013-05-27 19:26:39 CEST

See Also: (none) => https://bugs.mageia.org/show_bug.cgi?id=7743
CC: (none) => jehan.marmottard

Comment 6 Barry Jackson 2013-10-27 01:21:05 CEST
Yes - it has gone on too long.
I have comitted a patched google-droid-fonts to Cauldron, please test when google-droid-sans-fonts-20100409-7.mga4.noarch.rpm is on the mirrors.

Closing as fixed - please feel free to re-open if any tests fail.

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

Comment 7 Barry Jackson 2013-10-27 01:42:44 CEST
Created attachment 4461 [details]
Demonstration of messages during install of original version (top) and then new version

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