diff options
author | Akira TAGOH <akira@tagoh.org> | 2019-01-31 07:52:09 +0000 |
---|---|---|
committer | Akira TAGOH <akira@tagoh.org> | 2019-04-03 12:02:09 +0000 |
commit | def1d00036a4e828382027292a167203c6c7a0b4 (patch) | |
tree | 5827dd8f8247ccdbdf2a631b6ac9ce3a8ef9d2cf /conf.d | |
parent | 5e46f1545100f12ee1daaa41bccc6c3914bd2d83 (diff) |
Add reset-dirs element
This element removes all of fonts directories where added by
dir elements. it is useful to override fonts dirs from system
to their own dirs only.
Diffstat (limited to 'conf.d')
-rw-r--r-- | conf.d/05-reset-dirs-sample.conf | 9 | ||||
-rw-r--r-- | conf.d/Makefile.am | 1 |
2 files changed, 10 insertions, 0 deletions
diff --git a/conf.d/05-reset-dirs-sample.conf b/conf.d/05-reset-dirs-sample.conf new file mode 100644 index 0000000..80bb6fb --- /dev/null +++ b/conf.d/05-reset-dirs-sample.conf @@ -0,0 +1,9 @@ +<?xml version="1.0"?> +<!DOCTYPE fontconfig SYSTEM "fonts.dtd"> +<fontconfig> + <description>Re-define fonts dirs sample</description> + + <reset-dirs /> + <dir prefix="xdg">fonts</dir> + +</fontconfig> diff --git a/conf.d/Makefile.am b/conf.d/Makefile.am index ff03fb2..d0f3f26 100644 --- a/conf.d/Makefile.am +++ b/conf.d/Makefile.am @@ -52,6 +52,7 @@ config_DATA = $(DOC_FILES) templatedir = $(TEMPLATEDIR) template_DATA = \ + 05-reset-dirs-sample.conf \ 10-autohint.conf \ 10-hinting-full.conf \ 10-hinting-medium.conf \ |