[OpenIndiana-discuss] Fonts errors on GIMP start up

russell stream at willows7.myzen.co.uk
Sat Sep 27 05:40:48 UTC 2025


Hi

GIMP is reporting the following fonts errors on startup

Fontconfig warning: 
"/etc/fonts/conf.avail/25-ttf-arphic-uming-bitmaps.conf", line 11: 
Having multiple values in <test> isn't supported and may not work as 
expected

Fontconfig warning: "/etc/fonts/conf.avail/41-ttf-arphic-uming.conf", 
line 16: Having multiple <family> in <alias> isn't supported and may not 
work as expected

Looking at the files below

$ more 25-ttf-arphic-uming-bitmaps.conf
<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>

         <match target="font">
           <test name="family">
           <string>AR PL UMing CN</string>
           <string>AR PL UMing HK</string>
           <string>AR PL UMing TW</string>
           <string>AR PL UMing TW MBE</string>
           </test>
           <edit name="antialias"><bool>false</bool></edit>
           <edit name="hinting"><bool>true</bool></edit>
           <edit name="autohint"><bool>false</bool></edit>
         </match>

         <match target="font">
           <test name="family">
           <string>AR PL UMing CN</string>
           <string>AR PL UMing HK</string>
           <string>AR PL UMing TW</string>
           <string>AR PL UMing TW MBE</string>
           </test>
           <test name="pixelsize" compare="more_eq"><int>17</int></test>
           <edit name="antialias" mode="assign"><bool>true</bool></edit>
           <edit name="hinting" mode="assign"><bool>true</bool></edit>
         </match>

</fontconfig>

Is 25-ttf-arphic-uming-bitmaps.conf badly configured or is there an 
issue with GIMP?

$ more 41-ttf-arphic-uming.conf
<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>

<!--
   Serif faces
  -->
         <alias>
                 <family>AR PL ShanHeiSun Uni</family>
                 <family>AR PL ShanHeiSun Uni MBE</family>
                 <family>AR PL UMing CN</family>
                 <family>AR PL UMing HK</family>
                 <family>AR PL UMing TW</family>
                 <family>AR PL UMing TW MBE</family>
<default><family>serif</family></default>
         </alias>
<!--
   Sans-serif faces
  -->
         <alias>
                 <family>AR PL ShanHeiSun Uni</family>
                 <family>AR PL ShanHeiSun Uni MBE</family>
                 <family>AR PL UMing CN</family>
                 <family>AR PL UMing HK</family>
                 <family>AR PL UMing TW</family>
                 <family>AR PL UMing TW MBE</family>
<default><family>sans-serif</family></default>
         </alias>
<!--
   Monospace faces
  -->
         <alias>
                 <family>AR PL ShanHeiSun Uni</family>
                 <family>AR PL ShanHeiSun Uni MBE</family>
                 <family>AR PL UMing CN</family>
                 <family>AR PL UMing HK</family>
                 <family>AR PL UMing TW</family>
                 <family>AR PL UMing TW MBE</family>
<default><family>monospace</family></default>
         </alias>
</fontconfig>

Is the 41-ttf-arphic-uming.conf configured this way to work other 
applications?

Russell


More information about the openindiana-discuss mailing list