2019-07-29 11:38:51 +02:00
|
|
|
<?xml version="1.0"?>
|
2020-03-28 15:01:35 +01:00
|
|
|
<!DOCTYPE fontconfig SYSTEM "urn:fontconfig:fonts.dtd">
|
2019-07-29 11:38:51 +02:00
|
|
|
<fontconfig>
|
|
|
|
<description>Enable autohinter if font doesn't have any hinting</description>
|
|
|
|
<!-- Use the Autohinter -->
|
|
|
|
<match target="font">
|
|
|
|
<test name="fonthashint"><bool>false</bool></test>
|
|
|
|
<!--
|
2021-06-25 14:30:08 +02:00
|
|
|
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.
|
2019-07-29 11:38:51 +02:00
|
|
|
-->
|
|
|
|
<edit name="autohint" mode="append"><bool>true</bool></edit>
|
|
|
|
</match>
|
|
|
|
</fontconfig>
|