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

« back to all changes in this revision

Viewing changes to lib/apache/japanese-gothic.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="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" />
71
 
        </font>
72
 
     </fonts>
73
 
 
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>
77
 
      </xml-handler-->
78
 
 
79
 
    </renderer>
80
 
 
81
 
    <renderer mime="application/postscript">
82
 
      <!-- This option forces the PS renderer to rotate landscape pages -->
83
 
      <!--auto-rotate-landscape>true</auto-rotate-landscape-->
84
 
      
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>
88
 
      </xml-handler-->
89
 
    </renderer>
90
 
 
91
 
    <renderer mime="application/vnd.hp-PCL">
92
 
    </renderer>
93
 
 
94
 
    <!-- MIF does not have a renderer
95
 
    <renderer mime="application/vnd.mif">
96
 
    </renderer>
97
 
    -->
98
 
 
99
 
    <renderer mime="image/svg+xml">
100
 
      <format type="paginated"/>
101
 
      <link value="true"/>
102
 
      <strokeText value="false"/>
103
 
    </renderer>
104
 
 
105
 
    <renderer mime="application/awt">
106
 
    </renderer>
107
 
 
108
 
    <renderer mime="image/png">
109
 
      <!--transparent-page-background>true</transparent-page-background-->
110
 
    </renderer>
111
 
 
112
 
    <renderer mime="image/tiff">
113
 
      <!--transparent-page-background>true</transparent-page-background-->
114
 
      <!--compression>CCITT T.6</compression-->
115
 
    </renderer>
116
 
 
117
 
    <renderer mime="text/xml">
118
 
    </renderer>
119
 
 
120
 
    <!-- RTF does not have a renderer
121
 
    <renderer mime="text/rtf">
122
 
    </renderer>
123
 
    -->
124
 
 
125
 
    <renderer mime="text/plain">
126
 
      <pageSize columns="80"/>
127
 
    </renderer>
128
 
 
129
 
  </renderers>
130
 
 
131
 
</fop>
132