summaryrefslogtreecommitdiff
path: root/fonts/conf.d/10-scale-bitmap-fonts.conf
diff options
context:
space:
mode:
authorouwou <26526779+ouwou@users.noreply.github.com>2021-11-28 22:48:30 -0500
committerouwou <26526779+ouwou@users.noreply.github.com>2021-11-28 22:48:30 -0500
commite1703aea3fd597b23bde90e6c505278c517be611 (patch)
tree37d98fc90c9cd0844388bfb79beda2204f44af92 /fonts/conf.d/10-scale-bitmap-fonts.conf
parentfd53a76bf6f53a095a639765923a30f2206b2cd6 (diff)
parente02107feea8214a045e6faa969f00dcbc0d2b072 (diff)
downloadabaddon-portaudio-e1703aea3fd597b23bde90e6c505278c517be611.tar.gz
abaddon-portaudio-e1703aea3fd597b23bde90e6c505278c517be611.zip
merge master
Diffstat (limited to 'fonts/conf.d/10-scale-bitmap-fonts.conf')
-rw-r--r--fonts/conf.d/10-scale-bitmap-fonts.conf80
1 files changed, 0 insertions, 80 deletions
diff --git a/fonts/conf.d/10-scale-bitmap-fonts.conf b/fonts/conf.d/10-scale-bitmap-fonts.conf
deleted file mode 100644
index b20b52e..0000000
--- a/fonts/conf.d/10-scale-bitmap-fonts.conf
+++ /dev/null
@@ -1,80 +0,0 @@
-<?xml version="1.0"?>
-<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
-<fontconfig>
-
-<!--
- 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="outline" compare="eq">
- <bool>false</bool>
- </test>
- <edit name="pixelsizefixupfactor" mode="assign">
- <double>0.15</double>
- </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>
- <name>pixelsizefixupfactor</name>
- <double>1.2</double>
- </less>
- <more>
- <name>pixelsizefixupfactor</name>
- <double>0.8</double>
- </more>
- </and>
- </edit>
-</match>
-<match target="font">
- <test name="scalingnotneeded" compare="eq">
- <bool>true</bool>
- </test>
- <edit name="pixelsizefixupfactor" mode="assign">
- <double>1.0</double>
- </edit>
-</match>
-<!--
- If we *are* going to scale, go ahead and do it.
- -->
-<match target="font">
- <test name="outline" compare="eq">
- <bool>false</bool>
- </test>
- <test name="pixelsizefixupfactor" compare="not_eq">
- <double>1.0</double>
- </test>
- <edit name="matrix" mode="assign">
- <times>
- <name>matrix</name>
- <matrix>
- <name>pixelsizefixupfactor</name> <double>0</double>
- <double>0</double> <name>pixelsizefixupfactor</name>
- </matrix>
- </times>
- </edit>
- <edit name="size" mode="assign">
- <divide>
- <name>size</name>
- <name>pixelsizefixupfactor</name>
- </divide>
- </edit>
-</match>
-
-</fontconfig>