Version 6.4.0.0.beta1, tag libreoffice-6.4.0.0.beta1
[LibreOffice.git] / android / source / fonts.conf
blob51355b747e859629aa1e8daf66a1ef1884949d7e
1 <?xml version="1.0"?>
2 <!DOCTYPE fontconfig SYSTEM "fonts.dtd">
3 <!-- /etc/fonts/fonts.conf file to configure system font access -->
4 <fontconfig>
6 <!-- Font directory list -->
8 <dir>/system/fonts</dir>
10 <alias>
11 <family>serif</family>
12 <prefer>
13 <family>Droid Serif</family>
14 </prefer>
15 </alias>
16 <alias>
17 <family>sans-serif</family>
18 <prefer>
19 <family>Roboto</family>
20 <family>Droid Sans Fallback</family>
21 </prefer>
22 </alias>
23 <alias>
24 <family>monospace</family>
25 <prefer>
26 <family>Droid Sans Mono</family>
27 </prefer>
28 </alias>
30 <!--
31 Accept deprecated 'mono' alias, replacing it with 'monospace'
32 -->
33 <match target="pattern">
34 <test qual="any" name="family">
35 <string>mono</string>
36 </test>
37 <edit name="family" mode="assign">
38 <string>monospace</string>
39 </edit>
40 </match>
42 <!--
43 Accept alternate 'sans serif' spelling, replacing it with 'sans-serif'
44 -->
45 <match target="pattern">
46 <test qual="any" name="family">
47 <string>sans serif</string>
48 </test>
49 <edit name="family" mode="assign">
50 <string>sans-serif</string>
51 </edit>
52 </match>
54 <!--
55 Accept deprecated 'sans' alias, replacing it with 'sans-serif'
56 -->
57 <match target="pattern">
58 <test qual="any" name="family">
59 <string>sans</string>
60 </test>
61 <edit name="family" mode="assign">
62 <string>sans-serif</string>
63 </edit>
64 </match>
66 <!--
67 Load local system customization file
68 -->
69 <include ignore_missing="yes">conf.d</include>
71 <!-- Font cache directory list -->
73 <!-- Yeah this hardcoding is wrong of course, will have to fix
74 later to patch in proper code in fontconfig on Android to
75 find out a good place.
76 -->
77 <cachedir>/data/data/@@APPLICATION_ID@@/fontconfig</cachedir>
79 <config>
80 <!--
81 Rescan configuration every 3600 seconds when FcFontSetList is called
82 -->
83 <rescan>
84 <int>3600</int>
85 </rescan>
86 </config>
88 </fontconfig>