summaryrefslogtreecommitdiff
path: root/handbook/poky-doc-tools/common/fop-config.xml.in
blob: 40cdf9c334780526e5b8889632576c82acc8b411 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
<fop version="1.0">

  <!-- Strict user configuration -->
  <strict-configuration>true</strict-configuration>

  <!-- Strict FO validation -->
  <strict-validation>true</strict-validation>

   <!--
    Set the baseDir so common/openedhand.svg references in plans still
    work ok. Note, relative file references to current dir should still work.
    -->	
  <base>@datadir@</base>
  <font-base>@datadir@/common</font-base>
 
  <!-- Source resolution in dpi (dots/pixels per inch) for determining the
       size of pixels in SVG and bitmap images, default: 72dpi -->
  <!-- <source-resolution>72</source-resolution> -->
  <!-- Target resolution in dpi (dots/pixels per inch) for specifying the
       target resolution for generated bitmaps, default: 72dpi -->
  <!-- <target-resolution>72</target-resolution> -->
 
  <!-- default page-height and page-width, in case
       value is specified as auto -->
  <default-page-settings height="11in" width="8.26in"/> 
 
  <!-- <use-cache>false</use-cache> -->
 
  <renderers>
    <renderer mime="application/pdf">
      <fonts>
        <font  metrics-file="VeraMono.xml"
               kerning="yes" 
               embed-url="VeraMono.ttf">
          <font-triplet name="veramono" style="normal" weight="normal"/>
        </font>

        <font  metrics-file="VeraMoBd.xml"
               kerning="yes" 
               embed-url="VeraMoBd.ttf">
          <font-triplet name="veramono" style="normal" weight="bold"/>
        </font>

        <font  metrics-file="Vera.xml"
               kerning="yes" 
               embed-url="Vera.ttf">
          <font-triplet name="verasans" style="normal" weight="normal"/>
          <font-triplet name="verasans" style="normal" weight="bold"/>
          <font-triplet name="verasans" style="italic" weight="normal"/>
          <font-triplet name="verasans" style="italic" weight="bold"/>
        </font>
        
        <auto-detect/>
      </fonts>
    </renderer>
  </renderers>
</fop>