]> pere.pagekite.me Git - text-infor-lif-else-laula.git/blobdiff - data/fop-params.xconf
Started on book with text from 1904.
[text-infor-lif-else-laula.git] / data / fop-params.xconf
diff --git a/data/fop-params.xconf b/data/fop-params.xconf
new file mode 100644 (file)
index 0000000..2e1aff1
--- /dev/null
@@ -0,0 +1,33 @@
+<?xml version="1.0"?>
+<fop version="1.0">
+  <renderers>
+    <renderer mime="application/pdf">
+      <!-- Full path to truetype fonts to be embedded in PDF file -->
+      <fonts>
+
+        <font embed-url="file:///home/pere/.fonts/CrimsonText-Regular.ttf">
+          <font-triplet name="Crimson Text" style="normal" weight="normal"/>
+        </font>
+        <font embed-url="file:///home/pere/.fonts/CrimsonText-Italic.ttf">
+          <font-triplet name="Crimson Text" style="italic" weight="normal"/>
+        </font>
+        <font embed-url="file:///home/pere/.fonts/CrimsonText-Bold.ttf">
+          <font-triplet name="Crimson Text" style="normal" weight="bold"/>
+        </font>
+
+        <font embed-url="file:///usr/share/fonts/truetype/freefont/FreeSerif.ttf">
+          <font-triplet name="Times" style="normal" weight="normal"/>
+        </font>
+        <font embed-url="file:///usr/share/fonts/truetype/freefont/FreeSerifBold.ttf">
+          <font-triplet name="Times" style="normal" weight="bold"/>
+        </font>
+        <font embed-url="file:///usr/share/fonts/truetype/freefont/FreeSerifItalic.ttf">
+          <font-triplet name="Times" style="italic" weight="normal"/>
+        </font>
+        <font embed-url="file:///usr/share/fonts/truetype/freefont/FreeSerifBoldItalic.ttf">
+          <font-triplet name="Times" style="italic" weight="bold"/>
+        </font>
+      </fonts>
+    </renderer>
+  </renderers>
+</fop>