3
Licensed to the Apache Software Foundation (ASF) under one or more
4
contributor license agreements. See the NOTICE file distributed with
5
this work for additional information regarding copyright ownership.
6
The ASF licenses this file to You under the Apache License, Version 2.0
7
(the "License"); you may not use this file except in compliance with
8
the License. You may obtain a copy of the License at
10
http://www.apache.org/licenses/LICENSE-2.0
12
Unless required by applicable law or agreed to in writing, software
13
distributed under the License is distributed on an "AS IS" BASIS,
14
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15
See the License for the specific language governing permissions and
16
limitations under the License.
20
This file was copied from Apache samples and modified by Kyle Nitzsche
21
<kyle.nitzsche@canonical.com>
22
Such modifications: Copyright 2009-2011 Kyle Nitzsche.
25
<!-- NOTE: This is the version of the configuration -->
28
<!-- Base URL for resolving relative URLs -->
29
<base>file:///usr/share/doctemplate/lib/apache</base>
31
<!-- Source resolution in dpi (dots/pixels per inch) for determining the size of pixels in SVG and bitmap images, default: 72dpi -->
32
<source-resolution>72</source-resolution>
33
<!-- Target resolution in dpi (dots/pixels per inch) for specifying the target resolution for generated bitmaps, default: 72dpi -->
34
<target-resolution>72</target-resolution>
36
<!-- Default page-height and page-width, in case
37
value is specified as auto -->
38
<default-page-settings height="11in" width="8.26in"/>
40
<!-- Information for specific renderers -->
41
<!-- Uses renderer mime type for renderers -->
43
<renderer mime="application/pdf">
45
<!-- provides compression using zlib flate (default is on) -->
48
<!-- encodes binary data into printable ascii characters (default off)
49
This provides about a 4:5 expansion of data size -->
50
<!-- <value>ascii-85</value> -->
52
<!-- encodes binary data with hex representation (default off)
53
This filter is not recommended as it doubles the data size -->
54
<!-- <value>ascii-hex</value> -->
58
<font metrics-url="japanese-gothic.xml" embed-url="file:////usr/share/fonts/truetype/takao/TakaoPGothic.ttf" kerning="true">
59
<font-triplet name="sans-serif" style="normal" weight="normal" />
60
<font-triplet name="sans-serif" style="normal" weight="bold" />
61
<font-triplet name="sans-serif" style="italic" weight="normal" />
62
<font-triplet name="sans-serif" style="italic" weight="bold" />
63
<font-triplet name="serif" style="normal" weight="normal" />
64
<font-triplet name="serif" style="normal" weight="bold" />
65
<font-triplet name="serif" style="italic" weight="normal" />
66
<font-triplet name="serif" style="italic" weight="bold" />
67
<font-triplet name="monospace" style="normal" weight="normal" />
68
<font-triplet name="monospace" style="normal" weight="bold" />
69
<font-triplet name="monospace" style="italic" weight="normal" />
70
<font-triplet name="monospace" style="italic" weight="bold" />
74
<!-- This option lets you specify additional options on an XML handler -->
75
<!--xml-handler namespace="http://www.w3.org/2000/svg">
76
<stroke-text>false</stroke-text>
81
<renderer mime="application/postscript">
82
<!-- This option forces the PS renderer to rotate landscape pages -->
83
<!--auto-rotate-landscape>true</auto-rotate-landscape-->
85
<!-- This option lets you specify additional options on an XML handler -->
86
<!--xml-handler namespace="http://www.w3.org/2000/svg">
87
<stroke-text>false</stroke-text>
91
<renderer mime="application/vnd.hp-PCL">
94
<!-- MIF does not have a renderer
95
<renderer mime="application/vnd.mif">
99
<renderer mime="image/svg+xml">
100
<format type="paginated"/>
102
<strokeText value="false"/>
105
<renderer mime="application/awt">
108
<renderer mime="image/png">
109
<!--transparent-page-background>true</transparent-page-background-->
112
<renderer mime="image/tiff">
113
<!--transparent-page-background>true</transparent-page-background-->
114
<!--compression>CCITT T.6</compression-->
117
<renderer mime="text/xml">
120
<!-- RTF does not have a renderer
121
<renderer mime="text/rtf">
125
<renderer mime="text/plain">
126
<pageSize columns="80"/>