You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

fop.xconf 2.9KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108
  1. <?xml version="1.0"?>
  2. <!--
  3. This is an example configuration file for FOP.
  4. This file contains the same settings as the default values
  5. and will have no effect if used unchanged.
  6. Relative config url's will be resolved relative to
  7. the location of this file.
  8. -->
  9. <!-- NOTE: This is the version of the configuration -->
  10. <fop version="1.0">
  11. <userAgent>
  12. <base url="./"/>
  13. <!-- pixel to millimeter to specify dpi, 72dpi -->
  14. <pixelToMillimeter value="0.35277777777777777778"/>
  15. </userAgent>
  16. <!-- Information for specific renderers -->
  17. <!-- Uses renderer mime type for renderers -->
  18. <renderers>
  19. <renderer mime="application/pdf">
  20. <filterList>
  21. <!-- provides compression using zlib flate (default is on)-->
  22. <value>flate</value>
  23. <!-- encodes binary data into printable ascii characters (default off)
  24. This provides about a 4:5 expansion of data size -->
  25. <!-- <value>ascii-85</value> -->
  26. <!-- encodes binary data with hex representation (default off)
  27. This filter is not recommended as it doubles the data size -->
  28. <!-- <value>ascii-hex</value> -->
  29. </filterList>
  30. <fonts>
  31. <!-- embedded fonts -->
  32. <!--
  33. this information must exactly match the font specified
  34. in the fo file otherwise it will use a default font.
  35. ie.
  36. <fo:inline font-family="Arial" font-weight="bold" font-style="normal">
  37. Arial-normal-normal font
  38. </fo:inline>
  39. for the font triplet specified by:
  40. <font-triplet name="Arial" style="normal" weight="bold"/>
  41. If you do not want to embed the font in the pdf document
  42. then do not include the "embed-url" attribute.
  43. The font will be needed where the document is viewed
  44. for it to be displayed properly.
  45. possible styles: normal | italic | oblique | backslant
  46. possible weights: normal | bold | 100 | 200 | 300 | 400
  47. | 500 | 600 | 700 | 800 | 900
  48. (normal = 400, bold = 700)
  49. -->
  50. <!--
  51. <font metrics-url="arial.xml" kerning="yes" embed-url="arial.ttf">
  52. <font-triplet name="Arial" style="normal" weight="normal"/>
  53. <font-triplet name="ArialMT" style="normal" weight="normal"/>
  54. </font>
  55. <font metrics-url="arialb.xml" kerning="yes" embed-url="arialb.ttf">
  56. <font-triplet name="Arial" style="normal" weight="bold"/>
  57. <font-triplet name="ArialMT" style="normal" weight="bold"/>
  58. </font>
  59. -->
  60. </fonts>
  61. <xmlHandler mime="text/svg+xml">
  62. </xmlHandler>
  63. </renderer>
  64. <renderer mime="application/ps">
  65. <xmlHandler mime="image/svg+xml">
  66. </xmlHandler>
  67. </renderer>
  68. <renderer mime="pcl">
  69. </renderer>
  70. <renderer mime="mif">
  71. </renderer>
  72. <renderer mime="text/svg+xml">
  73. <format type="paginated"/>
  74. <link value="true"/>
  75. <strokeText value="false"/>
  76. </renderer>
  77. <renderer mime="awt">
  78. </renderer>
  79. <renderer mime="text/xml">
  80. </renderer>
  81. <renderer mime="application/rtf">
  82. </renderer>
  83. <renderer mime="text/text">
  84. <pageSize columns="80"/>
  85. </renderer>
  86. </renderers>
  87. </fop>