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.

font.fo 3.0KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format">
  3. <fo:layout-master-set>
  4. <fo:simple-page-master master-name="simplePM"
  5. page-height="25cm"
  6. page-width="20cm"
  7. margin-top="1cm"
  8. margin-bottom="1cm"
  9. margin-left="1.5cm"
  10. margin-right="1.5cm">
  11. <fo:region-body margin-top="3cm" margin-bottom="3cm"/>
  12. <fo:region-before extent="2.5cm"/>
  13. <fo:region-after extent="2.5cm"/>
  14. </fo:simple-page-master>
  15. </fo:layout-master-set>
  16. <fo:page-sequence master-reference="simplePM">
  17. <fo:flow flow-name="xsl-region-body">
  18. <fo:block font-family="Courier" font-size="12pt">
  19. This is a simple fo text in Courier font.
  20. </fo:block>
  21. <fo:block font-family="Courier" font-size="12pt"
  22. font-weight="bold">
  23. This is a simple fo text in bold.
  24. </fo:block>
  25. <fo:block font-family="Courier" font-size="12pt"
  26. font-style="italic">
  27. This is a simple fo text in italic.
  28. </fo:block>
  29. <fo:block font-family="Courier" font-size="12pt"
  30. font-style="italic" font-weight="bold">
  31. This is a simple fo text in italic and bold.
  32. </fo:block>
  33. <fo:block font-family="Courier" font-size="12pt"
  34. font-variant="small-caps">
  35. This is a simple fo text in small caps.
  36. </fo:block>
  37. <fo:block space-before.optimum="1cm"></fo:block>
  38. <fo:block font-family="Times" font-size="12pt">
  39. This is a simple fo text in Times font.
  40. </fo:block>
  41. <fo:block font-family="Times" font-size="12pt"
  42. font-weight="bold">
  43. This is a simple fo text in bold.
  44. </fo:block>
  45. <fo:block font-family="Times" font-size="12pt"
  46. font-style="italic">
  47. This is a simple fo text in italic.
  48. </fo:block>
  49. <fo:block font-family="Times" font-size="12pt"
  50. font-style="italic" font-weight="bold">
  51. This is a simple fo text in italic and bold.
  52. </fo:block>
  53. <fo:block font-family="Times" font-size="12pt"
  54. font-variant="small-caps">
  55. This is a simple fo text in small caps.
  56. </fo:block>
  57. <fo:block space-before.optimum="1cm"></fo:block>
  58. <fo:block font-family="Helvetica" font-size="12pt">
  59. This is a simple fo text in Helvetica font.
  60. </fo:block>
  61. <fo:block font-family="Helvetica" font-size="12pt"
  62. font-weight="bold">
  63. This is a simple fo text in bold.
  64. </fo:block>
  65. <fo:block font-family="Helvetica" font-size="12pt"
  66. font-style="italic">
  67. This is a simple fo text in italic.
  68. </fo:block>
  69. <fo:block font-family="Helvetica" font-size="12pt"
  70. font-style="italic" font-weight="bold">
  71. This is a simple fo text in italic and bold.
  72. </fo:block>
  73. <fo:block font-family="Helvetica" font-size="12pt"
  74. font-variant="small-caps">
  75. This is a simple fo text in small caps.
  76. </fo:block>
  77. </fo:flow>
  78. </fo:page-sequence>
  79. </fo:root>