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 4.9KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148
  1. <?xml version="1.0"?>
  2. <!--
  3. Licensed to the Apache Software Foundation (ASF) under one or more
  4. contributor license agreements. See the NOTICE file distributed with
  5. this work for additional information regarding copyright ownership.
  6. The ASF licenses this file to You under the Apache License, Version 2.0
  7. (the "License"); you may not use this file except in compliance with
  8. the License. You may obtain a copy of the License at
  9. http://www.apache.org/licenses/LICENSE-2.0
  10. Unless required by applicable law or agreed to in writing, software
  11. distributed under the License is distributed on an "AS IS" BASIS,
  12. WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  13. See the License for the specific language governing permissions and
  14. limitations under the License.
  15. -->
  16. <!-- $Id$ -->
  17. <!--
  18. This is an example configuration file for FOP.
  19. This file contains the same settings as the default values
  20. and will have no effect if used unchanged.
  21. Relative config url's will be resolved relative to
  22. the location of this file.
  23. -->
  24. <!-- NOTE: This is the version of the configuration -->
  25. <fop version="1.0">
  26. <!-- Base URL for resolving relative URLs -->
  27. <base>.</base>
  28. <!-- Source resolution in dpi (dots/pixels per inch) for determining the size of pixels in SVG and bitmap images, default: 72dpi -->
  29. <source-resolution>72</source-resolution>
  30. <!-- Target resolution in dpi (dots/pixels per inch) for specifying the target resolution for generated bitmaps, default: 72dpi -->
  31. <target-resolution>72</target-resolution>
  32. <!-- Default page-height and page-width, in case
  33. value is specified as auto -->
  34. <default-page-settings height="11in" width="8.26in"/>
  35. <!-- Information for specific renderers -->
  36. <!-- Uses renderer mime type for renderers -->
  37. <renderers>
  38. <renderer mime="application/pdf">
  39. <filterList>
  40. <!-- provides compression using zlib flate (default is on) -->
  41. <value>flate</value>
  42. <!-- encodes binary data into printable ascii characters (default off)
  43. This provides about a 4:5 expansion of data size -->
  44. <!-- <value>ascii-85</value> -->
  45. <!-- encodes binary data with hex representation (default off)
  46. This filter is not recommended as it doubles the data size -->
  47. <!-- <value>ascii-hex</value> -->
  48. </filterList>
  49. <fonts>
  50. <!-- embedded fonts -->
  51. <!--
  52. This information must exactly match the font specified
  53. in the fo file. Otherwise it will use a default font.
  54. For example,
  55. <fo:inline font-family="Arial" font-weight="bold" font-style="normal">
  56. Arial-normal-normal font
  57. </fo:inline>
  58. for the font triplet specified by:
  59. <font-triplet name="Arial" style="normal" weight="bold"/>
  60. If you do not want to embed the font in the pdf document
  61. then do not include the "embed-url" attribute.
  62. The font will be needed where the document is viewed
  63. for it to be displayed properly.
  64. possible styles: normal | italic | oblique | backslant
  65. possible weights: normal | bold | 100 | 200 | 300 | 400
  66. | 500 | 600 | 700 | 800 | 900
  67. (normal = 400, bold = 700)
  68. -->
  69. <!--
  70. <font metrics-url="arial.xml" kerning="yes" embed-url="arial.ttf">
  71. <font-triplet name="Arial" style="normal" weight="normal"/>
  72. <font-triplet name="ArialMT" style="normal" weight="normal"/>
  73. </font>
  74. <font metrics-url="arialb.xml" kerning="yes" embed-url="arialb.ttf">
  75. <font-triplet name="Arial" style="normal" weight="bold"/>
  76. <font-triplet name="ArialMT" style="normal" weight="bold"/>
  77. </font>
  78. -->
  79. </fonts>
  80. <!-- This option lets you specify additional options on an XML handler -->
  81. <!--xml-handler namespace="http://www.w3.org/2000/svg">
  82. <stroke-text>false</stroke-text>
  83. </xml-handler-->
  84. </renderer>
  85. <renderer mime="application/postscript">
  86. <!-- This option forces the PS renderer to rotate landscape pages -->
  87. <!--auto-rotate-landscape>true</auto-rotate-landscape-->
  88. <!-- This option lets you specify additional options on an XML handler -->
  89. <!--xml-handler namespace="http://www.w3.org/2000/svg">
  90. <stroke-text>false</stroke-text>
  91. </xml-handler-->
  92. </renderer>
  93. <renderer mime="application/vnd.hp-PCL">
  94. </renderer>
  95. <!-- MIF does not have a renderer
  96. <renderer mime="application/vnd.mif">
  97. </renderer>
  98. -->
  99. <renderer mime="image/svg+xml">
  100. <format type="paginated"/>
  101. <link value="true"/>
  102. <strokeText value="false"/>
  103. </renderer>
  104. <renderer mime="application/awt">
  105. </renderer>
  106. <renderer mime="text/xml">
  107. </renderer>
  108. <!-- RTF does not have a renderer
  109. <renderer mime="text/rtf">
  110. </renderer>
  111. -->
  112. <renderer mime="text/plain">
  113. <pageSize columns="80"/>
  114. </renderer>
  115. </renderers>
  116. </fop>