office-gobmx/android/source/fonts.conf
Christian Lohmaier f000bb2a23 blank doesn't take any effect anymore. remove it from android's fonts.conf
Change-Id: I387ceac08ec5f78686cacd90f897c7c12758ae5d
2017-09-21 13:14:55 +02:00

88 lines
1.8 KiB
XML

<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<!-- /etc/fonts/fonts.conf file to configure system font access -->
<fontconfig>
<!-- Font directory list -->
<dir>/system/fonts</dir>
<alias>
<family>serif</family>
<prefer>
<family>Droid Serif</family>
</prefer>
</alias>
<alias>
<family>sans-serif</family>
<prefer>
<family>Roboto</family>
<family>Droid Sans Fallback</family>
</prefer>
</alias>
<alias>
<family>monospace</family>
<prefer>
<family>Droid Sans Mono</family>
</prefer>
</alias>
<!--
Accept deprecated 'mono' alias, replacing it with 'monospace'
-->
<match target="pattern">
<test qual="any" name="family">
<string>mono</string>
</test>
<edit name="family" mode="assign">
<string>monospace</string>
</edit>
</match>
<!--
Accept alternate 'sans serif' spelling, replacing it with 'sans-serif'
-->
<match target="pattern">
<test qual="any" name="family">
<string>sans serif</string>
</test>
<edit name="family" mode="assign">
<string>sans-serif</string>
</edit>
</match>
<!--
Accept deprecated 'sans' alias, replacing it with 'sans-serif'
-->
<match target="pattern">
<test qual="any" name="family">
<string>sans</string>
</test>
<edit name="family" mode="assign">
<string>sans-serif</string>
</edit>
</match>
<!--
Load local system customization file
-->
<include ignore_missing="yes">conf.d</include>
<!-- Font cache directory list -->
<!-- Yeah this hardcoding is wrong of course, will have to fix
later to patch in proper code in fontonfig on Android to
find out a good place.
-->
<cachedir>/data/data/@@APPLICATION_ID@@/fontconfig</cachedir>
<config>
<!--
Rescan configuration every 3600 seconds when FcFontSetList is called
-->
<rescan>
<int>3600</int>
</rescan>
</config>
</fontconfig>