~ubuntu-branches/ubuntu/maverick/kubuntu-docs/maverick

« back to all changes in this revision

Viewing changes to libs/pdf/fop.xconf

  • Committer: Bazaar Package Importer
  • Author(s): Richard A. Johnson
  • Date: 2008-08-18 10:49:14 UTC
  • Revision ID: james.westby@ubuntu.com-20080818104914-83r2er2hsmdp2o0l
Tags: 8.10-2
* Restructured kubuntu documentation package
  - Refer to the NEWS text located in the root directory of the package
* Removed the Firefox start page files
* debian/rules: updated to remove firefox files
* debian/control: removed perl deps due to removal of firefox files, bumped
  version to 3.8.0, updated kdelibs-data dep to kdelibs5-data

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
<?xml version="1.0"?>
2
 
 
3
 
<!--
4
 
 
5
 
This is an example configuration file for FOP.
6
 
This file contains the same settings as the default values
7
 
and will have no effect if used unchanged.
8
 
 
9
 
Relative config url's will be resolved relative to
10
 
the location of this file.
11
 
 
12
 
-->
13
 
 
14
 
<!-- NOTE: This is the version of the configuration -->
15
 
<fop version="1.0">
16
 
 
17
 
  <!-- Base URL for resolving relative URLs -->
18
 
  <base>.</base>
19
 
  
20
 
  <!-- Source resolution in dpi (dots/pixels per inch) for determining the size of pixels in SVG and bitmap images, default: 72dpi -->
21
 
  <source-resolution>72</source-resolution>
22
 
  <!-- Target resolution in dpi (dots/pixels per inch) for specifying the target resolution for generated bitmaps, default: 72dpi -->
23
 
  <target-resolution>72</target-resolution>
24
 
  
25
 
  <!-- Default page-height and page-width, in case
26
 
       value is specified as auto -->
27
 
  <default-page-settings height="11in" width="8.26in"/>
28
 
  
29
 
  <!-- Information for specific renderers -->
30
 
  <!-- Uses renderer mime type for renderers -->
31
 
  <renderers>
32
 
    <renderer mime="application/pdf">
33
 
      <filterList>
34
 
        <!-- provides compression using zlib flate (default is on) -->
35
 
        <value>flate</value>
36
 
  
37
 
        <!-- encodes binary data into printable ascii characters (default off)
38
 
             This provides about a 4:5 expansion of data size -->
39
 
        <!-- <value>ascii-85</value> -->
40
 
  
41
 
        <!-- encodes binary data with hex representation (default off)
42
 
             This filter is not recommended as it doubles the data size -->
43
 
        <!-- <value>ascii-hex</value> -->
44
 
      </filterList>
45
 
 
46
 
      <fonts>
47
 
        <!-- embedded fonts -->
48
 
        <!--
49
 
        This information must exactly match the font specified
50
 
        in the fo file. Otherwise it will use a default font.
51
 
 
52
 
        For example,
53
 
        <fo:inline font-family="Arial" font-weight="bold" font-style="normal">
54
 
            Arial-normal-normal font
55
 
        </fo:inline>
56
 
        for the font triplet specified by:
57
 
        <font-triplet name="Arial" style="normal" weight="bold"/>
58
 
 
59
 
        If you do not want to embed the font in the pdf document
60
 
        then do not include the "embed-url" attribute.
61
 
        The font will be needed where the document is viewed
62
 
        for it to be displayed properly.
63
 
 
64
 
        possible styles: normal | italic | oblique | backslant
65
 
        possible weights: normal | bold | 100 | 200 | 300 | 400
66
 
                          | 500 | 600 | 700 | 800 | 900
67
 
        (normal = 400, bold = 700)
68
 
        -->
69
 
 
70
 
        <!--
71
 
        <font metrics-url="arial.xml" kerning="yes" embed-url="arial.ttf">
72
 
          <font-triplet name="Arial" style="normal" weight="normal"/>
73
 
          <font-triplet name="ArialMT" style="normal" weight="normal"/>
74
 
        </font> -->
75
 
 
76
 
 <font metrics-url="../libs/pdf/fonts/DejaVuSerif.xml" kerning="yes" embed-url="/usr/share/fonts/truetype/ttf-dejavu/DejaVuSerif.ttf">
77
 
    <font-triplet name="dejavuserif" style="normal" weight="normal"/>
78
 
 </font>
79
 
 <font metrics-url="../libs/pdf/fonts/DejaVuSerif-Bold.xml" kerning="yes" embed-url="/usr/share/fonts/truetype/ttf-dejavu/DejaVuSerif-Bold.ttf">
80
 
    <font-triplet name="dejavuserif" style="normal" weight="bold"/>
81
 
 </font>
82
 
 <font metrics-url="../libs/pdf/fonts/DejaVuSerif-BoldOblique.xml" kerning="yes" embed-url="/usr/share/fonts/ttf-dejavu/DejaVuSerif-BoldOblique.ttf">
83
 
    <font-triplet name="dejavuserif" style="italic" weight="bold"/>
84
 
 </font>
85
 
 <font metrics-url="../libs/pdf/fonts/DejaVuSerif-Oblique.xml" kerning="yes" embed-url="/usr/share/fonts/truetype/ttf-dejavu/DejaVuSerif-Oblique.ttf">
86
 
    <font-triplet name="dejavuserif" style="italic" weight="bold"/>
87
 
 </font>
88
 
 
89
 
 <font metrics-url="../libs/pdf/fonts/FreeMono-ttf.xml" kerning="yes" embed-url="/usr/share/fonts/truetype/freefont/FreeMono.ttf">
90
 
    <font-triplet name="monospace" style="normal" weight="normal"/>
91
 
 </font>
92
 
 <font metrics-url="../libs/pdf/fonts/FreeMonoBold-ttf.xml" kerning="yes" embed-url="/usr/share/fonts/truetype/freefont/FreeMonoBold.ttf">
93
 
    <font-triplet name="monospace" style="normal" weight="bold"/>
94
 
 </font>
95
 
 <font metrics-url="../libs/pdf/fonts/FreeMonoOblique-ttf.xml" kerning="yes" embed-url="/usr/share/fonts/truetype/freefont/FreeMonoOblique.ttf">
96
 
    <font-triplet name="monospace" style="italic" weight="normal"/>
97
 
 </font>
98
 
 <font metrics-url="../libs/pdf/fonts/FreeMonoBoldOblique-ttf.xml" kerning="yes" embed-url="/usr/share/fonts/truetype/freefont/FreeMonoBoldOblique.ttf">
99
 
    <font-triplet name="monospace" style="italic" weight="bold"/>
100
 
 </font>
101
 
 
102
 
 <font metrics-url="../libs/pdf/fonts/FreeSerif.xml" kerning="yes" embed-url="/usr/share/fonts/truetype/freefont/FreeSerif.ttf">
103
 
    <font-triplet name="serif" style="normal" weight="normal"/>
104
 
 </font>
105
 
 <font metrics-url="../libs/pdf/fonts/FreeSerif-Bold.xml" kerning="yes" embed-url="/usr/share/fonts/truetype/freefont/FreeSerifBold.ttf">
106
 
    <font-triplet name="serif" style="normal" weight="bold"/>
107
 
 </font>
108
 
 <font metrics-url="../libs/pdf/fonts/FreeSerif-BoldItalic.xml" kerning="yes" embed-url="/usr/share/fonts/truetype/freefont/FreeSerifBoldItalic.ttf">
109
 
    <font-triplet name="serif" style="italic" weight="bold"/>
110
 
 </font>
111
 
 <font metrics-url="../libs/pdf/fonts/FreeSerif-Italic.xml" kerning="yes" embed-url="/usr/share/fonts/truetype/freefont/FreeSerifItalic.ttf">
112
 
    <font-triplet name="serif" style="italic" weight="normal"/>
113
 
 </font>
114
 
 
115
 
 <font metrics-url="../libs/pdf/fonts/uming.xml" kerning="yes" embed-url="/usr/share/fonts/truetype/arphic/uming.ttf">
116
 
    <font-triplet name="uming" style="normal" weight="normal"/>
117
 
    <font-triplet name="uming" style="italic" weight="normal"/>
118
 
   <font-triplet name="uming" style="normal" weight="bold"/>
119
 
   <font-triplet name="uming" style="italic" weight="normal"/></font>
120
 
 
121
 
    <font metrics-url="../libs/pdf/fonts/kochi-gothic.xml" embed-url="/usr/share/fonts/truetype/kochi/kochi-gothic.ttf" kerning="yes">
122
 
      <font-triplet name="Kochi" style="normal"  weight="normal"/>
123
 
      <font-triplet name="Kochi" style="italic"  weight="normal"/>
124
 
      <font-triplet name="Kochi" style="normal"  weight="bold"/>
125
 
      <font-triplet name="Kochi" style="italic"  weight="bold"/>
126
 
    </font>
127
 
 
128
 
    <font metrics-url="../libs/pdf/fonts/UnDotum.xml" embed-url="/usr/share/fonts/truetype/unfonts/UnDotum.ttf" kerning="yes">
129
 
      <font-triplet name="dotum" style="normal"  weight="normal"/>
130
 
      <font-triplet name="dotum" style="italic"  weight="normal"/>
131
 
    </font>
132
 
 
133
 
    <font metrics-url="../libs/pdf/fonts/UnDotumBold.xml" embed-url="/usr/share/fonts/truetype/unfonts/UnDotumBold.ttf" kerning="yes">
134
 
      <font-triplet name="dotum" style="normal"  weight="bold"/>
135
 
      <font-triplet name="dotum" style="italic"  weight="bold"/>
136
 
    </font>
137
 
 
138
 
    <font metrics-url="../libs/pdf/fonts/UnBatang.xml" embed-url="/usr/share/fonts/truetype/unfonts/UnBatang.ttf" kerning="yes">
139
 
      <font-triplet name="batang" style="normal"  weight="normal"/>
140
 
      <font-triplet name="batang" style="italic"  weight="normal"/>
141
 
    </font>
142
 
 
143
 
    <font metrics-url="../libs/pdf/fonts/UnBatangBold.xml" embed-url="/usr/share/fonts/truetype/unfonts/UnBatangBold.ttf" kerning="yes">
144
 
      <font-triplet name="batang" style="normal"  weight="bold"/>
145
 
      <font-triplet name="batang" style="italic"  weight="bold"/>
146
 
    </font>
147
 
 
148
 
 <font metrics-url="../libs/pdf/fonts/OpenSymbol.xml" kerning="yes" embed-url="/usr/share/fonts/truetype/openoffice/opens___.ttf">
149
 
    <font-triplet name="Symbol" style="normal" weight="normal"/>
150
 
 </font>
151
 
 
152
 
        <!--
153
 
        <font metrics-url="arialb.xml" kerning="yes" embed-url="arialb.ttf">
154
 
          <font-triplet name="Arial" style="normal" weight="bold"/>
155
 
          <font-triplet name="ArialMT" style="normal" weight="bold"/>
156
 
        </font>
157
 
        -->
158
 
      </fonts>
159
 
 
160
 
      <!-- This option lets you specify additional options on an XML handler -->
161
 
      <!--xml-handler namespace="http://www.w3.org/2000/svg">
162
 
        <stroke-text>false</stroke-text>
163
 
      </xml-handler-->
164
 
 
165
 
    </renderer>
166
 
 
167
 
    <renderer mime="application/postscript">
168
 
      <!-- This option forces the PS renderer to rotate landscape pages -->
169
 
      <!--auto-rotate-landscape>true</auto-rotate-landscape-->
170
 
      
171
 
      <!-- This option lets you specify additional options on an XML handler -->
172
 
      <!--xml-handler namespace="http://www.w3.org/2000/svg">
173
 
        <stroke-text>false</stroke-text>
174
 
      </xml-handler-->
175
 
    </renderer>
176
 
 
177
 
    <renderer mime="application/vnd.hp-PCL">
178
 
    </renderer>
179
 
 
180
 
    <!-- MIF does not have a renderer
181
 
    <renderer mime="application/vnd.mif">
182
 
    </renderer>
183
 
    -->
184
 
 
185
 
    <renderer mime="image/svg+xml">
186
 
      <format type="paginated"/>
187
 
      <link value="true"/>
188
 
      <strokeText value="false"/>
189
 
    </renderer>
190
 
 
191
 
    <renderer mime="application/awt">
192
 
    </renderer>
193
 
 
194
 
    <renderer mime="text/xml">
195
 
    </renderer>
196
 
 
197
 
    <!-- RTF does not have a renderer
198
 
    <renderer mime="text/rtf">
199
 
    </renderer>
200
 
    -->
201
 
 
202
 
    <renderer mime="text/plain">
203
 
      <pageSize columns="80"/>
204
 
    </renderer>
205
 
 
206
 
  </renderers>
207
 
 
208
 
</fop>
209