aboutsummaryrefslogtreecommitdiffstats
path: root/fop/test/xml/bugtests/font-family.fo
diff options
context:
space:
mode:
authorGlenn Adams <gadams@apache.org>2016-03-06 06:14:41 +0000
committerGlenn Adams <gadams@apache.org>2016-03-06 06:14:41 +0000
commit57949ba0cfffa2dd5933a103c6ad867de9f1e7a0 (patch)
treecd1d8100a9135449635251820f39f272151005ac /fop/test/xml/bugtests/font-family.fo
parentc8cde713f54ca731f4a7f3bfaef8af9e8a1b9262 (diff)
downloadxmlgraphics-fop-57949ba0cfffa2dd5933a103c6ad867de9f1e7a0.tar.gz
xmlgraphics-fop-57949ba0cfffa2dd5933a103c6ad867de9f1e7a0.zip
Configure maven build.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/maven@1733788 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'fop/test/xml/bugtests/font-family.fo')
-rw-r--r--fop/test/xml/bugtests/font-family.fo76
1 files changed, 76 insertions, 0 deletions
diff --git a/fop/test/xml/bugtests/font-family.fo b/fop/test/xml/bugtests/font-family.fo
new file mode 100644
index 000000000..998458d38
--- /dev/null
+++ b/fop/test/xml/bugtests/font-family.fo
@@ -0,0 +1,76 @@
+<?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="simplePM"
+ page-height="25cm"
+ page-width="20cm"
+ margin-top="1cm"
+ margin-bottom="1cm"
+ margin-left="1.5cm"
+ margin-right="1.5cm">
+ <fo:region-body margin-top="3cm" margin-bottom="3cm"/>
+ <fo:region-before extent="2.5cm"/>
+ <fo:region-after extent="2.5cm"/>
+ </fo:simple-page-master>
+ </fo:layout-master-set>
+
+ <fo:page-sequence master-reference="simplePM">
+ <fo:flow flow-name="xsl-region-body">
+ <fo:block>
+ default:
+ </fo:block>
+ <fo:block text-align="center">
+ This is a simple fo text in FOP default font.
+ </fo:block>
+ <fo:block>
+ sans-serif:
+ </fo:block>
+ <fo:block text-align="center" font-family="sans-serif">
+ This is a simple fo text in sans-serif font.
+ </fo:block>
+
+ <fo:block>
+ monospace:
+ </fo:block>
+ <fo:block text-align="center" font-family="monospace">
+ This is a simple fo text in monospace font.
+ </fo:block>
+
+ <fo:block>
+ Courier:
+ </fo:block>
+ <fo:block text-align="center" font-family="Courier">
+ This is a simple fo text in Courier font.
+ </fo:block>
+
+ <fo:block>
+ Helvetica:
+ </fo:block>
+ <fo:block text-align="center" font-family="Helvetica">
+ This is a simple fo text in Helvetica font.
+ </fo:block>
+
+ <fo:block>
+ Symbol:
+ </fo:block>
+ <fo:block text-align="center" font-family="Symbol">
+ This is a simple fo text in Symbol font.
+ </fo:block>
+
+ <fo:block>
+ Times Roman:
+ </fo:block>
+ <fo:block text-align="center" font-family="Times Roman">
+ This is a simple fo text in Times Roman font.
+ </fo:block>
+
+ <fo:block>
+ ZapfDingbats:
+ </fo:block>
+ <fo:block text-align="center" font-family="ZapfDingbats">
+ This is a simple fo text in ZapfDingBats font.
+ </fo:block>
+
+ </fo:flow>
+ </fo:page-sequence>
+</fo:root>