~ubuntu-developer-manual/ubuntu-developer-manual/glossary

« back to all changes in this revision

Viewing changes to lib/apache/dejavu.conf

  • Committer: Kyle Nitzsche
  • Date: 2011-06-16 22:04:15 UTC
  • Revision ID: kyle.nitzsche@canonical.com-20110616220415-2osf5pred0upnsot
cleaning up branch

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
<?xml version="1.0"?>
2
 
<!--
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
9
 
 
10
 
       http://www.apache.org/licenses/LICENSE-2.0
11
 
 
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.
17
 
-->
18
 
 
19
 
<!-- 
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.
23
 
-->
24
 
 
25
 
<!-- NOTE: This is the version of the configuration -->
26
 
<fop version="1.0">
27
 
 
28
 
  <!-- Base URL for resolving relative URLs -->
29
 
  <base>file:///usr/share/doctemplate/lib/apache</base>
30
 
  
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>
35
 
  
36
 
  <!-- Default page-height and page-width, in case
37
 
       value is specified as auto -->
38
 
  <default-page-settings height="11in" width="8.26in"/>
39
 
  
40
 
  <!-- Information for specific renderers -->
41
 
  <!-- Uses renderer mime type for renderers -->
42
 
  <renderers>
43
 
    <renderer mime="application/pdf">
44
 
      <filterList>
45
 
        <!-- provides compression using zlib flate (default is on) -->
46
 
        <value>flate</value>
47
 
  
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> -->
51
 
  
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> -->
55
 
      </filterList>
56
 
 
57
 
      <fonts>
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" />
60
 
        </font>
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" />
63
 
        </font>
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" />
66
 
        </font>
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" />
69
 
        </font>
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" />
72
 
        </font>
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" />
75
 
        </font>
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" />
78
 
        </font>
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" />
81
 
        </font>
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" />
84
 
        </font>
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" />
87
 
        </font>
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" />
90
 
        </font>
91
 
        <!-- embedded fonts -->
92
 
        <!--
93
 
        This information must exactly match the font specified
94
 
        in the fo file. Otherwise it will use a default font.
95
 
 
96
 
        For example,
97
 
        <fo:inline font-family="Arial" font-weight="bold" font-style="normal">
98
 
            Arial-normal-normal font
99
 
        </fo:inline>
100
 
        for the font triplet specified by:
101
 
        <font-triplet name="Arial" style="normal" weight="bold"/>
102
 
 
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.
107
 
 
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)
112
 
        -->
113
 
 
114
 
        
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"/>-->
118
 
<!--        </font>-->
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"/>-->
122
 
<!--        </font>-->
123
 
      </fonts>
124
 
 
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>
128
 
      </xml-handler-->
129
 
 
130
 
    </renderer>
131
 
 
132
 
    <renderer mime="application/postscript">
133
 
      <!-- This option forces the PS renderer to rotate landscape pages -->
134
 
      <!--auto-rotate-landscape>true</auto-rotate-landscape-->
135
 
      
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>
139
 
      </xml-handler-->
140
 
    </renderer>
141
 
 
142
 
    <renderer mime="application/vnd.hp-PCL">
143
 
    </renderer>
144
 
 
145
 
    <!-- MIF does not have a renderer
146
 
    <renderer mime="application/vnd.mif">
147
 
    </renderer>
148
 
    -->
149
 
 
150
 
    <renderer mime="image/svg+xml">
151
 
      <format type="paginated"/>
152
 
      <link value="true"/>
153
 
      <strokeText value="false"/>
154
 
    </renderer>
155
 
 
156
 
    <renderer mime="application/awt">
157
 
    </renderer>
158
 
 
159
 
    <renderer mime="image/png">
160
 
      <!--transparent-page-background>true</transparent-page-background-->
161
 
    </renderer>
162
 
 
163
 
    <renderer mime="image/tiff">
164
 
      <!--transparent-page-background>true</transparent-page-background-->
165
 
      <!--compression>CCITT T.6</compression-->
166
 
    </renderer>
167
 
 
168
 
    <renderer mime="text/xml">
169
 
    </renderer>
170
 
 
171
 
    <!-- RTF does not have a renderer
172
 
    <renderer mime="text/rtf">
173
 
    </renderer>
174
 
    -->
175
 
 
176
 
    <renderer mime="text/plain">
177
 
      <pageSize columns="80"/>
178
 
    </renderer>
179
 
 
180
 
  </renderers>
181
 
 
182
 
</fop>
183