how to modify the `variable` property?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]


[Fontconfig version 2.14.1]

For technical reasons I want to reject OpenType Variation Fonts
completely.  This means that I also want to reject named instances,
that is, fonts with a face index larger than 0xFFFF (which Fontconfig
tags as non-variable).  I added the following to my
`.config/fontconfig/fonts.conf` file

  <!-- set 'variable' property to 'true' for named instances -->
  <match target="font">
    <test name="index" compare="more">
    <edit name="variable" mode="assign">

  <!-- reject variation fonts -->
        <patelt name="variable"><bool>true</bool></patelt>

but the `<match>` block has no effect.  Please help.


[Index of Archives]     [Fedora Fonts]     [Fedora Users]     [Fedora Cloud]     [Kernel]     [Fedora Packaging]     [Fedora Desktop]     [PAM]     [Gimp Graphics Editor]     [Yosemite News]

  Powered by Linux