aboutsummaryrefslogtreecommitdiffstats
path: root/docs/examples/fo/fonts.fo
diff options
context:
space:
mode:
Diffstat (limited to 'docs/examples/fo/fonts.fo')
-rw-r--r--docs/examples/fo/fonts.fo43
1 files changed, 20 insertions, 23 deletions
diff --git a/docs/examples/fo/fonts.fo b/docs/examples/fo/fonts.fo
index cda97fd27..8e6e42e46 100644
--- a/docs/examples/fo/fonts.fo
+++ b/docs/examples/fo/fonts.fo
@@ -1,29 +1,26 @@
<?xml version="1.0" encoding="utf-8"?>
+
<fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format">
-<fo:layout-master-set>
-<fo:simple-page-master master-name="first" height="29.7cm" width="21cm" margin-top="1cm" margin-bottom="2cm" margin-left="2.5cm" margin-right="2.5cm">
-<fo:region-before extent="3cm"/>
-<fo:region-body margin-top="3cm"/>
-<fo:region-after extent="1.5cm"/>
-</fo:simple-page-master>
-<fo:simple-page-master master-name="rest" height="29.7cm" width="21cm" margin-top="1cm" margin-bottom="2cm" margin-left="2.5cm" margin-right="2.5cm">
-<fo:region-before extent="2.5cm"/>
-<fo:region-body margin-top="2.5cm"/>
-<fo:region-after extent="1.5cm"/>
-</fo:simple-page-master>
- <fo:page-sequence-master master-name="firstAndRest">
- <fo:repeatable-page-master-alternatives>
- <fo:conditional-page-master-reference master-name="first"
- page-position="first" />
- <fo:conditional-page-master-reference master-name="rest"
- page-position="rest" />
- <!-- recommended fallback procedure -->
- <fo:conditional-page-master-reference master-name="rest" />
- </fo:repeatable-page-master-alternatives>
- </fo:page-sequence-master>
-</fo:layout-master-set>
-<fo:page-sequence master-name="firstAndRest">
+ <!-- defines the layout master -->
+ <fo:layout-master-set>
+ <fo:simple-page-master master-name="first"
+ page-height="29.7cm"
+ page-width="21cm"
+ margin-top="1cm"
+ margin-bottom="2cm"
+ margin-left="2.5cm"
+ margin-right="2.5cm">
+ <fo:region-body margin-top="3cm"/>
+ <fo:region-before extent="3cm"/>
+ <fo:region-after extent="1.5cm"/>
+ </fo:simple-page-master>
+ </fo:layout-master-set>
+
+ <!-- starts actual layout -->
+ <fo:page-sequence master-name="first">
+
+
<fo:flow flow-name="xsl-region-body">
<fo:block font-family="Helvetica" font-size="14pt">