summaryrefslogtreecommitdiff
path: root/tests/fonts.conf.test
diff options
context:
space:
mode:
Diffstat (limited to 'tests/fonts.conf.test')
-rw-r--r--tests/fonts.conf.test44
1 files changed, 25 insertions, 19 deletions
diff --git a/tests/fonts.conf.test b/tests/fonts.conf.test
index 0e5b961..3c3e132 100644
--- a/tests/fonts.conf.test
+++ b/tests/fonts.conf.test
@@ -1,19 +1,25 @@
-<!-- this is a comment -->
-<!-- this is a comment with the <dir>test 0 failed!</dir> -->
-<!---->
-<!--
-this is a comment -->
-<!--
-this is a comment
--->
-<!--
-this is a comment
-<dir>test -1 failed!</dir>
--->
-<dir>test 1 ok</dir>
-<dir>test 2 ok</dir><dir>test 3 ok</dir>
-<dir>test 4 ok</dir><!-- comment--><dir>test 5 ok</dir>
-<!-- this starts to be more debian-specific... change it to fit your system -->
-<include>/etc/fonts/conf.d</include><!-- this is a dir -->
-<include>/etc/fonts/fonts.conf</include>
-<include ignore_missing="no">/etc/fonts/conf.d/69-unifont.conf</include>
+<?xml version="1.0"?>
+<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
+<!-- /etc/fonts/fonts.conf file to configure system font access -->
+<fontconfig>
+ <!-- this is a comment -->
+ <!-- this is a comment with the <dir>test 0 failed!</dir> -->
+ <!---->
+ <!--
+ this is a comment -->
+ <!--
+ this is a comment
+ -->
+ <!--
+ this is a comment
+ <dir>test -1 failed!</dir>
+ -->
+ <include prefix="xdg">fontconfig/fonts.conf</include><!-- this is a dir -->
+ <dir>test 1 ok</dir>
+ <dir>test 2 ok</dir><dir>test 3 ok</dir>
+ <dir>test 4 ok</dir><!-- comment--><dir>test 5 ok</dir>
+ <!-- this starts to be more debian-specific... change it to fit your system -->
+ <include>/etc/fonts/conf.d</include><!-- this is a dir -->
+ <include>/etc/fonts/fonts.conf</include>
+ <include ignore_missing="no">/etc/fonts/conf.d/69-unifont.conf</include>
+</fontconfig>