aboutsummaryrefslogtreecommitdiffstats
path: root/fop/test/xml/bugtests/space-treatment.fo
diff options
context:
space:
mode:
Diffstat (limited to 'fop/test/xml/bugtests/space-treatment.fo')
-rw-r--r--fop/test/xml/bugtests/space-treatment.fo39
1 files changed, 39 insertions, 0 deletions
diff --git a/fop/test/xml/bugtests/space-treatment.fo b/fop/test/xml/bugtests/space-treatment.fo
new file mode 100644
index 000000000..0df02dd34
--- /dev/null
+++ b/fop/test/xml/bugtests/space-treatment.fo
@@ -0,0 +1,39 @@
+<?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="11in"
+ page-width="8.5in"
+ margin-top="1cm"
+ margin-bottom="1cm"
+ margin-left="1in"
+ margin-right="0.75in">
+ <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 space-after.optimum="1cm">
+ The text below is in monospace font(useful for displayed formatted text, program code etc.)
+ </fo:block>
+
+ <fo:block space-before.optimum="1cm" font-family="monospace" font-size="10pt" white-space-treatment="preserve" wrap-option="no-wrap">
+OWNER MR DHARAMVEER
+ SALECHA
+
+REFER. NO. 999
+
+MAKE AUDI S4 QUATTRO
+REG. NO BS 66961 SHEET NO 00 33 03
+OPTIONS FROM VIN X_200001 LUGGAGE NET ELECTRIC FRONT SEATS
+ AUTO HEADLAMP LEVEL SPORT SEATS TRIM-JACQUARD GRAPH
+ ALTERNATOR 120 AMP 4-SPEED AUTOMATIC SPORTS SUSPENSION
+ ANTI-LOCK BRAKES ELECT STABILITY PROG SUNROOF (ACCESSORY)
+ 2.7 LTR V6
+ </fo:block>
+ </fo:flow>
+ </fo:page-sequence>
+</fo:root>