summaryrefslogtreecommitdiff
path: root/config/policy.xml
diff options
context:
space:
mode:
Diffstat (limited to 'config/policy.xml')
-rw-r--r--config/policy.xml7
1 files changed, 6 insertions, 1 deletions
diff --git a/config/policy.xml b/config/policy.xml
index def82f9ca..56f299bc0 100644
--- a/config/policy.xml
+++ b/config/policy.xml
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE policymap [
- <!ELEMENT policymap (policy)+>
+ <!ELEMENT policymap (policy)*>
<!ATTLIST policymap xmlns CDATA #FIXED ''>
<!ELEMENT policy EMPTY>
<!ATTLIST policy xmlns CDATA #FIXED '' domain NMTOKEN #REQUIRED
@@ -38,6 +38,10 @@
<policy domain="resource" name="area" value="1GP"/>
+ Use the default system font unless overwridden by the application:
+
+ <policy domain="system" name="font" value="/usr/share/fonts/favorite.ttf"/>
+
Define arguments for the memory, map, area, width, height and disk resources
with SI prefixes (.e.g 100MB). In addition, resource policies are maximums
for each instance of ImageMagick (e.g. policy memory limit 1GB, -limit 2GB
@@ -74,4 +78,5 @@
<!-- <policy domain="system" name="max-memory-request" value="256MiB"/> -->
<!-- <policy domain="system" name="shred" value="2"/> -->
<!-- <policy domain="system" name="precision" value="6"/> -->
+ <!-- <policy domain="system" name="font" value="/path/to/unicode-font.ttf"/> -->
</policymap>