]> git.wh0rd.org - fontconfig.git/blobdiff - fonts.dtd
Fix weird first/not-first lameness in font matches, replacing with target
[fontconfig.git] / fonts.dtd
index a6aedbbba9852997943a0c10b507d2e8691695e8..9cbff4b67a4e29f1a811899183a78d0711b15346 100644 (file)
--- a/fonts.dtd
+++ b/fonts.dtd
     if 'qual' is 'first', then the match succeeds only if the first value matches.
     if 'qual' is 'not_first', then the match succeeds only if any value other than
        the first matches.
+    For match elements with target=font, if test 'target' is 'pattern',
+    then the test is applied to the pattern used in matching rather than
+    to the resulting font.
 -->
 <!ELEMENT test (%expr;)*>
 <!ATTLIST test 
          qual (any|all|first|not_first)    "any"
          name CDATA        #REQUIRED
+         target (pattern|font|default)         "default"
          compare (eq|not_eq|less|less_eq|more|more_eq) "eq">
 
 <!--