fop-config.xml 1.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. <fop version="1.0">
  2. <!-- Strict user configuration -->
  3. <strict-configuration>true</strict-configuration>
  4. <!-- Strict FO validation -->
  5. <strict-validation>true</strict-validation>
  6. <!--
  7. Set the baseDir so common/openedhand.svg references in plans still
  8. work ok. Note, relative file references to current dir should still work.
  9. -->
  10. <base>../template</base>
  11. <font-base>../template</font-base>
  12. <!-- Source resolution in dpi (dots/pixels per inch) for determining the
  13. size of pixels in SVG and bitmap images, default: 72dpi -->
  14. <!-- <source-resolution>72</source-resolution> -->
  15. <!-- Target resolution in dpi (dots/pixels per inch) for specifying the
  16. target resolution for generated bitmaps, default: 72dpi -->
  17. <!-- <target-resolution>72</target-resolution> -->
  18. <!-- default page-height and page-width, in case
  19. value is specified as auto -->
  20. <default-page-settings height="11in" width="8.26in"/>
  21. <!-- <use-cache>false</use-cache> -->
  22. <renderers>
  23. <renderer mime="application/pdf">
  24. <fonts>
  25. <font metrics-file="VeraMono.xml"
  26. kerning="yes"
  27. embed-url="VeraMono.ttf">
  28. <font-triplet name="veramono" style="normal" weight="normal"/>
  29. </font>
  30. <font metrics-file="VeraMoBd.xml"
  31. kerning="yes"
  32. embed-url="VeraMoBd.ttf">
  33. <font-triplet name="veramono" style="normal" weight="bold"/>
  34. </font>
  35. <font metrics-file="Vera.xml"
  36. kerning="yes"
  37. embed-url="Vera.ttf">
  38. <font-triplet name="verasans" style="normal" weight="normal"/>
  39. <font-triplet name="verasans" style="normal" weight="bold"/>
  40. <font-triplet name="verasans" style="italic" weight="normal"/>
  41. <font-triplet name="verasans" style="italic" weight="bold"/>
  42. </font>
  43. <auto-detect/>
  44. </fonts>
  45. </renderer>
  46. </renderers>
  47. </fop>