summaryrefslogtreecommitdiff
path: root/fonts.dtd
diff options
context:
space:
mode:
authorAkira TAGOH <akira@tagoh.org>2012-03-12 19:18:19 +0900
committerAkira TAGOH <akira@tagoh.org>2012-05-18 11:12:50 +0900
commit8c255fb185d5651b57380b0a9443001e8051b29d (patch)
treec04baaed6aa13bbb1c1fd50dc487b7f8b7d66d19 /fonts.dtd
parentbc4517d8e5af8f31821ec8d9990765dad2867dd4 (diff)
downloadfontconfig-8c255fb185d5651b57380b0a9443001e8051b29d.tar.gz
Bug 20411 - fontconfig doesn't match FreeDesktop directories specs
Allows reading configuration files, fonts and cache files from the directories where the XDG Base Directory Specification defines. the old directories are still in the configuration files for the backward compatibility.
Diffstat (limited to 'fonts.dtd')
-rw-r--r--fonts.dtd10
1 files changed, 8 insertions, 2 deletions
diff --git a/fonts.dtd b/fonts.dtd
index 255367c..782e592 100644
--- a/fonts.dtd
+++ b/fonts.dtd
@@ -12,7 +12,9 @@
Add a directory that provides fonts
-->
<!ELEMENT dir (#PCDATA)>
-<!ATTLIST dir xml:space (default|preserve) 'preserve'>
+<!ATTLIST dir
+ prefix (#PCDATA) "default"
+ xml:space (default|preserve) 'preserve'>
<!--
Define the per-user file that holds cache font information.
@@ -33,7 +35,9 @@
home directory path.
-->
<!ELEMENT cachedir (#PCDATA)>
-<!ATTLIST cachedir xml:space (default|preserve) 'preserve'>
+<!ATTLIST cachedir
+ prefix (#PCDATA) "default"
+ xml:space (default|preserve) 'preserve'>
<!--
Reference another configuration file; note that this
@@ -48,6 +52,8 @@
<!ELEMENT include (#PCDATA)>
<!ATTLIST include
ignore_missing (no|yes) "no"
+ prefix (#PCDATA) "default"
+ deprecated (#PCDATA) "no"
xml:space (default|preserve) "preserve">
<!--