You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
141 lines
3.8 KiB
Plaintext
141 lines
3.8 KiB
Plaintext
11 months ago
|
<?xml version='1.0'?>
|
||
|
<!DOCTYPE fontconfig SYSTEM 'urn:fontconfig:fonts.dtd'>
|
||
|
<fontconfig>
|
||
|
<!--
|
||
|
Artificial oblique for fonts without an italic or oblique version
|
||
|
-->
|
||
|
<match target="font">
|
||
|
<!-- check to see if the font is roman -->
|
||
|
<test name="slant">
|
||
|
<const>roman</const>
|
||
|
</test>
|
||
|
<!-- check to see if the pattern requested non-roman -->
|
||
|
<test target="pattern" compare="not_eq" name="slant">
|
||
|
<const>roman</const>
|
||
|
</test>
|
||
|
<!-- multiply the matrix to slant the font -->
|
||
|
<edit name="matrix" mode="assign">
|
||
|
<times>
|
||
|
<name>matrix</name>
|
||
|
<matrix>
|
||
|
<double>1</double>
|
||
|
<double>0.2</double>
|
||
|
<double>0</double>
|
||
|
<double>1</double>
|
||
|
</matrix>
|
||
|
</times>
|
||
|
</edit>
|
||
|
<!-- pretend the font is oblique now -->
|
||
|
<edit name="slant" mode="assign">
|
||
|
<const>oblique</const>
|
||
|
</edit>
|
||
|
<!-- and disable embedded bitmaps for artificial oblique -->
|
||
|
<edit name="embeddedbitmap" mode="assign">
|
||
|
<bool>false</bool>
|
||
|
</edit>
|
||
|
</match>
|
||
|
<!--
|
||
|
Synthetic emboldening for fonts that do not have bold face available
|
||
|
-->
|
||
|
<match target="font">
|
||
|
<!-- check to see if the weight in the font is less than medium which possibly need emboldening -->
|
||
|
<test compare="less_eq" name="weight">
|
||
|
<const>medium</const>
|
||
|
</test>
|
||
|
<!-- check to see if the pattern requests bold -->
|
||
|
<test target="pattern" compare="more_eq" name="weight">
|
||
|
<const>bold</const>
|
||
|
</test>
|
||
|
<!--
|
||
|
set the embolden flag
|
||
|
needed for applications using cairo, e.g. gucharmap, gedit, ...
|
||
|
-->
|
||
|
<edit name="embolden" mode="assign">
|
||
|
<bool>true</bool>
|
||
|
</edit>
|
||
|
<!--
|
||
|
set weight to bold
|
||
|
needed for applications using Xft directly, e.g. Firefox, ...
|
||
|
-->
|
||
|
<edit name="weight" mode="assign">
|
||
|
<const>bold</const>
|
||
|
</edit>
|
||
|
</match>
|
||
|
<match target="font">
|
||
|
<edit name="hinting" mode="assign">
|
||
|
<bool>true</bool>
|
||
|
</edit>
|
||
|
</match>
|
||
|
<match target="font">
|
||
|
<edit name="hintstyle" mode="assign">
|
||
|
<const>hintslight</const>
|
||
|
</edit>
|
||
|
</match>
|
||
|
<dir>~/.fonts</dir>
|
||
10 months ago
|
<match target="pattern">
|
||
|
<test qual="any" name="family">
|
||
|
<string>sans-serif</string>
|
||
|
</test>
|
||
|
<edit binding="same" name="family" mode="assign">
|
||
|
<string>Lexend</string>
|
||
|
</edit>
|
||
|
</match>
|
||
11 months ago
|
<match target="pattern">
|
||
|
<test qual="any" name="family">
|
||
|
<string>monospace</string>
|
||
|
</test>
|
||
|
<edit binding="same" name="family" mode="assign">
|
||
|
<string>Fira Code</string>
|
||
|
</edit>
|
||
|
<edit binding="weak" name="family" mode="append">
|
||
|
<string>Symbols Nerd Font</string>
|
||
|
</edit>
|
||
10 months ago
|
<edit binding="weak" name="family" mode="append">
|
||
|
<string>Broot Icons Visual Studio Code</string>
|
||
|
</edit>
|
||
11 months ago
|
<edit binding="weak" name="family" mode="append">
|
||
|
<string>JoyPixels</string>
|
||
|
</edit>
|
||
|
<edit binding="weak" name="family" mode="append">
|
||
|
<string>Braille</string>
|
||
|
</edit>
|
||
|
</match>
|
||
|
<match target="pattern">
|
||
|
<test qual="any" name="family">
|
||
|
<string>ui-monospace</string>
|
||
|
</test>
|
||
|
<edit binding="same" name="family" mode="assign">
|
||
|
<string>Fira Code</string>
|
||
|
</edit>
|
||
|
<edit binding="weak" name="family" mode="append">
|
||
|
<string>Symbols Nerd Font</string>
|
||
|
</edit>
|
||
10 months ago
|
<edit binding="weak" name="family" mode="append">
|
||
|
<string>Broot Icons Visual Studio Code</string>
|
||
|
</edit>
|
||
11 months ago
|
<edit binding="weak" name="family" mode="append">
|
||
|
<string>JoyPixels</string>
|
||
|
</edit>
|
||
|
<edit binding="weak" name="family" mode="append">
|
||
|
<string>Braille</string>
|
||
|
</edit>
|
||
|
</match>
|
||
|
<match target="pattern">
|
||
|
<test qual="any" name="family">
|
||
|
<string>emoji</string>
|
||
|
</test>
|
||
|
<edit binding="same" name="family" mode="assign">
|
||
|
<string>Symbols Nerd Font</string>
|
||
|
</edit>
|
||
10 months ago
|
<edit binding="weak" name="family" mode="append">
|
||
|
<string>Broot Icons Visual Studio Code</string>
|
||
|
</edit>
|
||
11 months ago
|
<edit binding="weak" name="family" mode="append">
|
||
|
<string>JoyPixels</string>
|
||
|
</edit>
|
||
|
<edit binding="weak" name="family" mode="append">
|
||
|
<string>Braille</string>
|
||
|
</edit>
|
||
|
</match>
|
||
|
</fontconfig>
|