Hi again,

Am 17.01.23 um 18:28 schrieb Rene Engelhard:
I tried to adapt the test to expected values but failed. When I adapt some values stuff even further breaks, and at the 50% test I then had no idea what to do.)

LO has already a fc_local.conf:

./instdir/share/fonts/truetype/fc_local.conf

but when I add the stuff from the patch  there

rene@frodo:~/Debian/Pakete/LibreOffice/libreoffice/libreoffice-7.4.4.2$ cat ./instdir/share/fonts/truetype/fc_local.conf
<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "/etc/fonts/conf.d/fonts.dtd">
<fontconfig>
<match target="pattern">
  <test name="family"><string>Symbol</string></test>
  <edit name="family" mode="append" binding="same">
    <string>OpenSymbol</string>
  </edit>
</match>
              <match target="font">
                <!--
This sort of configuration is available on the major desktop environments and we don't have to break it with "assign" unconditionally. however, we want to set something for others. So we use "append" here to get this working in both cases so that most clients would takes a look at the first place only.
                -->
                <test name="desktop" compare="contains">
                  <string>KDE</string>
                </test>
<edit name="rgba" mode="append"><const>rgb</const></edit>
              </match>
</fontconfig>

it still fails. Probably it ignores it since it's already set in /etc and that already matches?

Regards,


Rene

Reply via email to