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="dejavusans.xml" embed-url="file:////usr/share/fonts/truetype/ttf-dejavu/DejaVuSans.ttf" kerning="true">
59
<font-triplet name="sans-serif" style="normal" weight="normal" />
61
<font metrics-url="dejavusans-bold.xml" embed-url="file:////usr/share/fonts/truetype/ttf-dejavu/DejaVuSans-Bold.ttf" kerning="true">
62
<font-triplet name="sans-serif" style="normal" weight="bold" />
64
<font metrics-url="dejavusans-oblique.xml" embed-url="file:////usr/share/fonts/truetype/ttf-dejavu/DejaVuSans-Oblique.ttf" kerning="true">
65
<font-triplet name="sans-serif" style="italic" weight="normal" />
67
<font metrics-url="dejavuserif.xml" embed-url="file:////usr/share/fonts/truetype/ttf-dejavu/DejaVuSerif.ttf" kerning="true">
68
<font-triplet name="serif" style="normal" weight="normal" />
70
<font metrics-url="dejavuserif-bold.xml" embed-url="file:////usr/share/fonts/truetype/ttf-dejavu/DejaVuSerif-Bold.ttf" kerning="true">
71
<font-triplet name="serif" style="normal" weight="bold" />
73
<font metrics-url="dejavuserif-italic.xml" embed-url="file:////usr/share/fonts/truetype/ttf-dejavu/DejaVuSerif-Italic.ttf" kerning="true">
74
<font-triplet name="serif" style="italic" weight="normal" />
76
<font metrics-url="dejavuserif-bolditalic.xml" embed-url="file:////usr/share/fonts/truetype/ttf-dejavu/DejaVuSerif-BoldItalic.ttf" kerning="true">
77
<font-triplet name="serif" style="italic" weight="bold" />
79
<font metrics-url="dejavusansmono.xml" embed-url="file:////usr/share/fonts/truetype/ttf-dejavu/DejaVuSansMono.ttf" kerning="true">
80
<font-triplet name="monospace" style="normal" weight="normal" />
82
<font metrics-url="dejavusansmono-bold.xml" embed-url="file:////usr/share/fonts/truetype/ttf-dejavu/DejaVuSansMono-Bold.ttf" kerning="true">
83
<font-triplet name="monospace" style="normal" weight="bold" />
85
<font metrics-url="dejavusansmono-oblique.xml" embed-url="file:////usr/share/fonts/truetype/ttf-dejavu/DejaVuSansMono-Oblique.ttf" kerning="true">
86
<font-triplet name="monospace" style="italic" weight="normal" />
88
<font metrics-url="dejavusansmono-boldoblique.xml" embed-url="file:////usr/share/fonts/truetype/ttf-dejavu/DejaVuSansMono-BoldOblique.ttf" kerning="true">
89
<font-triplet name="monospace" style="italic" weight="bold" />
91
<!-- embedded fonts -->
93
This information must exactly match the font specified
94
in the fo file. Otherwise it will use a default font.
97
<fo:inline font-family="Arial" font-weight="bold" font-style="normal">
98
Arial-normal-normal font
100
for the font triplet specified by:
101
<font-triplet name="Arial" style="normal" weight="bold"/>
103
If you do not want to embed the font in the pdf document
104
then do not include the "embed-url" attribute.
105
The font will be needed where the document is viewed
106
for it to be displayed properly.
108
possible styles: normal | italic | oblique | backslant
109
possible weights: normal | bold | 100 | 200 | 300 | 400
110
| 500 | 600 | 700 | 800 | 900
111
(normal = 400, bold = 700)
115
<!-- <font metrics-url="/home/knitzsche/apache_fop/conf/arial.xml" kerning="yes" embed-url="arial.ttf">-->
116
<!-- <font-triplet name="Arial" style="normal" weight="normal"/>-->
117
<!-- <font-triplet name="ArialMT" style="normal" weight="normal"/>-->
119
<!-- <font metrics-url="/home/knitzsche/apache_fop/conf/arialb.xml" kerning="yes" embed-url="arialb.ttf">-->
120
<!-- <font-triplet name="Arial" style="normal" weight="bold"/>-->
121
<!-- <font-triplet name="ArialMT" style="normal" weight="bold"/>-->
125
<!-- This option lets you specify additional options on an XML handler -->
126
<!--xml-handler namespace="http://www.w3.org/2000/svg">
127
<stroke-text>false</stroke-text>
132
<renderer mime="application/postscript">
133
<!-- This option forces the PS renderer to rotate landscape pages -->
134
<!--auto-rotate-landscape>true</auto-rotate-landscape-->
136
<!-- This option lets you specify additional options on an XML handler -->
137
<!--xml-handler namespace="http://www.w3.org/2000/svg">
138
<stroke-text>false</stroke-text>
142
<renderer mime="application/vnd.hp-PCL">
145
<!-- MIF does not have a renderer
146
<renderer mime="application/vnd.mif">
150
<renderer mime="image/svg+xml">
151
<format type="paginated"/>
153
<strokeText value="false"/>
156
<renderer mime="application/awt">
159
<renderer mime="image/png">
160
<!--transparent-page-background>true</transparent-page-background-->
163
<renderer mime="image/tiff">
164
<!--transparent-page-background>true</transparent-page-background-->
165
<!--compression>CCITT T.6</compression-->
168
<renderer mime="text/xml">
171
<!-- RTF does not have a renderer
172
<renderer mime="text/rtf">
176
<renderer mime="text/plain">
177
<pageSize columns="80"/>