Bug 70258 - Fontconfig error: "/etc/fonts/conf.d/10-scale-bitmap-fonts.conf", line 70: non-double matrix element
Summary: Fontconfig error: "/etc/fonts/conf.d/10-scale-bitmap-fonts.conf", line 70: no...
Status: RESOLVED NOTOURBUG
Alias: None
Product: fontconfig
Classification: Unclassified
Component: conf (show other bugs)
Version: 2_1
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: fontconfig-bugs
QA Contact: Behdad Esfahbod
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-10-07 22:25 UTC by Thomas Kowaliczek
Modified: 2015-03-25 11:10 UTC (History)
2 users (show)

See Also:
i915 platform:
i915 features:


Attachments

Description Thomas Kowaliczek 2013-10-07 22:25:36 UTC
I get this warnings when i start steam under Arch Linux:

Fontconfig error: "/etc/fonts/conf.d/10-scale-bitmap-fonts.conf", line 70: non-double matrix element
Fontconfig error: "/etc/fonts/conf.d/10-scale-bitmap-fonts.conf", line 70: non-double matrix element
Fontconfig warning: "/etc/fonts/conf.d/10-scale-bitmap-fonts.conf", line 78: saw unknown, expected number

Arch Linux Bug Link:

https://bugs.archlinux.org/index.php?do=details&task_id=35039&action=details.add_notification&ids=35039&user_id=3519

fontconfig version: 2.10.95-1
Comment 1 Akira TAGOH 2013-10-08 03:04:04 UTC
works for me.
That is most likely happens if applications links older fontconfig statically/dynamically.

Please update that app to link to the right one or simply disable that config if you don't need it.
Comment 2 XorgBug 2014-05-17 01:26:07 UTC
I'm running Slackware 14.1 x86_64 that uses fontconfig-2.10.93 and I'm experiencing a similar issue when running the Steam client, this is the output I'm getting;

-----------------------------------

Fontconfig error: "/etc/fonts/conf.d/10-scale-bitmap-fonts.conf", line 70: non-double matrix element
Fontconfig error: "/etc/fonts/conf.d/10-scale-bitmap-fonts.conf", line 70: non-double matrix element
Fontconfig warning: "/etc/fonts/conf.d/10-scale-bitmap-fonts.conf", line 78: saw unknown, expected number

-----------------------------------


This is not an upstream bug?


Here is the contents of the 10-scale-bitmap-fonts.conf;

<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>

<match target="font">
  <test name="scalable" compare="eq">
    <bool>false</bool>
  </test>
  <edit name="pixelsizefixupfactor" mode="assign">
    <divide>
      <name target="pattern">pixelsize</name>
      <name target="font"   >pixelsize</name>
    </divide>
  </edit>
</match>
<match target="font">
  <test name="scalable" compare="eq">
    <bool>false</bool>
  </test>
  <edit name="scalingnotneeded" mode="assign">
    <and>
      <less>
        <name>pixelsizefixupfactor</name>
        <double>1.2</double>
      </less>
      <more>
        <name>pixelsizefixupfactor</name>
        <double>0.8</double>
      </more>
    </and>
  </edit>
</match>
<!--
  So far we determined the scale factor.  Now, check and if
  scaling is NOT desirable, just reset the scale factor to 1.0.
  -->
<match target="font">
  <test name="scalable" compare="eq">
    <bool>false</bool>
  </test>
  <test name="pixelsize" target="pattern" compare="less">
    <double>64</double>
  </test>
  <test name="hinting" compare="eq">
    <bool>true</bool>
  </test>
  <test name="scalingnotneeded" compare="eq">
    <bool>true</bool>
  </test>
  <edit name="pixelsizefixupfactor" mode="assign">
    <double>1.0</double>
  </edit>
</match>
<!--
  If we *are* going to scale, go ahead and do it.
  -->
<match target="font">
  <test name="scalable" compare="eq">
    <bool>false</bool>
  </test>
  <test name="pixelsizefixupfactor" compare="not_eq">
    <double>1.0</double>
  </test>
  <edit name="matrix" mode="assign">
    <times>
      <name>matrix</name>
      <matrix>
        <name>pixelsizefixupfactor</name> <double>0</double>
        <double>0</double> <name>pixelsizefixupfactor</name>
       </matrix>
    </times>
  </edit>
  <edit name="size" mode="assign">
    <divide>
      <name>size</name>
      <name>pixelsizefixupfactor</name>
    </divide>
  </edit>
</match>

</fontconfig>
Comment 3 Akira TAGOH 2014-05-19 03:38:45 UTC
Steam client has own runtime library of fontconfig, which is old and not supporting this feature. even if that error happens, it doesn't affect any functionality on that version. if you mind it, follow up the step at comment#1 as I already mentioned.
Comment 4 XorgBug 2014-05-20 01:01:03 UTC
At the time of my post I wasn't aware that Steam has an issue with this.


thanks
Comment 5 Tales 2015-03-25 01:53:43 UTC
(In reply to Akira TAGOH from comment #1)
> works for me.
> That is most likely happens if applications links older fontconfig
> statically/dynamically.
> 
> Please update that app to link to the right one or simply disable that
> config if you don't need it.

How exactly can I update the app to link to the right one?
Comment 6 Akira TAGOH 2015-03-25 03:39:26 UTC
(In reply to Tales from comment #5)
> (In reply to Akira TAGOH from comment #1)
> > works for me.
> > That is most likely happens if applications links older fontconfig
> > statically/dynamically.
> > 
> > Please update that app to link to the right one or simply disable that
> > config if you don't need it.
> 
> How exactly can I update the app to link to the right one?

No ABI changes in fontconfig. simply building the latest fontconfig and replace the library in Steam should works though.
Comment 7 Tales 2015-03-25 11:10:48 UTC
(In reply to Akira TAGOH from comment #6)
> (In reply to Tales from comment #5)
> > (In reply to Akira TAGOH from comment #1)
> > > works for me.
> > > That is most likely happens if applications links older fontconfig
> > > statically/dynamically.
> > > 
> > > Please update that app to link to the right one or simply disable that
> > > config if you don't need it.
> > 
> > How exactly can I update the app to link to the right one?
> 
> No ABI changes in fontconfig. simply building the latest fontconfig and
> replace the library in Steam should works though.

Thank you, Akira, for your patience. I am still not understanding, I am a newbie. : )


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.