Ви не можете вибрати більше 25 тем Теми мають розпочинатися з літери або цифри, можуть містити дефіси (-) і не повинні перевищувати 35 символів.

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128
  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. <!-- Base URL for resolving relative URLs -->
  12. <base>.</base>
  13. <!-- Source resolution in dpi (dots/pixels per inch) for determining the 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 target resolution for generated bitmaps, default: 72dpi -->
  16. <target-resolution>72</target-resolution>
  17. <!-- Default page-height and page-width, in case
  18. value is specified as auto -->
  19. <default-page-settings height="11in" width="8.26in"/>
  20. <!-- Information for specific renderers -->
  21. <!-- Uses renderer mime type for renderers -->
  22. <renderers>
  23. <renderer mime="application/pdf">
  24. <filterList>
  25. <!-- provides compression using zlib flate (default is on) -->
  26. <value>flate</value>
  27. <!-- encodes binary data into printable ascii characters (default off)
  28. This provides about a 4:5 expansion of data size -->
  29. <!-- <value>ascii-85</value> -->
  30. <!-- encodes binary data with hex representation (default off)
  31. This filter is not recommended as it doubles the data size -->
  32. <!-- <value>ascii-hex</value> -->
  33. </filterList>
  34. <fonts>
  35. <!-- embedded fonts -->
  36. <!--
  37. This information must exactly match the font specified
  38. in the fo file. Otherwise it will use a default font.
  39. For example,
  40. <fo:inline font-family="Arial" font-weight="bold" font-style="normal">
  41. Arial-normal-normal font
  42. </fo:inline>
  43. for the font triplet specified by:
  44. <font-triplet name="Arial" style="normal" weight="bold"/>
  45. If you do not want to embed the font in the pdf document
  46. then do not include the "embed-url" attribute.
  47. The font will be needed where the document is viewed
  48. for it to be displayed properly.
  49. possible styles: normal | italic | oblique | backslant
  50. possible weights: normal | bold | 100 | 200 | 300 | 400
  51. | 500 | 600 | 700 | 800 | 900
  52. (normal = 400, bold = 700)
  53. -->
  54. <!--
  55. <font metrics-url="arial.xml" kerning="yes" embed-url="arial.ttf">
  56. <font-triplet name="Arial" style="normal" weight="normal"/>
  57. <font-triplet name="ArialMT" style="normal" weight="normal"/>
  58. </font>
  59. <font metrics-url="arialb.xml" kerning="yes" embed-url="arialb.ttf">
  60. <font-triplet name="Arial" style="normal" weight="bold"/>
  61. <font-triplet name="ArialMT" style="normal" weight="bold"/>
  62. </font>
  63. -->
  64. </fonts>
  65. <!-- This option lets you specify additional options on an XML handler -->
  66. <!--xml-handler namespace="http://www.w3.org/2000/svg">
  67. <stroke-text>false</stroke-text>
  68. </xml-handler-->
  69. </renderer>
  70. <renderer mime="application/postscript">
  71. <!-- This option lets you specify additional options on an XML handler -->
  72. <!--xml-handler namespace="http://www.w3.org/2000/svg">
  73. <stroke-text>false</stroke-text>
  74. </xml-handler-->
  75. </renderer>
  76. <renderer mime="application/vnd.hp-PCL">
  77. </renderer>
  78. <!-- MIF does not have a renderer
  79. <renderer mime="application/vnd.mif">
  80. </renderer>
  81. -->
  82. <renderer mime="image/svg+xml">
  83. <format type="paginated"/>
  84. <link value="true"/>
  85. <strokeText value="false"/>
  86. </renderer>
  87. <renderer mime="application/awt">
  88. </renderer>
  89. <renderer mime="text/xml">
  90. </renderer>
  91. <!-- RTF does not have a renderer
  92. <renderer mime="text/rtf">
  93. </renderer>
  94. -->
  95. <renderer mime="text/plain">
  96. <pageSize columns="80"/>
  97. </renderer>
  98. </renderers>
  99. </fop>