1
0
mirror of https://github.com/alrayyes/dotfiles/ synced 2023-11-14 15:56:30 +00:00

cleaned up fonts.conf to get rid of validation errors

This commit is contained in:
Ryan Kes 2018-12-16 20:26:31 +01:00
parent 919f739629
commit 5d8602dc27

View File

@ -284,17 +284,36 @@
<match target="font"> <match target="font">
<test qual="any" name="family" compare="eq"> <test qual="any" name="family" compare="eq">
<string>Arial</string> <string>Arial</string>
</test>
<test qual="any" name="family" compare="eq">
<string>Arial Narrow</string> <string>Arial Narrow</string>
</test>
<test qual="any" name="family" compare="eq">
<string>Berling Antiqua</string> <string>Berling Antiqua</string>
</test>
<test qual="any" name="family" compare="eq">
<string>Book Antiqua</string> <string>Book Antiqua</string>
</test>
<test qual="any" name="family" compare="eq">
<string>Bookman Old Style</string> <string>Bookman Old Style</string>
</test>
<test qual="any" name="family" compare="eq">
<string>Garamond</string> <string>Garamond</string>
</test>
<test qual="any" name="family" compare="eq">
<!-- Lucida Console has no italic and uses artificial oblique --> <!-- Lucida Console has no italic and uses artificial oblique -->
<string>Lucida Console</string> <string>Lucida Console</string>
</test>
<test qual="any" name="family" compare="eq">
<string>Palatino Linotype</string> <string>Palatino Linotype</string>
</test>
<test qual="any" name="family" compare="eq">
<string>SylfaenARM</string> <string>SylfaenARM</string>
</test>
<test qual="any" name="family" compare="eq">
<string>Times New Roman</string> <string>Times New Roman</string>
</test> </test>
<test qual="any" name="pixelsize" compare="less_eq"> <test qual="any" name="pixelsize" compare="less_eq">
<double>17.4</double> <double>17.4</double>
</test> </test>
@ -315,6 +334,8 @@
<match target="font"> <match target="font">
<test qual="any" name="family" compare="eq"> <test qual="any" name="family" compare="eq">
<string>Century Gothic</string> <string>Century Gothic</string>
</test>
<test qual="any" name="family" compare="eq">
<string>Kartika</string> <string>Kartika</string>
</test> </test>
<test qual="any" name="pixelsize" compare="less_eq"> <test qual="any" name="pixelsize" compare="less_eq">
@ -400,6 +421,8 @@
<match target="font"> <match target="font">
<test qual="any" name="family" compare="eq"> <test qual="any" name="family" compare="eq">
<string>Tahoma</string> <string>Tahoma</string>
</test>
<test qual="any" name="family" compare="eq">
<string>Verdana</string> <string>Verdana</string>
</test> </test>
<test qual="any" name="pixelsize" compare="less_eq"> <test qual="any" name="pixelsize" compare="less_eq">
@ -464,22 +487,56 @@
<match target="font"> <match target="font">
<test qual="any" name="family" compare="eq"> <test qual="any" name="family" compare="eq">
<string>Bitstream Charter</string> <string>Bitstream Charter</string>
</test>
<test qual="any" name="family" compare="eq">
<string>Courier 10 Pitch</string> <string>Courier 10 Pitch</string>
</test>
<test qual="any" name="family" compare="eq">
<string>DejaVu Sans Condensed</string> <string>DejaVu Sans Condensed</string>
</test>
<test qual="any" name="family" compare="eq">
<string>DejaVu Serif Condensed</string> <string>DejaVu Serif Condensed</string>
</test>
<test qual="any" name="family" compare="eq">
<string>FreeMono</string> <string>FreeMono</string>
</test>
<test qual="any" name="family" compare="eq">
<string>FreeSans</string> <string>FreeSans</string>
</test>
<test qual="any" name="family" compare="eq">
<string>FreeSerif</string> <string>FreeSerif</string>
</test>
<test qual="any" name="family" compare="eq">
<string>Luxi Mono</string> <string>Luxi Mono</string>
</test>
<test qual="any" name="family" compare="eq">
<string>Luxi Sans</string> <string>Luxi Sans</string>
</test>
<test qual="any" name="family" compare="eq">
<string>Luxi Serif</string> <string>Luxi Serif</string>
</test>
<test qual="any" name="family" compare="eq">
<string>MgOpen Canonica</string> <string>MgOpen Canonica</string>
</test>
<test qual="any" name="family" compare="eq">
<string>MgOpen Cosmetica</string> <string>MgOpen Cosmetica</string>
</test>
<test qual="any" name="family" compare="eq">
<string>MgOpen Modata</string> <string>MgOpen Modata</string>
</test>
<test qual="any" name="family" compare="eq">
<string>MgOpen Moderna</string> <string>MgOpen Moderna</string>
</test>
<test qual="any" name="family" compare="eq">
<string>URW Bookman L</string> <string>URW Bookman L</string>
</test>
<test qual="any" name="family" compare="eq">
<string>URW Chancery L</string> <string>URW Chancery L</string>
</test>
<test qual="any" name="family" compare="eq">
<string>URW Gothic L</string> <string>URW Gothic L</string>
</test>
<test qual="any" name="family" compare="eq">
<string>URW Palladio L</string> <string>URW Palladio L</string>
</test> </test>
@ -544,11 +601,16 @@
<test qual="any" name="family" compare="eq"> <test qual="any" name="family" compare="eq">
<!-- 10, 11, 12 --> <!-- 10, 11, 12 -->
<string>Frutiger Linotype</string> <string>Frutiger Linotype</string>
</test>
<test qual="any" name="family" compare="eq">
<!-- 8-9: 'z', '2'; 10-15, 17, 19: 'z' --> <!-- 8-9: 'z', '2'; 10-15, 17, 19: 'z' -->
<string>Times New Roman</string> <string>Times New Roman</string>
</test>
<test qual="any" name="family" compare="eq">
<!-- 9-10: 'N' 'Q'; 12: 'w', 'C', 'D', 'O', 'Q', 'R', '2', '9', '0' --> <!-- 9-10: 'N' 'Q'; 12: 'w', 'C', 'D', 'O', 'Q', 'R', '2', '9', '0' -->
<string>Verdana</string> <string>Verdana</string>
</test> </test>
<test qual="any" name="weight" compare="less_eq"> <test qual="any" name="weight" compare="less_eq">
<const>medium</const> <const>medium</const>
</test> </test>
@ -639,17 +701,17 @@
FIXME: QT only? GTK? Firefox? FIXME: QT only? GTK? Firefox?
--> -->
<!-- FIXME: dirty_hack(tm) - fontconfig reports syntax errors --> <!-- FIXME: dirty_hack(tm) - fontconfig reports syntax errors -->
<!--
<match target="font"> <match target="font">
<test qual="any" name="matrix" compare="not_eq"> <test qual="any" name="matrix" compare="not_eq">
<double>0</double> <double>0</double>
</test> </test>
-->
<!-- another approach - no errors but freezes Firefox 1.5 --> <!-- another approach - no errors but freezes Firefox 1.5 -->
<!--
<match target="font"> <match target="font">
<test qual="any" name="matrix" compare="eq"> <test qual="any" name="matrix" compare="eq">
<name>matrix</name> <name>matrix</name>
</test> </test>
-->
<edit name="antialias" mode="assign"> <edit name="antialias" mode="assign">
<bool>true</bool> <bool>true</bool>
</edit> </edit>
@ -1323,8 +1385,11 @@
<match target="font"> <match target="font">
<test qual="any" name="family" compare="eq"> <test qual="any" name="family" compare="eq">
<string>Droid Sans</string> <string>Droid Sans</string>
</test>
<test qual="any" name="family" compare="eq">
<string>Droid Sans Mono</string> <string>Droid Sans Mono</string>
</test> </test>
<edit mode="assign" name="autohint"> <edit mode="assign" name="autohint">
<bool>false</bool> <bool>false</bool>
</edit> </edit>
@ -1454,9 +1519,12 @@
<match target="pattern"> <match target="pattern">
<test qual="any" name="family" compare="eq"> <test qual="any" name="family" compare="eq">
<string>Times New Roman</string> <string>Times New Roman</string>
</test>
<test qual="any" name="family" compare="eq">
<string>serif</string> <string>serif</string>
</test> </test>
<edit name="family" mode="prepend" binding="same"> <edit name="family" mode="prepend" binding="same">
<string>Noto Serif</string> <string>Noto Serif</string>
</edit> </edit>
@ -1532,8 +1600,11 @@
<match target="font"> <match target="font">
<test compare="eq" name="family" qual="any"> <test compare="eq" name="family" qual="any">
<string>gargi</string> <string>gargi</string>
</test>
<test compare="eq" name="family" qual="any">
<string>Lohit Hindi</string> <string>Lohit Hindi</string>
</test> </test>
<edit mode="assign" name="antialias"> <edit mode="assign" name="antialias">
<bool>true</bool> <bool>true</bool>
</edit> </edit>