summaryrefslogtreecommitdiff
path: root/fonts.dtd
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2002-08-22 18:53:22 +0000
committerKeith Packard <keithp@keithp.com>2002-08-22 18:53:22 +0000
commit47d4f9501fe21603feb5f3f233ea3bc6ec15f494 (patch)
treeb946ec1caa95d02ca3af6a00f74c64e655cca912 /fonts.dtd
parentd8d7395877238acbc9cd4709e3b4e76f8ca978cb (diff)
Add contains/not_contains, fix LangSet equal operator to use FcLangEqual
Diffstat (limited to 'fonts.dtd')
-rw-r--r--fonts.dtd6
1 files changed, 4 insertions, 2 deletions
diff --git a/fonts.dtd b/fonts.dtd
index 9cbff4b..4233b73 100644
--- a/fonts.dtd
+++ b/fonts.dtd
@@ -90,7 +90,7 @@
<!ENTITY % expr 'int|double|string|matrix|bool|charset
|name|const
- |or|and|eq|not_eq|less|less_eq|more|more_eq
+ |or|and|eq|not_eq|less|less_eq|more|more_eq|contains|not_contains
|plus|minus|times|divide|not|if'>
<!--
@@ -121,7 +121,7 @@
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">
+ compare (eq|not_eq|less|less_eq|more|more_eq|contains|not_contains) "eq">
<!--
Edit a field in a pattern
@@ -172,6 +172,8 @@
<!ELEMENT less_eq ((%expr;), (%expr;))>
<!ELEMENT more ((%expr;), (%expr;))>
<!ELEMENT more_eq ((%expr;), (%expr;))>
+<!ELEMENT contains ((%expr;), (%expr;))>
+<!ELEMENT not_contains ((%expr;), (%expr;))>
<!ELEMENT plus (%expr;)*>
<!ELEMENT minus (%expr;)*>
<!ELEMENT times (%expr;)*>