fontconfig: reorder cache dirs
This commit is contained in:
parent
39b5bc3b2f
commit
7bd9a5b104
@ -23,16 +23,16 @@
|
|||||||
<fontconfig>
|
<fontconfig>
|
||||||
<xsl:apply-templates select="child::node()[name() != 'dir' and name() != 'cachedir' and name() != 'include']" />
|
<xsl:apply-templates select="child::node()[name() != 'dir' and name() != 'cachedir' and name() != 'include']" />
|
||||||
|
|
||||||
<!-- fontconfig distribution conf.d -->
|
|
||||||
<include><xsl:value-of select="$fontconfig" />/etc/fonts/conf.d</include>
|
|
||||||
<!-- versioned system-wide config -->
|
|
||||||
<include ignore_missing="yes">/etc/fonts/<xsl:value-of select="$fontconfigConfigVersion" />/conf.d</include>
|
|
||||||
|
|
||||||
<!-- the first cachedir will be used to store the cache -->
|
<!-- the first cachedir will be used to store the cache -->
|
||||||
<cachedir prefix="xdg">fontconfig</cachedir>
|
<cachedir prefix="xdg">fontconfig</cachedir>
|
||||||
<!-- /var/cache/fontconfig is useful for non-nixos systems -->
|
<!-- /var/cache/fontconfig is useful for non-nixos systems -->
|
||||||
<cachedir>/var/cache/fontconfig</cachedir>
|
<cachedir>/var/cache/fontconfig</cachedir>
|
||||||
|
|
||||||
|
<!-- fontconfig distribution conf.d -->
|
||||||
|
<include><xsl:value-of select="$fontconfig" />/etc/fonts/conf.d</include>
|
||||||
|
<!-- versioned system-wide config -->
|
||||||
|
<include ignore_missing="yes">/etc/fonts/<xsl:value-of select="$fontconfigConfigVersion" />/conf.d</include>
|
||||||
|
|
||||||
<dir prefix="xdg">fonts</dir>
|
<dir prefix="xdg">fonts</dir>
|
||||||
<xsl:for-each select="str:tokenize($fontDirectories)">
|
<xsl:for-each select="str:tokenize($fontDirectories)">
|
||||||
<dir><xsl:value-of select="." /></dir>
|
<dir><xsl:value-of select="." /></dir>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user