rendered paste bodyOnly in /tmp/1/etc/fonts/conf.d: 30-urw-aliases.conf
Only in /tmp/2/etc/fonts/conf.d: 45-generic.conf
Only in /tmp/2/etc/fonts/conf.d: 60-generic.conf
diff -ru /tmp/1/etc/fonts/fonts.conf /tmp/2/etc/fonts/fonts.conf
--- /tmp/1/etc/fonts/fonts.conf 2016-08-24 15:21:57.000000000 +0300
+++ /tmp/2/etc/fonts/fonts.conf 2018-05-14 11:32:10.000000000 +0300
Binary files /tmp/1/usr/share/doc/fontconfig-config/changelog.Debian.gz and /tmp/2/usr/share/doc/fontconfig-config/changelog.Debian.gz differ
Binary files /tmp/1/usr/share/doc/fontconfig-config/changelog.gz and /tmp/2/usr/share/doc/fontconfig-config/changelog.gz differ
Only in /tmp/2/usr/share/doc/fontconfig-config: NEWS.Debian.gz
Only in /tmp/1/usr/share/doc/fontconfig-config: README.gz
Only in /tmp/2/usr/share/fontconfig/conf.avail: 10-hinting-full.conf
Only in /tmp/2/usr/share/fontconfig/conf.avail: 10-hinting-medium.conf
Only in /tmp/2/usr/share/fontconfig/conf.avail: 10-hinting-none.conf
Only in /tmp/2/usr/share/fontconfig/conf.avail: 10-hinting-slight.conf
diff -ru /tmp/1/usr/share/fontconfig/conf.avail/10-scale-bitmap-fonts.conf /tmp/2/usr/share/fontconfig/conf.avail/10-scale-bitmap-fonts.conf
--- /tmp/1/usr/share/fontconfig/conf.avail/10-scale-bitmap-fonts.conf 2016-08-24 15:21:57.000000000 +0300
+++ /tmp/2/usr/share/fontconfig/conf.avail/10-scale-bitmap-fonts.conf 2018-05-14 11:32:10.000000000 +0300
@@ -1,9 +1,18 @@
<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
+ <its:rules xmlns:its="http://www.w3.org/2005/11/its" version="1.0">
+ <its:translateRule translate="no" selector="/fontconfig/*[not(self::description)]"/>
+ </its:rules>
+ <description>Bitmap scaling</description>
+<!--
+ If font is bitmap, calculate scale factor.
+ Note that color bitmap fonts have scalable=true, while
+ non-color ones have scalable=false. Both groups have outline=false.
+ -->
<match target="font">
- <test name="scalable" compare="eq">
+ <test name="outline" compare="eq">
<bool>false</bool>
</test>
<edit name="pixelsizefixupfactor" mode="assign">
@@ -13,10 +22,20 @@
</divide>
</edit>
</match>
+<!--
+ For non-scalable bitmap fonts (ie. non-color), skip
+ minor scaling if hinting is enabled.
+ -->
<match target="font">
+ <test name="outline" compare="eq">
+ <bool>false</bool>
+ </test>
<test name="scalable" compare="eq">
<bool>false</bool>
</test>
+ <test name="hinting" compare="eq">
+ <bool>true</bool>
+ </test>
<edit name="scalingnotneeded" mode="assign">
<and>
<less>
@@ -30,20 +49,7 @@
</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>
@@ -55,7 +61,7 @@
If we *are* going to scale, go ahead and do it.
-->
<match target="font">
- <test name="scalable" compare="eq">
+ <test name="outline" compare="eq">
<bool>false</bool>
</test>
<test name="pixelsizefixupfactor" compare="not_eq">
diff -ru /tmp/1/usr/share/fontconfig/conf.avail/30-metric-aliases.conf /tmp/2/usr/share/fontconfig/conf.avail/30-metric-aliases.conf
--- /tmp/1/usr/share/fontconfig/conf.avail/30-metric-aliases.conf 2016-08-24 15:21:57.000000000 +0300
+++ /tmp/2/usr/share/fontconfig/conf.avail/30-metric-aliases.conf 2018-05-14 11:32:10.000000000 +0300
... font names changed ...
Only in /tmp/1/usr/share/fontconfig/conf.avail: 30-urw-aliases.conf
Only in /tmp/2/usr/share/fontconfig/conf.avail: 45-generic.conf
Only in /tmp/2/usr/share/fontconfig/conf.avail: 60-generic.conf
diff -ru /tmp/1/usr/share/fontconfig/conf.avail/90-synthetic.conf /tmp/2/usr/share/fontconfig/conf.avail/90-synthetic.conf
--- /tmp/1/usr/share/fontconfig/conf.avail/90-synthetic.conf 2016-08-24 15:21:57.000000000 +0300
+++ /tmp/2/usr/share/fontconfig/conf.avail/90-synthetic.conf 2018-05-14 11:32:10.000000000 +0300
@@ -40,11 +44,11 @@
<match target="font">
<!-- check to see if the font is just regular -->
<test name="weight" compare="less_eq">
- <const>medium</const>
+ <const>regular</const>
</test>
<!-- check to see if the pattern requests bold -->
- <test target="pattern" name="weight" compare="more">
- <const>medium</const>
+ <test target="pattern" name="weight" compare="more_eq">
+ <const>bold</const>
</test>
<!--
set the embolden flag