diff options
Diffstat (limited to 'handbook/poky-doc-tools/common/fop-config.xml.in')
| -rw-r--r-- | handbook/poky-doc-tools/common/fop-config.xml.in | 85 |
1 files changed, 55 insertions, 30 deletions
diff --git a/handbook/poky-doc-tools/common/fop-config.xml.in b/handbook/poky-doc-tools/common/fop-config.xml.in index 649ccb566f..40cdf9c334 100644 --- a/handbook/poky-doc-tools/common/fop-config.xml.in +++ b/handbook/poky-doc-tools/common/fop-config.xml.in | |||
| @@ -1,33 +1,58 @@ | |||
| 1 | <configuration> | 1 | <fop version="1.0"> |
| 2 | <entry> | ||
| 3 | <!-- | ||
| 4 | Set the baseDir so common/openedhand.svg references in plans still | ||
| 5 | work ok. Note, relative file references to current dir should still work. | ||
| 6 | --> | ||
| 7 | <key>baseDir</key> | ||
| 8 | <value>@datadir@</value> | ||
| 9 | </entry> | ||
| 10 | <fonts> | ||
| 11 | <font metrics-file="@datadir@/common/VeraMono.xml" | ||
| 12 | kerning="yes" | ||
| 13 | embed-file="@datadir@/common/VeraMono.ttf"> | ||
| 14 | <font-triplet name="veramono" style="normal" weight="normal"/> | ||
| 15 | </font> | ||
| 16 | 2 | ||
| 17 | <font metrics-file="@datadir@/common/VeraMoBd.xml" | 3 | <!-- Strict user configuration --> |
| 18 | kerning="yes" | 4 | <strict-configuration>true</strict-configuration> |
| 19 | embed-file="@datadir@/common/VeraMoBd.ttf"> | ||
| 20 | <font-triplet name="veramono" style="normal" weight="bold"/> | ||
| 21 | </font> | ||
| 22 | 5 | ||
| 23 | <font metrics-file="@datadir@/common/Vera.xml" | 6 | <!-- Strict FO validation --> |
| 24 | kerning="yes" | 7 | <strict-validation>true</strict-validation> |
| 25 | embed-file="@datadir@/common/Vera.ttf"> | 8 | |
| 26 | <font-triplet name="verasans" style="normal" weight="normal"/> | 9 | <!-- |
| 27 | <font-triplet name="verasans" style="normal" weight="bold"/> | 10 | Set the baseDir so common/openedhand.svg references in plans still |
| 28 | <font-triplet name="verasans" style="italic" weight="normal"/> | 11 | work ok. Note, relative file references to current dir should still work. |
| 29 | <font-triplet name="verasans" style="italic" weight="bold"/> | 12 | --> |
| 30 | </font> | 13 | <base>@datadir@</base> |
| 14 | <font-base>@datadir@/common</font-base> | ||
| 15 | |||
| 16 | <!-- Source resolution in dpi (dots/pixels per inch) for determining the | ||
| 17 | size of pixels in SVG and bitmap images, default: 72dpi --> | ||
| 18 | <!-- <source-resolution>72</source-resolution> --> | ||
| 19 | <!-- Target resolution in dpi (dots/pixels per inch) for specifying the | ||
| 20 | target resolution for generated bitmaps, default: 72dpi --> | ||
| 21 | <!-- <target-resolution>72</target-resolution> --> | ||
| 22 | |||
| 23 | <!-- default page-height and page-width, in case | ||
| 24 | value is specified as auto --> | ||
| 25 | <default-page-settings height="11in" width="8.26in"/> | ||
| 26 | |||
| 27 | <!-- <use-cache>false</use-cache> --> | ||
| 28 | |||
| 29 | <renderers> | ||
| 30 | <renderer mime="application/pdf"> | ||
| 31 | <fonts> | ||
| 32 | <font metrics-file="VeraMono.xml" | ||
| 33 | kerning="yes" | ||
| 34 | embed-url="VeraMono.ttf"> | ||
| 35 | <font-triplet name="veramono" style="normal" weight="normal"/> | ||
| 36 | </font> | ||
| 37 | |||
| 38 | <font metrics-file="VeraMoBd.xml" | ||
| 39 | kerning="yes" | ||
| 40 | embed-url="VeraMoBd.ttf"> | ||
| 41 | <font-triplet name="veramono" style="normal" weight="bold"/> | ||
| 42 | </font> | ||
| 43 | |||
| 44 | <font metrics-file="Vera.xml" | ||
| 45 | kerning="yes" | ||
| 46 | embed-url="Vera.ttf"> | ||
| 47 | <font-triplet name="verasans" style="normal" weight="normal"/> | ||
| 48 | <font-triplet name="verasans" style="normal" weight="bold"/> | ||
| 49 | <font-triplet name="verasans" style="italic" weight="normal"/> | ||
| 50 | <font-triplet name="verasans" style="italic" weight="bold"/> | ||
| 51 | </font> | ||
| 52 | |||
| 53 | <auto-detect/> | ||
| 54 | </fonts> | ||
| 55 | </renderer> | ||
| 56 | </renderers> | ||
| 57 | </fop> | ||
| 31 | 58 | ||
| 32 | </fonts> | ||
| 33 | </configuration> \ No newline at end of file | ||
