summaryrefslogtreecommitdiff
path: root/fonts.dtd
diff options
context:
space:
mode:
authorAkira TAGOH <akira@tagoh.org>2013-01-25 20:01:24 +0900
committerAkira TAGOH <akira@tagoh.org>2013-01-31 19:55:21 +0900
commitd26fb23c41abd87422778bb38eea39f25ba3dc4a (patch)
tree5af43c964fa83df2391083f401fd94e53ec9afe5 /fonts.dtd
parentfb3b410998aba8835999e2ca7003a180431cfaf4 (diff)
downloadfontconfig-d26fb23c41abd87422778bb38eea39f25ba3dc4a.tar.gz
Bug 59385 - Do the right thing for intermixed edit and test elements
This changes allows to have multiple mathcing rules in one <match> block in the same order. After this changes, the following thing will works as two matching rules: <match> <!-- rule 1 --> <test name="family" compare="eq"> <string>foo</string> </test> <edit name="foo" mode="append"> <string>foo</string> </edit> <!-- rule 2 --> <test name="foo" compare="eq"> <string>foo</string> </test> <edit name="foo" mode="append"> <string>bar</string> </edit> </match>
Diffstat (limited to 'fonts.dtd')
-rw-r--r--fonts.dtd2
1 files changed, 1 insertions, 1 deletions
diff --git a/fonts.dtd b/fonts.dtd
index def8c21..664467d 100644
--- a/fonts.dtd
+++ b/fonts.dtd
@@ -140,7 +140,7 @@
if 'target' is 'font', execute the match on the result of a font
selection.
-->
-<!ELEMENT match (test*, edit*)>
+<!ELEMENT match (test*, edit*)+>
<!ATTLIST match
target (pattern|font|scan) "pattern">