summaryrefslogtreecommitdiff
path: root/fonts.dtd
diff options
context:
space:
mode:
Diffstat (limited to 'fonts.dtd')
-rw-r--r--fonts.dtd6
1 files changed, 5 insertions, 1 deletions
diff --git a/fonts.dtd b/fonts.dtd
index f7c2bc9..b89ffe3 100644
--- a/fonts.dtd
+++ b/fonts.dtd
@@ -91,7 +91,7 @@
<!ENTITY % expr 'int|double|string|matrix|bool|charset
|name|const
|or|and|eq|not_eq|less|less_eq|more|more_eq|contains|not_contains
- |plus|minus|times|divide|not|if'>
+ |plus|minus|times|divide|not|if|floor|ceil|round|trunc'>
<!--
Match and edit patterns.
@@ -180,3 +180,7 @@
<!ELEMENT divide (%expr;)*>
<!ELEMENT not (%expr;)>
<!ELEMENT if ((%expr;), (%expr;), (%expr;))>
+<!ELEMENT floor (%expr;)>
+<!ELEMENT ceil (%expr;)>
+<!ELEMENT round (%expr;)>
+<!ELEMENT trunc (%expr;)>