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.

word-spacing.fo 3.7KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  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-before extent="2.5cm"/>
  12. <fo:region-body margin-top="3cm" margin-bottom="3cm"/>
  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>
  19. <fo:inline word-spacing="normal">In this text, spaces between words are normal.</fo:inline>
  20. <fo:inline word-spacing="normal">In this text, spaces between words are normal.</fo:inline>
  21. <fo:inline word-spacing="normal">In this text, spaces between words are normal.</fo:inline>
  22. <fo:inline word-spacing="normal">In this text, spaces between words are normal.</fo:inline>
  23. <fo:inline word-spacing="normal">In this text, spaces between words are normal.</fo:inline>
  24. </fo:block>
  25. <fo:block space-before.optimum="1cm">
  26. <fo:inline word-spacing="2pt">In this text, spaces between words are increased by 2pt.</fo:inline> <fo:inline word-spacing="2pt">In this text, spaces between words are increased by 2pt.</fo:inline> <fo:inline word-spacing="2pt">In this text, spaces between words are increased by 2pt.</fo:inline> <fo:inline word-spacing="2pt">In this text, spaces between words are increased by 2pt.</fo:inline> <fo:inline word-spacing="2pt">In this text, spaces between words are increased by 2pt.</fo:inline> </fo:block>
  27. <fo:block space-before.optimum="1cm">
  28. <fo:inline word-spacing="6pt">In this text, spaces between words are increased by 6pt.</fo:inline>
  29. <fo:inline word-spacing="6pt">In this text, spaces between words are increased by 6pt.</fo:inline>
  30. <fo:inline word-spacing="6pt">In this text, spaces between words are increased by 6pt.</fo:inline>
  31. <fo:inline word-spacing="6pt">In this text, spaces between words are increased by 6pt.</fo:inline>
  32. <fo:inline word-spacing="6pt">In this text, spaces between words are increased by 6pt.</fo:inline>
  33. </fo:block>
  34. <fo:block space-before.optimum="1cm">
  35. <fo:inline word-spacing="0pt">In this text, spaces between words are increased by 0pt (i.e. normally spaced).</fo:inline>
  36. <fo:inline word-spacing="0pt">In this text, spaces between words are increased by 0pt (i.e. normally spaced).</fo:inline>
  37. <fo:inline word-spacing="0pt">In this text, spaces between words are increased by 0pt (i.e. normally spaced).</fo:inline>
  38. <fo:inline word-spacing="0pt">In this text, spaces between words are increased by 0pt (i.e. normally spaced).</fo:inline>
  39. <fo:inline word-spacing="0pt">In this text, spaces between words are increased by 0pt (i.e. normally spaced).</fo:inline>
  40. </fo:block>
  41. <fo:block space-before.optimum="1cm">
  42. <fo:inline word-spacing="-2pt">In this text, spaces between words are reduced by -2pt</fo:inline> <fo:inline word-spacing="-2pt">In this text, spaces between words are reduced by -2pt</fo:inline> <fo:inline word-spacing="-2pt">In this text, spaces between words are reduced by -2pt</fo:inline> <fo:inline word-spacing="-2pt">In this text, spaces between words are reduced by -2pt</fo:inline> <fo:inline word-spacing="-2pt">In this text, spaces between words are reduced by -2pt</fo:inline> </fo:block>
  43. </fo:flow>
  44. </fo:page-sequence>
  45. </fo:root>