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.

userconfig.xml 3.2KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102
  1. <!--<!DOCTYPE configuration SYSTEM "config.dtd">-->
  2. <!--
  3. this file contains templates which allow an user easy
  4. configuration of Fop. Actually normally you don't need this configuration
  5. file, but if you need to change configuration, you should
  6. always use this file and *not* config.xml.
  7. Usage: java org.apache.fop.apps.Fop -c userconfig.xml -fo fo-file -pdf pdf-file
  8. -->
  9. <configuration>
  10. <!--
  11. baseDir: normally the base directory is the directory where the fo file is
  12. located. if you want to specify your own, uncomment this entry.
  13. This value can also be a URL. Actually, the value is converted to
  14. a URL.
  15. -->
  16. <!--
  17. <entry>
  18. <key>baseDir</key>
  19. <value></value>
  20. </entry>
  21. -->
  22. <!--
  23. fontBaseDir: Similar to baseDir, except that this value is used for fonts. If
  24. it isn't specified, the value from baseDir is used.
  25. -->
  26. <!--
  27. <entry>
  28. <key>fontBaseDir</key>
  29. <value></value>
  30. </entry>
  31. -->
  32. <!--
  33. ************************************************************************
  34. HYPHENATION
  35. ************************************************************************
  36. -->
  37. <!--
  38. hyphenation directory
  39. if you want to specify your own directory with hyphenation pattern
  40. then uncomment the next entry and add the directory name
  41. -->
  42. <!--
  43. <entry>
  44. <key>hyphenation-dir</key>
  45. <value>/java/xml-fop/hyph</value>
  46. </entry>
  47. -->
  48. <!--
  49. ************************************************************************
  50. Add fonts here
  51. ************************************************************************
  52. -->
  53. <fonts>
  54. <!-- example -->
  55. <!--
  56. <font metrics-file="arial.xml" kerning="yes" embed-file="arial.ttf">
  57. <font-triplet name="Arial" style="normal" weight="normal"/>
  58. <font-triplet name="ArialMT" style="normal" weight="normal"/>
  59. </font>
  60. <font metrics-file="arialb.xml" kerning="yes" embed-file="arialb.ttf">
  61. <font-triplet name="Arial" style="normal" weight="bold"/>
  62. <font-triplet name="ArialMT" style="normal" weight="bold"/>
  63. </font>
  64. <font metrics-file="ariali.xml" kerning="yes" embed-file="ariali.ttf">
  65. <font-triplet name="Arial" style="italic" weight="normal"/>
  66. <font-triplet name="ArialMT" style="italic" weight="normal"/>
  67. </font>
  68. <font metrics-file="arialbi.xml" kerning="yes" embed-file="arialbi.ttf">
  69. <font-triplet name="Arial" style="italic" weight="bold"/>
  70. <font-triplet name="ArialMT" style="italic" weight="bold"/>
  71. </font>
  72. -->
  73. <!-- Example Japanese fonts
  74. <font metrics-file="msgothic.xml" embed-file="D:\winnt\font\msgothic.ttc" kerning="yes">
  75. <font-triplet name="Gothic" style="normal" weight="normal"/>
  76. <font-triplet name="Gothic" style="normal" weight="bold"/>
  77. <font-triplet name="Gothic" style="italic" weight="normal"/>
  78. <font-triplet name="Gothic" style="italic" weight="bold"/>
  79. </font>
  80. <font metrics-file="msmincho.xml" embed-file="Cyberbit.ttf" kerning="yes">
  81. <font-triplet name="Mincho" style="normal" weight="normal"/>
  82. <font-triplet name="Mincho" style="normal" weight="bold"/>
  83. <font-triplet name="Mincho" style="italic" weight="normal"/>
  84. <font-triplet name="Mincho" style="italic" weight="bold"/>
  85. </font>
  86. -->
  87. </fonts>
  88. </configuration>