From: Steve Coffman Date: Wed, 15 Nov 2000 19:19:48 +0000 (+0000) Subject: Added Dharamveer Salecha's tests to the bugtests directory. Added ant X-Git-Tag: pre-columns~77 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=ef56fa12dac136615eb6aec97f4721dbfab48155;p=xmlgraphics-fop.git Added Dharamveer Salecha's tests to the bugtests directory. Added ant script for running them. Fixed typo in svg-apachexml.fo git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@193809 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/docs/bugtests/build.xml b/docs/bugtests/build.xml new file mode 100644 index 000000000..49cc9cdd5 --- /dev/null +++ b/docs/bugtests/build.xml @@ -0,0 +1,148 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/docs/bugtests/fo/background_color.fo b/docs/bugtests/fo/background_color.fo new file mode 100644 index 000000000..feef6e9da --- /dev/null +++ b/docs/bugtests/fo/background_color.fo @@ -0,0 +1,26 @@ + + + + + + + + + + + + + + + This is a simple fo block with red background. + + + + + diff --git a/docs/bugtests/fo/background_transparent.fo b/docs/bugtests/fo/background_transparent.fo new file mode 100644 index 000000000..3f6c474cd --- /dev/null +++ b/docs/bugtests/fo/background_transparent.fo @@ -0,0 +1,24 @@ + + + + + + + + + + + + + + This is a simple fo block with transparent background. + + + + diff --git a/docs/bugtests/fo/block-container.fo b/docs/bugtests/fo/block-container.fo new file mode 100644 index 000000000..f9e49d6ce --- /dev/null +++ b/docs/bugtests/fo/block-container.fo @@ -0,0 +1,40 @@ + + + + + + + + + + + + + + + SOLD TO + + + Akf;lhdsaf;paesifhe;oifhqewf;oiewfhefdf;lhdsfadslhkfhdsafdshSOLDTO + Akf;lhdsaf;paesifhe;oifhqewf;oiewfhefdf;lhdsfadslhkfhdsafdshSOLDTO + Akf;lhdsaf;paesifhe;oifhqewf;oiewfhefdf;lhdsfadslhkfhdsafdshSOLDTO + Akf;lhdsaf;paesifhe;oifhqewf;oiewfhefdf;lhdsfadslhkfhdsafdshSOLDTO + Akf;lhdsaf;paesifhe;oifhqewf;oiewfhefdf;lhdsfadslhkfhdsafdshSOLDTO + Akf;lhdsaf;paesifhe;oifhqewf;oiewfhefdf;lhdsfadslhkfhdsafdshSOLDTO + Akf;lhdsaf;paesifhe;oifhqewf;oiewfhefdf;lhdsfadslhkfhdsafdshSOLDTO + + + + + + BBBBBBBBBBBBBBB + + + + diff --git a/docs/bugtests/fo/block.fo b/docs/bugtests/fo/block.fo new file mode 100644 index 000000000..f77dc1765 --- /dev/null +++ b/docs/bugtests/fo/block.fo @@ -0,0 +1,24 @@ + + + + + + + + + + + + + + This is a simple fo block. + + + + diff --git a/docs/bugtests/fo/border.fo b/docs/bugtests/fo/border.fo new file mode 100644 index 000000000..0a55fde03 --- /dev/null +++ b/docs/bugtests/fo/border.fo @@ -0,0 +1,71 @@ + + + + + + + + + + + + + + This is a simple fo block. + + + + This is a simple fo block with borders. + + + + This is a simple fo block with borders. + + + + This is a simple fo block with different borders viz; + border-left-color="black" + border-left-style="solid" + border-left-width="2pt" + border-right-color="black" + border-right-style="dotted" + border-right-width="1cm" + border-top-color="black" + border-top-style="dashed" + border-top-width="5pt" + border-bottom-color="black" + border-bottom-style="double" + border-bottom-width="1in" + + + + This is a simple fo block with borders. + + + + This is a simple fo block with borders. + + + + diff --git a/docs/bugtests/fo/break-before.fo b/docs/bugtests/fo/break-before.fo new file mode 100644 index 000000000..45ff156b1 --- /dev/null +++ b/docs/bugtests/fo/break-before.fo @@ -0,0 +1,27 @@ + + + + + + + + + + + + + + This is a simple fo block. + + + This is a simple fo block on a new page due to page-break using break-before="page". + + + + diff --git a/docs/bugtests/fo/color.fo b/docs/bugtests/fo/color.fo new file mode 100644 index 000000000..8538aa315 --- /dev/null +++ b/docs/bugtests/fo/color.fo @@ -0,0 +1,38 @@ + + + + + + + + + + + + + + This is a simple fo text in red color. + + + + + This is a simple fo text in green color followed by black line. + + + + + This is a simple fo text in blue color. + This is in + the same sentence + This is text in blue again + + + + + diff --git a/docs/bugtests/fo/external-graphic.fo b/docs/bugtests/fo/external-graphic.fo new file mode 100644 index 000000000..3bdb3128f --- /dev/null +++ b/docs/bugtests/fo/external-graphic.fo @@ -0,0 +1,23 @@ + + + + + + + + + + + + + + + + + diff --git a/docs/bugtests/fo/font-family.fo b/docs/bugtests/fo/font-family.fo new file mode 100644 index 000000000..4b46449c6 --- /dev/null +++ b/docs/bugtests/fo/font-family.fo @@ -0,0 +1,76 @@ + + + + + + + + + + + + + + default: + + + This is a simple fo text in FOP default font. + + + sans-serif: + + + This is a simple fo text in sans-serif font. + + + + monospace: + + + This is a simple fo text in monospace font. + + + + Courier: + + + This is a simple fo text in Courier font. + + + + Helvetica: + + + This is a simple fo text in Helvetica font. + + + + Symbol: + + + This is a simple fo text in Symbol font. + + + + Times Roman: + + + This is a simple fo text in Times Roman font. + + + + ZapfDingbats: + + + This is a simple fo text in ZapfDingBats font. + + + + + diff --git a/docs/bugtests/fo/font-size.fo b/docs/bugtests/fo/font-size.fo new file mode 100644 index 000000000..1ba4bb14f --- /dev/null +++ b/docs/bugtests/fo/font-size.fo @@ -0,0 +1,53 @@ + + + + + + + + + + + + + + This is a simple fo text in FOP default font size and default font. + + + + This is a simple fo text in 8pt font Courier. + + + This is a simple fo text in 10pt font. + + + This is a simple fo text in 12pt font. + + + This is a simple fo text in 14pt font. + + + This is a simple fo text in 16pt font. + + + This is a simple fo text in 18pt font. + + + This is a simple fo text in 20pt font. + + + This is a simple fo text in 24pt font. + + + This is a simple fo text in 32pt font. + + + + + diff --git a/docs/bugtests/fo/font.fo b/docs/bugtests/fo/font.fo new file mode 100644 index 000000000..d9ab2da4b --- /dev/null +++ b/docs/bugtests/fo/font.fo @@ -0,0 +1,85 @@ + + + + + + + + + + + + + + This is a simple fo text in Courier font. + + + This is a simple fo text in bold. + + + This is a simple fo text in italic. + + + This is a simple fo text in italic and bold. + + + This is a simple fo text in small caps. + + + + + + This is a simple fo text in Times font. + + + This is a simple fo text in bold. + + + This is a simple fo text in italic. + + + This is a simple fo text in italic and bold. + + + This is a simple fo text in small caps. + + + + + + This is a simple fo text in Helvetica font. + + + This is a simple fo text in bold. + + + This is a simple fo text in italic. + + + This is a simple fo text in italic and bold. + + + This is a simple fo text in small caps. + + + + + diff --git a/docs/bugtests/fo/header_footer.fo b/docs/bugtests/fo/header_footer.fo new file mode 100644 index 000000000..22dc945e2 --- /dev/null +++ b/docs/bugtests/fo/header_footer.fo @@ -0,0 +1,137 @@ + + + + + + + + + + + + + + + + Left + + + + + Center + + + + + Right + + + + + + + + + + Left + + + + + Center + + + + + Right + + + + + + + + There is top-margin for body region.This is bcos margin-top for body is greater than extent of region-before. + + + There is NO bottom-margin for body region. Bcos margin-bottom for body = extent for region-after. + + + + + The fo:static-content formatting object holds a sequence or a tree of formatting objects that is to be presented in a single region or repeated in like-named regions on one or more pages in the page-sequence. Its common use is for repeating or running headers and footers. + + + This content is repeated, in its entirety, on every page to which it is assigned. + + + This content is repeated, in its entirety, on every page to which it is assigned. + + + This content is repeated, in its entirety, on every page to which it is assigned. + + + This content is repeated, in its entirety, on every page to which it is assigned. + + + This content is repeated, in its entirety, on every page to which it is assigned. + + + This content is repeated, in its entirety, on every page to which it is assigned. + + + This content is repeated, in its entirety, on every page to which it is assigned. + + + This content is repeated, in its entirety, on every page to which it is assigned. + + + This content is repeated, in its entirety, on every page to which it is assigned. + + + This content is repeated, in its entirety, on every page to which it is assigned. + + + This content is repeated, in its entirety, on every page to which it is assigned. + + + This content is repeated, in its entirety, on every page to which it is assigned. + + + This content is repeated, in its entirety, on every page to which it is assigned. + + + This content is repeated, in its entirety, on every page to which it is assigned. + + + This content is repeated, in its entirety, on every page to which it is assigned. + + + This content is repeated, in its entirety, on every page to which it is assigned. + + + This content is repeated, in its entirety, on every page to which it is assigned. + + +The fo:static-content formatting object does not generate any areas. The fo:static-content formatting object returns the sequence of areas created by concatenating the sequences of areas returned by each of the children of the fo:static-content. The order of concatenation is the same order as the children are ordered under the fo:static-content. + + +The fo:static-content formatting object does not generate any areas. The fo:static-content formatting object returns the sequence of areas created by concatenating the sequences of areas returned by each of the children of the fo:static-content. The order of concatenation is the same order as the children are ordered under the fo:static-content. + + +The fo:static-content formatting object does not generate any areas. The fo:static-content formatting object returns the sequence of areas created by concatenating the sequences of areas returned by each of the children of the fo:static-content. The order of concatenation is the same order as the children are ordered under the fo:static-content. + + +The fo:static-content formatting object does not generate any areas. The fo:static-content formatting object returns the sequence of areas created by concatenating the sequences of areas returned by each of the children of the fo:static-content. The order of concatenation is the same order as the children are ordered under the fo:static-content. + + + + + + diff --git a/docs/bugtests/fo/image.fo b/docs/bugtests/fo/image.fo new file mode 100644 index 000000000..8d1569693 --- /dev/null +++ b/docs/bugtests/fo/image.fo @@ -0,0 +1,43 @@ + + + + + + + + + + + + + + + + + height=3in width=3in + + + + + height="3in" + + + + + width="1.5in" + + + + + height="6in" width="4in" + + + + + diff --git a/docs/bugtests/fo/indent.fo b/docs/bugtests/fo/indent.fo new file mode 100644 index 000000000..e415f8115 --- /dev/null +++ b/docs/bugtests/fo/indent.fo @@ -0,0 +1,55 @@ + + + + + + + + + + + + + + This is a simple fo block with justify indented in the start. + This is a simple fo block indented in the start. + This is a simple fo block indented in the start. + This is a simple fo block indented in the start. + This is a simple fo block indented in the start. + This is a simple fo block indented in the start. + + + This is a simple fo block with justify indented in the end. + This is a simple fo block indented in the end. + This is a simple fo block indented in the end. + This is a simple fo block indented in the end. + This is a simple fo block indented in the end. + This is a simple fo block indented in the end. + + + This is a simple fo block indented in the start. + This is a simple fo block indented in the start. + This is a simple fo block indented in the start. + This is a simple fo block indented in the start. + This is a simple fo block indented in the start. + This is a simple fo block indented in the start. + This is a simple fo block indented in the start. + + + This is a simple fo block indented in the end. + This is a simple fo block indented in the end. + This is a simple fo block indented in the end. + This is a simple fo block indented in the end. + This is a simple fo block indented in the end. + This is a simple fo block indented in the end. + This is a simple fo block indented in the end. + + + + diff --git a/docs/bugtests/fo/inline.fo b/docs/bugtests/fo/inline.fo new file mode 100644 index 000000000..3b1e92150 --- /dev/null +++ b/docs/bugtests/fo/inline.fo @@ -0,0 +1,25 @@ + + + + + + + + + + + + + + The sentence is + in the same line. + + + + diff --git a/docs/bugtests/fo/keep-with-next.fo b/docs/bugtests/fo/keep-with-next.fo new file mode 100644 index 000000000..b17d0ed76 --- /dev/null +++ b/docs/bugtests/fo/keep-with-next.fo @@ -0,0 +1,88 @@ + + + + + + + + + + + + + + F I N A L C A L C U L A T I O N AUD $ AUD $ + ---------------------------------- + L A B O U R TIME BASIS 10 WU = 1 HR + TOTAL 33 WU X 20.00AUD $/WU 660.00 + TOTAL LABOUR................................................. 660.00 + P A I N T W O R K + LABOUR COST 210.00 + MATERIAL COST 163.20 + TOTAL PAINT.................................................. 373.20 + P A R T S 425.00 + SUNDRY PARTS ( 2.0%) 8.50 + TOTAL PARTS.................................................. 433.50 + R E P A I R C O S T S....................................... 1 466.70 + ---------------------- +C O M M E N T S : +E-PART PRICES = MANUFACTURERS RRP. *-POSITION = USER SUPPLIED DATA +E-PART NUMBER IS NOT ORDER NUMBER NN = NO MANUFACTURERS CODE EXISTS +SKEZAX=WORKING UNITS AS PER AUDATEX )=WU PARTIAL INCL IN OTHER POSITIONS +C O N T R O L - I N F O R M A T I O N NO 666 25.08.2000 +OWNER MRS SARAH + SCHAER GUNDELDINGERSTRASSE 131 + 4053 BASEL +REFER. NO. 999 +MAKE AUDI S4 QUATTRO +REG. NO BS 66961 SHEET NO 00 33 03 +FIRST REG. 08.2000 NAECH HU 08.2000 +INSP DATE 24.08.2000 ACC DATE 24.08.2000 +REPAIRER ZICK ZACK 061/ 361 76 06 + MR. MEIER ZOLLSTRASSE 62 + 8000 ZUERICH +REP TIME . DAYS +CU-NO / CUSTOMER-CODE : 004001 ZATEST01 CLASSDIRECT REL 2.9 +QUOTE DATE : 25.08.2000 +MO-CODE +- MODEL-OPTIONS : E3 F3 I4 I7 J6 K2 M8 P8 Q6 Q7 V3 V6 W4 Z8 +PARTS / PAINTING +- REP-METHOD/CODE-NO : N 0741 LO + + + + The following is the control page for the Repair Assessment. It includes the + Owner, Reference No, Make, Reg No, and Options. + + + +R E P A I R /-/ A S S E S S M E N T NO 666 25.08.2000 +OWNER MRS SARAH + SCHAER GUNDELDINGERSTRASSE 131 + 4053 BASEL +REFER. NO. 999 + +MAKE AUDI S4 QUATTRO +REG. NO BS 66961 SHEET NO 00 33 03 +FIRST REG. 08.2000 NAECH HU 08.2000 +INSP DATE 24.08.2000 ACC DATE 24.08.2000 +REPAIRER ZICK ZACK 061/ 361 76 06 + MR. MEIER ZOLLSTRASSE 62 + 8000 ZUERICH +REP TIME . DAYS + +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 + + + + diff --git a/docs/bugtests/fo/leader.fo b/docs/bugtests/fo/leader.fo new file mode 100644 index 000000000..b7507e999 --- /dev/null +++ b/docs/bugtests/fo/leader.fo @@ -0,0 +1,24 @@ + + + + + + + + + + + + + + + + + + diff --git a/docs/bugtests/fo/letter-spacing.fo b/docs/bugtests/fo/letter-spacing.fo new file mode 100644 index 000000000..f871ee758 --- /dev/null +++ b/docs/bugtests/fo/letter-spacing.fo @@ -0,0 +1,59 @@ + + + + + + + + + + + + + + This text is normally spaced. + This text is normally spaced. + This text is normally spaced. + This text is normally spaced. + This text is normally spaced. + + + + + This text has inter-character intervals increased by 1pt. + This text has inter-character intervals increased by 1pt. + This text has inter-character intervals increased by 1pt. + This text has inter-character intervals increased by 1pt. + + + + + This text has inter-character intervals increased by 8pt. + This text has inter-character intervals increased by 8pt. + This text has inter-character intervals increased by 8pt. + This text has inter-character intervals increased by 8pt. + + + + This text has inter-character intervals increased by 0pt (i.e. normally spaced). + This text has inter-character intervals increased by 0pt (i.e. normally spaced). + This text has inter-character intervals increased by 0pt (i.e. normally spaced). + This text has inter-character intervals increased by 0pt (i.e. normally spaced). + + + + This text has inter-character intervals increased by reduced by -1pt. + This text has inter-character intervals increased by reduced by -1pt. + This text has inter-character intervals increased by reduced by -1pt. + This text has inter-character intervals increased by reduced by -1pt. + + + + + diff --git a/docs/bugtests/fo/line-height.fo b/docs/bugtests/fo/line-height.fo new file mode 100644 index 000000000..eeb29bc04 --- /dev/null +++ b/docs/bugtests/fo/line-height.fo @@ -0,0 +1,108 @@ + + + + + + + + + + + + + + + Absolute Values + + + + + + This text has a fixed line height of 12pt and its font size is 8pt. + This text has a fixed line height of 12pt and its font size is 8pt. + This text has a fixed line height of 12pt and its font size is 8pt. + This text has a fixed line height of 12pt and its font size is 8pt. + This text has a fixed line height of 12pt and its font size is 8pt. + + + + + This text has a fixed line height of 12pt and its font size is 12pt. + This text has a fixed line height of 12pt and its font size is 12pt. + This text has a fixed line height of 12pt and its font size is 12pt. + This text has a fixed line height of 12pt and its font size is 12pt. + This text has a fixed line height of 12pt and its font size is 12pt. + + + + + This text has a fixed line height of 12pt and its font size is 16pt. + This text has a fixed line height of 12pt and its font size is 16pt. + This text has a fixed line height of 12pt and its font size is 16pt. + This text has a fixed line height of 12pt and its font size is 16pt. + This text has a fixed line height of 12pt and its font size is 16pt. + + + + + Relative Values + + + + + This text has a normal line height at font size of 10pt. + This text has a normal line height at font size of 10pt. + This text has a normal line height at font size of 10pt. + This text has a normal line height at font size of 10pt. + This text has a normal line height at font size of 10pt. + + + + This text has a normal line height at font size of 14pt. + This text has a normal line height at font size of 14pt. + This text has a normal line height at font size of 14pt. + This text has a normal line height at font size of 14pt. + This text has a normal line height at font size of 14pt. + + + + This text is single-spaced at font size of 10pt. + This text is single-spaced at font size of 10pt. + This text is single-spaced at font size of 10pt. + This text is single-spaced at font size of 10pt. + This text is single-spaced at font size of 10pt. + + + + This text is single-spaced at font size of 14pt. + This text is single-spaced at font size of 14pt. + This text is single-spaced at font size of 14pt. + This text is single-spaced at font size of 14pt. + This text is single-spaced at font size of 14pt. + + + + This text is double-spaced at font size of 10pt. + This text is double-spaced at font size of 10pt. + This text is double-spaced at font size of 10pt. + This text is double-spaced at font size of 10pt. + This text is double-spaced at font size of 10pt. + + + + This text is double-spaced at font size of 14pt. + This text is double-spaced at font size of 14pt. + This text is double-spaced at font size of 14pt. + This text is double-spaced at font size of 14pt. + This text is double-spaced at font size of 14pt. + + + + + diff --git a/docs/bugtests/fo/padding.fo b/docs/bugtests/fo/padding.fo new file mode 100644 index 000000000..8475a5306 --- /dev/null +++ b/docs/bugtests/fo/padding.fo @@ -0,0 +1,88 @@ + + + + + + + + + + + + + + + Extensible Markup Language (XML) 1.0 with padding + + + + Extensible Markup Language (XML) 1.0 without padding + + + + + This block-container has a top padding of 1 cm. + + + + + + bottom padding of 1 cm. + + + + + + left padding of 1 cm. + + + + + + right padding of 1 cm. + + + + + + This block-container has a before padding of 1 cm. + + + + + + after padding of 1 cm. + + + + + + start padding of 1 cm. + + + + + + end padding of 1 cm. + + + + + diff --git a/docs/bugtests/fo/page-number.fo b/docs/bugtests/fo/page-number.fo new file mode 100644 index 000000000..13fb110b9 --- /dev/null +++ b/docs/bugtests/fo/page-number.fo @@ -0,0 +1,24 @@ + + + + + + + + + + + + + + This is Page Number . + + + + diff --git a/docs/bugtests/fo/rule.fo b/docs/bugtests/fo/rule.fo new file mode 100644 index 000000000..c0a3032d6 --- /dev/null +++ b/docs/bugtests/fo/rule.fo @@ -0,0 +1,85 @@ + + + + + + + + + + + + + + leader-pattern="rule" rule-style="solid" rule-thickness="0.5pt" + + + + + + + + + + + + + + + + leader-pattern="rule" rule-style="dotted" rule-thickness="0.5pt" + + + + + + + + + + + + + + + + leader-pattern="rule" rule-dashed="dotted" rule-thickness="0.5pt" + + + + + + + + + + + + + + + + leader-pattern="rule" rule-style="double" rule-thickness="0.5pt" + + + + + + + + + + + + + + + + + diff --git a/docs/bugtests/fo/simple-link.fo b/docs/bugtests/fo/simple-link.fo new file mode 100644 index 000000000..da4767024 --- /dev/null +++ b/docs/bugtests/fo/simple-link.fo @@ -0,0 +1,29 @@ + + + + + + + + + + + + + + Link to font.pdf + + + + Link to Wilco International + + + + + diff --git a/docs/bugtests/fo/space-treatment.fo b/docs/bugtests/fo/space-treatment.fo new file mode 100644 index 000000000..29cf8e2df --- /dev/null +++ b/docs/bugtests/fo/space-treatment.fo @@ -0,0 +1,39 @@ + + + + + + + + + + + + + + The text below is in monospace font(useful for displayed formatted text, program code etc.) + + + +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 + + + + diff --git a/docs/bugtests/fo/space.fo b/docs/bugtests/fo/space.fo new file mode 100644 index 000000000..f95567595 --- /dev/null +++ b/docs/bugtests/fo/space.fo @@ -0,0 +1,67 @@ + + + + + + + + + + + + + + space-after.optimum="1cm" + This is a simple fo block. + This is a simple fo block. + This is a simple fo block. + This is a simple fo block. + + + This is a simple fo block. + This is a simple fo block. + This is a simple fo block. + This is a simple fo block. + + + space-before.optimum="1cm" space-after.optimum="1cm" + This is a simple fo block. + This is a simple fo block. + This is a simple fo block. + This is a simple fo block. + + + space-before.optimum="1cm" space-after.optimum="1cm" + This is a simple fo block. + This is a simple fo block. + This is a simple fo block. + This is a simple fo block. + + + This is a simple fo block. + This is a simple fo block. + This is a simple fo block. + This is a simple fo block. + + + space-before.optimum="1cm" + This is a simple fo block. + This is a simple fo block. + This is a simple fo block. + This is a simple fo block. + + + This is a simple fo block. + This is a simple fo block. + This is a simple fo block. + This is a simple fo block. + + + + diff --git a/docs/bugtests/fo/text-align.fo b/docs/bugtests/fo/text-align.fo new file mode 100644 index 000000000..7efcf621a --- /dev/null +++ b/docs/bugtests/fo/text-align.fo @@ -0,0 +1,42 @@ + + + + + + + + + + + + + + This is a simple fo block. + + + This is a simple fo block with text aligned to start. + dfdsfaaaaafdsfasdf fadsfadsssf fadsfdsfadsf dfadsfdfasdsfsd dsfadfdsfadsfadsfdf + dfdsfaaaaafdsfasdf fadsfadsssf fadsfdsfadsf dfadsfdfasdsfsd dsfadfdsfadsfadsfdf + dfdsfaaaaafdsfasdf fadsfadsssf fadsfdsfadsf dfadsfdfasdsfsd dsfadfdsfadsfadsfdf + + + This is a simple fo block with text justified. + dfdsfaaaaafdsfasdf fadsfadsssf fadsfdsfadsf dfadsfdfasdsfsd dsfadfdsfadsfadsfdf + dfdsfaaaaafdsfasdf fadsfadsssf fadsfdsfadsf dfadsfdfasdsfsd dsfadfdsfadsfadsfdf + dfdsfaaaaafdsfasdf fadsfadsssf fadsfdsfadsf dfadsfdfasdsfsd dsfadfdsfadsfadsfdf + + + This is a simple fo block with text aligned to end. + dfdsfaaaaafdsfasdf fadsfadsssf fadsfdsfadsf dfadsfdfasdsfsd dsfadfdsfadsfadsfdf + dfdsfaaaaafdsfasdf fadsfadsssf fadsfdsfadsf dfadsfdfasdsfsd dsfadfdsfadsfadsfdf + dfdsfaaaaafdsfasdf fadsfadsssf fadsfdsfadsf dfadsfdfasdsfsd dsfadfdsfadsfadsfdf + + + + diff --git a/docs/bugtests/fo/text-decoration.fo b/docs/bugtests/fo/text-decoration.fo new file mode 100644 index 000000000..29668f2b6 --- /dev/null +++ b/docs/bugtests/fo/text-decoration.fo @@ -0,0 +1,30 @@ + + + + + + + + + + + + + + This is a simple fo text. + + This is a simple fo text and underlined. + + + This is a simple fo text and line-through. + + + + + diff --git a/docs/bugtests/fo/text-indent.fo b/docs/bugtests/fo/text-indent.fo new file mode 100644 index 000000000..3b8147cc6 --- /dev/null +++ b/docs/bugtests/fo/text-indent.fo @@ -0,0 +1,36 @@ + + + + + + + + + + + + + + This text is formatted into a left-justified paragraph. + The first line has an indent of 1 inch from the left. + + This text is formatted into a left-justified paragraph. + The first line has an indent of 1 inch from the left. + + + + This text is formatted into a left-justified paragraph. + The first line has an indent of 30% from the left. + + This text is formatted into a left-justified paragraph. + The first line has an indent of 30% inch from the left. + + + + diff --git a/docs/bugtests/fo/word-spacing.fo b/docs/bugtests/fo/word-spacing.fo new file mode 100644 index 000000000..09c65dd84 --- /dev/null +++ b/docs/bugtests/fo/word-spacing.fo @@ -0,0 +1,50 @@ + + + + + + + + + + + + + + In this text, spaces between words are normal. + In this text, spaces between words are normal. + In this text, spaces between words are normal. + In this text, spaces between words are normal. + In this text, spaces between words are normal. + + + + In this text, spaces between words are increased by 2pt. In this text, spaces between words are increased by 2pt. In this text, spaces between words are increased by 2pt. In this text, spaces between words are increased by 2pt. In this text, spaces between words are increased by 2pt. + + + In this text, spaces between words are increased by 6pt. + In this text, spaces between words are increased by 6pt. + In this text, spaces between words are increased by 6pt. + In this text, spaces between words are increased by 6pt. + In this text, spaces between words are increased by 6pt. + + + + In this text, spaces between words are increased by 0pt (i.e. normally spaced). + In this text, spaces between words are increased by 0pt (i.e. normally spaced). + In this text, spaces between words are increased by 0pt (i.e. normally spaced). + In this text, spaces between words are increased by 0pt (i.e. normally spaced). + In this text, spaces between words are increased by 0pt (i.e. normally spaced). + + + + In this text, spaces between words are reduced by -2pt In this text, spaces between words are reduced by -2pt In this text, spaces between words are reduced by -2pt In this text, spaces between words are reduced by -2pt In this text, spaces between words are reduced by -2pt + + + diff --git a/docs/bugtests/fo/wrap.fo b/docs/bugtests/fo/wrap.fo new file mode 100644 index 000000000..1e2639055 --- /dev/null +++ b/docs/bugtests/fo/wrap.fo @@ -0,0 +1,35 @@ + + + + + + + + + + + + + + This is a simple fo block.This is a simple fo block.This is a simple fo block. + This is a simple fo block.This is a simple fo block.This is a simple fo block. + This is a simple fo block.This is a simple fo block.This is a simple fo block. + This is a simple fo block.This is a simple fo block.This is a simple fo block. + + + This is a simple fo block.This is a simple fo block.This is a simple fo block. + This is a simple fo block.This is a simple fo block.This is a simple fo block. + This is a simple fo block.This is a simple fo block.This is a simple fo block. + + This is simple fo block.This is simple fo block.This is simple fo block.This is simple fo block. + This is simple fo block.This is simple fo block.This is simple fo block.This is simple fo block. + + + + diff --git a/docs/bugtests/runtests.bat b/docs/bugtests/runtests.bat new file mode 100755 index 000000000..ecd04d8dc --- /dev/null +++ b/docs/bugtests/runtests.bat @@ -0,0 +1,27 @@ +@echo off + +echo Fop Test +echo ---------------- + +if "%JAVA_HOME%" == "" goto error + + +set LOCALCLASSPATH=%JAVA_HOME%\lib\tools.jar;%JAVA_HOME%\lib\classes.zip;..\..\lib\ant.jar;..\..\lib;..\..\lib\w3c.jar;..\..\build\fop.jar +set ANT_HOME=..\..\lib + +echo Starting Tests ... + +%JAVA_HOME%\bin\java.exe -Dant.home=%ANT_HOME% -classpath %LOCALCLASSPATH%;%CLASSPATH% org.apache.tools.ant.Main %1 %2 %3 %4 %5 + +goto end + +:error + +echo ERROR: JAVA_HOME not found in your environment. +echo Please, set the JAVA_HOME variable in your environment to match the +echo location of the Java Virtual Machine you want to use. + +:end + +rem set LOCALCLASSPATH= + diff --git a/docs/bugtests/runtests.sh b/docs/bugtests/runtests.sh new file mode 100755 index 000000000..34a2e403c --- /dev/null +++ b/docs/bugtests/runtests.sh @@ -0,0 +1,25 @@ +#!/bin/sh + +echo +echo "Fop Test" +echo "----------------" +echo + +if [ "$JAVA_HOME" = "" ] ; then + echo "ERROR: JAVA_HOME not found in your environment." + echo + echo "Please, set the JAVA_HOME variable in your environment to match the" + echo "location of the Java Virtual Machine you want to use." + exit 1 +fi + +LOCALCLASSPATH=$JAVA_HOME/lib/tools.jar:$JAVA_HOME/lib/classes.zip:../../lib/ant.jar:../../lib:../../build/fop.jar:../../lib/w3c.jar +ANT_HOME=../../lib + +echo Building with classpath $CLASSPATH:$LOCALCLASSPATH +echo + +echo Starting Tests... +echo + +$JAVA_HOME/bin/java -Dant.home=$ANT_HOME -classpath "$LOCALCLASSPATH:$CLASSPATH" org.apache.tools.ant.Main $* diff --git a/docs/bugtests/svg-apachexml.fo b/docs/bugtests/svg-apachexml.fo index 264502fc4..1a4a2c7a7 100644 --- a/docs/bugtests/svg-apachexml.fo +++ b/docs/bugtests/svg-apachexml.fo @@ -187,7 +187,7 @@ l0.857,0.315l0.925,0.232l0.94,0.308l0.925,0.313l1.008,0.31l0.928,0.308l1.008,0.31v1.628v1.78l0.085,2.021l0.078,2.09l0.078,2.092l0.076,2.173l0.237,2.251l0.229,2.087l0.315,2.097l0.31,1.936l0.471,1.865l0.542,1.628l0.625,1.392l0.776,1.167l0.854,0.85 l0.93,0.54z"/> - + diff --git a/docs/graphics/page.gif b/docs/graphics/page.gif new file mode 100644 index 000000000..1b691ebf4 Binary files /dev/null and b/docs/graphics/page.gif differ