From: William Victor Mote Date: Sat, 30 Nov 2002 08:54:26 +0000 (+0000) Subject: white-space and line-ending fixes X-Git-Tag: Alt-Design-integration-base~286 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=701271c9574a3af46c3b870e01fe1df8f234573e;p=xmlgraphics-fop.git white-space and line-ending fixes git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@195685 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/CHANGES b/CHANGES index 06e6efdee..3554f72e2 100644 --- a/CHANGES +++ b/CHANGES @@ -100,7 +100,7 @@ user config (KLiddle) Submitted by: Jeremias Maerki - (Options.java) fixed error where configfile was not being set (KLiddle) - (Options.java) Added patch for loading config via Thread ContextClassLoader -Submitted by: Davanum Srinivas +Submitted by: Davanum Srinivas - (StreamRenderer.java) This just moves the marker supporting code from before Mark's patch into StreamRenderer. Not tested. (SCoffman) @@ -244,7 +244,7 @@ draw filled rectangles without any stroke in PDF; in doFrame, use rectangles instead of lines for borders to eliminate pixel errors (KLease) - (awt.AWTRenderer.java) updated to new batik interface (KLiddle) improvements to AWTRenderer (borders,backgrounds...) -(Ralph LaChance/Andy Langowitz): +(Ralph LaChance/Andy Langowitz): [ AWTRenderers (-awt and -print options) - eliminated 3D-effect in rendering background color - borders now draw wider than 1 pixel if appropriate @@ -474,7 +474,7 @@ and acrobat reports that the font can't be displayed. (KCampbell) - (TestConverter.java) fixes a problem relating to rendering options for xml renderer (KLiddle) -test/Testing: +test/Testing: - testing system, for use with the w3c defined testsuite.dtd including our tests (KLiddle) - added some simple test files with blocks (KLiddle) @@ -493,39 +493,39 @@ Done since 0.17 release - added: a bunch more properties on svg elements [Keiron Liddle] - added: subset fonts embedding [Tore Engvig] - added: Dutch hyphenation file [Reinout Verkerk] -- added: Fop is now self-contained (all necessary jar files included) and - a runnable jar (can be started with java -jar fop.jar) [Kelly Campbell] +- added: Fop is now self-contained (all necessary jar files included) and + a runnable jar (can be started with java -jar fop.jar) [Kelly Campbell] - added: support for border and padding shorthand properties [Karen Lease] - added: use of property manager, new properties handling [Karen Lease] - added: support for region-start, region-end [Arved Sandstrom] - added: to migrate FOP to use the svg facilities from Batik in a special cvs branch [Keiron Liddle] - added: enabling CID keyed truetype fonts; this gives support for other encodings besides WinAnsiEncoding (eg japanese, chinese, arabic, - iso-whatever, etc). Also makes font inclusion easier [Tore Engvig] + iso-whatever, etc). Also makes font inclusion easier [Tore Engvig] - added: new font configuration [Fotis Jannidis] - added: support for body-start and label-end in lists [Peter S. Housel] - added: support for non-rotated arcs in svg [Keiron Liddle] - added: break before and break after for table rows [Keiron Liddle] -- added: error is reported if the number of columns the cells are using is +- added: error is reported if the number of columns the cells are using is different to the number of columns in the table [Keiron Liddle] - updated: better handling of svg properties using xsl conversion to svgproperties [Keiron Liddle] -- updated: the FOP build to fix the problems of the output location for the - property code generation. updated ant.jar to version 1.3, - added all needed jar files [Kelly Campbell] -- changed: cleaned up renderWordArea. removed unused code. - optimized object creation a little. [Kelly Campbell] -- changed: refactored FontState so it doesn't do excessive font lookups per character [Kelly Campbell] -- changed: Driver to make embedding Fop easier [Kelly Campbell] +- updated: the FOP build to fix the problems of the output location for the + property code generation. updated ant.jar to version 1.3, + added all needed jar files [Kelly Campbell] +- changed: cleaned up renderWordArea. removed unused code. + optimized object creation a little. [Kelly Campbell] +- changed: refactored FontState so it doesn't do excessive font lookups per character [Kelly Campbell] +- changed: Driver to make embedding Fop easier [Kelly Campbell] - changed: apps package and commandline usage of Fop [Fotis Jannidis] -- changed: adding a PrintRenderer for all print oriented renderers [Art Welch] +- changed: adding a PrintRenderer for all print oriented renderers [Art Welch] - fixed: problems if calculated leader-length < 0 [Fotis Jannidis] - fixed: fixes problem with page break after last row of table body [Keiron Liddle] - fixed: fixed svg placement bug, now puts the image at the correct offset [Keiron Liddle] - fixed: broken support of jdk 1.1 [Art Welch] - fixed: xalan 1 support works again, was broken after changes in apps [Kelly Campbell] - fixed: properly adjusts the max height of table parts, when a footnote is added - table will not overlap with the footnote [Keiron Liddle] -- fixed: hexadecimal escape sequences in dutch hyphenation file converted + table will not overlap with the footnote [Keiron Liddle] +- fixed: hexadecimal escape sequences in dutch hyphenation file converted to iso-latin-1 [Carlos Villegas] - fixed: the typos in the fonts example in the userconfig.xml and optimized conversions to String in TTFReader and use of StringBuffer [Alain Fagot] @@ -533,9 +533,9 @@ Done since 0.17 release - fixed: put text-anchor in the correct place [Keiron Liddle] - fixed: InstreamForeignObject checks for no more room in block area [Keiron Liddle] - fixed: false border rendering for PCL renderer [Art Welch] -- fixed: added default producer to fix a bug where the PDF producer is set to null in the default +- fixed: added default producer to fix a bug where the PDF producer is set to null in the default commandline usage. [Kelly Campbell] -- fixed: Made logging go to the same stream (out) for pages and the newline after a page +- fixed: Made logging go to the same stream (out) for pages and the newline after a page sequence. The newline was previously going to the err stream. [Kelly Campbell] @@ -551,7 +551,7 @@ Done since 0.16 release docs/examples/fo/pdfoutline.fo [Kelly Campbell] - added: some text rendering optimizations for PDF [Kelly Campbell] - added: limited support for fo:wrapper [Kelly Campbell] -- added: support in pdfrenderer for using TrueType fonts, and embedding of TrueType +- added: support in pdfrenderer for using TrueType fonts, and embedding of TrueType and Type1 fonts, and support for kerning [Tore Engvig] - added: further support for complete font handling in pdf renderer [Alain Fagot] - added: support for fo:footnote, fo:footnote-body [Keiron Liddle] @@ -577,14 +577,14 @@ Done since 0.16 release - fixed: leader didn't fill rest of line in table of contents [Fotis Jannidis] - fixed: throws a more useful error if non-row inside table body [Keiron Liddle] - fixed: duplicate ID bug for tables that flow over a page [Keiron Liddle] -- fixed: empty flow bug [Kai Strackbein] +- fixed: empty flow bug [Kai Strackbein] - fixed: broken support of jdk 1.1 [Peter Housel] Done since 0.15 release - added: support for background color property, column breaks [Arved Sandstrom] - added: support for xalan 2 in xslt task [Kelly Campbell] -- added: support for the properties table-omit-header-at-break, +- added: support for the properties table-omit-header-at-break, table-omit-footer-at-break, number-columns-spanned (partly), orphans, widows (only for tables) [Keiron Liddle] - added: support for multi-column and column spanning (column-count, column-gap, span)[Arved Sandstrom] - added: compression for pdf files, changed output format to OutputStream [Kelly Campbell] @@ -597,7 +597,7 @@ Done since 0.15 release - added: interim configuration package [Fotis Jannidis] - added: FopImage class that uses JAI [Eric Schaeffer] and JAI compile target [Kelly Campbell] - added: support for rule-style [Fotis Jannidis] -- added: support for fo:table-header, fo:table-footer, and for the following properties +- added: support for fo:table-header, fo:table-footer, and for the following properties in tables: keep-with-next, keep-with-previous [Keiron Liddle] - updated: svg stuff for the latest java bindings [Keiron Liddle] - fixed: enhanced error messages for page layout (region names, master) [Norm Walsh] @@ -609,29 +609,29 @@ Done since 0.15 release table row going over the page [Kelly Campbell] - fixed colspanning so that the cell state keeps track of the width so far properly [Keiron Liddle] -- fix to allow JDK 1.1 users to compile and use FOP [Mikko Honkala, Art Welch] +- fix to allow JDK 1.1 users to compile and use FOP [Mikko Honkala, Art Welch] - fix: removing duplicate character mappings [Dharamveer Salecha] -- fix: NullPointerException in FopImageFactory [Kelly Campbell] +- fix: NullPointerException in FopImageFactory [Kelly Campbell] - fixed: space after's where not being removed if table row was being removed [Keiron Liddle] - fixed problem with keep-with not storing the correct rows [Keiron Liddle] - fixed: extra space after was left behind for rows going over a page [Keiron Liddle] Done since 0.14 release -- added region-name support, refactoring of region, PageSequence, +- added region-name support, refactoring of region, PageSequence, PageMasterReference, flow/static [Kelly Campbell, Arved Sandstrom] - added CommandLine/Driver -d option to output stack traces [Kelly Campbell, Arved Sandstrom] - added: a new package for image support and analysis [Pankaj Narula] -- added better svg support (linear gradients, radial gradients, css style selectors, - css colour names, patterns, path curves (except arcs), text tspan and tref, text whitespace +- added better svg support (linear gradients, radial gradients, css style selectors, + css colour names, patterns, path curves (except arcs), text tspan and tref, text whitespace handling, text outline and fill, switch, images (including external svg images) references in external svg documents, svg elements (below top element), symbol element) [Keiron Liddle] - added large test suite for svg [Keiron Liddle] - added support for property textdecoration (only value 'underline') [Christian Geisert] - added support for type 1 fonts [Jeremias Maerki,Alan Fagot] - added support for compile target jdk 1.1 only [Art Welch] -- added support for partial borders in block, block-container, +- added support for partial borders in block, block-container, table-row, table-column and table-cell [Corinna Hischke] -- redesign of properties handling, support for computed, compound and shorthand properties, +- redesign of properties handling, support for computed, compound and shorthand properties, supporting docs [Karen Lease] - redesign of font handling for AWTRenderer [Dorothea Wiarda] - added: support for leader-alignment, leader-pattern-width, leader-pattern (dots,space) [Fotis Jannidis] @@ -640,11 +640,11 @@ Done since 0.14 release - fixed: broken buildFOTree [Marcus Holmberg] - fixed: problems with borders and padding in tables [Corinna Hischke] - fixed: XMLRenderer, unbalanced " in the produced output [Dorothea Wiarda] -- fixed: renamed: inline-sequence -> inline, simple-link -> basic-link, +- fixed: renamed: inline-sequence -> inline, simple-link -> basic-link, white-space-treatment -> white-space-collapse [Fotis Jannidis] - fixed: images were rendered only half size (Mikko Honkala) -- fixed: pdf file in XalanCommandFile explicitly closed [Dharamveer Salecha] -- fixed: lists containing list do not keep their indentation correctly +- fixed: pdf file in XalanCommandFile explicitly closed [Dharamveer Salecha] +- fixed: lists containing list do not keep their indentation correctly over a page boundary [Dorothea Wiarda] Done since 0.13 release @@ -657,31 +657,31 @@ Done since 0.13 release - added a MessageHandler [Fotis Jannidis] - fixed table overflow bug [Jordan Naftolin] - finally fixed postscript printing of generated PDF [Domagoj Cosic] -- removed XTCommandLine from build.xml -- removed PDFOutputHandler from build.xml +- removed XTCommandLine from build.xml +- removed PDFOutputHandler from build.xml - added XalanCommandLine [Fotis Jannidis] - added: fo:instream-foreign-object [Keiron Liddle] - added: goto button in AWT viewer [Stanislav Gorkhover] - updated: AWT viewer now works again and supports - with some restrictions - the new SVG support [Stanislav Gorkhover] -Done since 0.12.1 release -- using Ant to build Fop instead of make [Giacomo Pati] -- borders, padding and absolute positioning [Jon Smirl] - -0.12.1 release -to make the bug fix on XTCommandLine available to non developers -basic support for padding-{top,left,bottom,right} on blocks. -implemented simple-link (don't think it works, though) -XTCommandLine now works again -background color works on list-block -list-blocks can now be in table-cell - -Done for 0.12.0 release: - -Make sure Makefiles work -Switch to using Status object as return from layout() -Incorporate Eric Schaeffer's fix to tables in static-content -Incorporate Kelly Campell's fixes to GifJpegImage -Incorporate Eric Schaeffer's background colour implementation - (actually used different approach with background colour as trait) +Done since 0.12.1 release +- using Ant to build Fop instead of make [Giacomo Pati] +- borders, padding and absolute positioning [Jon Smirl] + +0.12.1 release +to make the bug fix on XTCommandLine available to non developers +basic support for padding-{top,left,bottom,right} on blocks. +implemented simple-link (don't think it works, though) +XTCommandLine now works again +background color works on list-block +list-blocks can now be in table-cell + +Done for 0.12.0 release: + +Make sure Makefiles work +Switch to using Status object as return from layout() +Incorporate Eric Schaeffer's fix to tables in static-content +Incorporate Kelly Campell's fixes to GifJpegImage +Incorporate Eric Schaeffer's background colour implementation + (actually used different approach with background colour as trait) diff --git a/LICENSE b/LICENSE index 3d8125127..89e216b7a 100644 --- a/LICENSE +++ b/LICENSE @@ -2,34 +2,34 @@ ============================================================================ The Apache Software License, Version 1.1 ============================================================================ - + Copyright (C) 1999-2002 The Apache Software Foundation. All rights reserved. - + Redistribution and use in source and binary forms, with or without modifica- tion, are permitted provided that the following conditions are met: - + 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. - + 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. - + 3. The end-user documentation included with the redistribution, if any, must include the following acknowledgment: "This product includes software developed by the Apache Software Foundation (http://www.apache.org/)." Alternately, this acknowledgment may appear in the software itself, if and wherever such third-party acknowledgments normally appear. - + 4. The names "FOP" and "Apache Software Foundation" must not be used to endorse or promote products derived from this software without prior written permission. For written permission, please contact apache@apache.org. - + 5. Products derived from this software may not be called "Apache", nor may "Apache" appear in their name, without prior written permission of the Apache Software Foundation. - + THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE @@ -40,9 +40,9 @@ ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - + This software consists of voluntary contributions made by many individuals on behalf of the Apache Software Foundation and was originally created by - James Tauber . For more information on the Apache + James Tauber . For more information on the Apache Software Foundation, please see . - + diff --git a/README b/README index 1fd230f16..a246b3f92 100644 --- a/README +++ b/README @@ -3,14 +3,14 @@ FOP readme What is FOP? FOP is the world's first print formatter driven by XSL formatting objects. It is a Java application that reads a formatting object - tree conforming to the XSL candidate release (21. November 2000) and - then turns it into a PDF document or allows you to preview it - directly on screen. - - FOP is part of Apache's XML project. The homepage of FOP is - http:/xml.apache.org/fop + tree conforming to the XSL candidate release (21. November 2000) and + then turns it into a PDF document or allows you to preview it + directly on screen. - HTML-Documentation can be found in the subdirectory xml-fop/docs/html-docs. + FOP is part of Apache's XML project. The homepage of FOP is + http:/xml.apache.org/fop + + HTML-Documentation can be found in the subdirectory xml-fop/docs/html-docs. The names of the committers of this project and what the developers are working on can be found in the file STATUS in root. @@ -19,10 +19,10 @@ FOP readme Please report bugs to bugzilla at http://nagoya.apache.org/bugzilla/ - Discussion of Fop takes place in fop-dev@xml.apache.org (subscribe at + Discussion of Fop takes place in fop-dev@xml.apache.org (subscribe at fop-dev-subscribe@xml.apache.org) - Before you post any questions, please have a look at the FAQ at + Before you post any questions, please have a look at the FAQ at http://www.owal.co.uk:8090/asf/servlet/asf/ diff --git a/STATUS b/STATUS index 3852c634a..3f73fe808 100644 --- a/STATUS +++ b/STATUS @@ -1,7 +1,7 @@ -**** COMMITTERS **** +**** COMMITTERS **** -Arved Sandstrom (release coordinator) -James Tauber (started it all and wrote most of the code) +Arved Sandstrom (release coordinator) +James Tauber (started it all and wrote most of the code) Kelly Campbell Steven Coffman @@ -9,14 +9,14 @@ Bertrand Delacretaz Tore Engvig Christian Geisert Stanislav Gorkhover -Fotis Jannidis +Fotis Jannidis Karen Lease Keiron Liddle Jeremias Maerki Jordan Naftolin Joerg Pietschmann -Eric Schaeffer -Jon Smirl +Eric Schaeffer +Jon Smirl Art Welch Peter B. West diff --git a/build.xml b/build.xml index 42e99716e..9a10f14af 100644 --- a/build.xml +++ b/build.xml @@ -8,7 +8,7 @@ Building instructions ===================== -First, make sure your current working directory is where this very file is +First, make sure your current working directory is where this very file is located. Then type ./build.sh (on unixes) @@ -30,17 +30,17 @@ distributions and web site. In fact, the file you have here is _exactly_ what is used by fop maintainers to take care of everything in the Fop project, no less and no more. -Call the build script (see above) with the parameter "-projecthelp" to get a +Call the build script (see above) with the parameter "-projecthelp" to get a list of possible build targets. ============================================================================ --> - + - + @@ -56,7 +56,7 @@ list of possible build targets. - + @@ -66,7 +66,7 @@ list of possible build targets. - + @@ -85,13 +85,13 @@ list of possible build targets. - + - + @@ -102,28 +102,28 @@ list of possible build targets. - + - + - + - + - + @@ -134,17 +134,17 @@ list of possible build targets. - + - + - + - + @@ -156,7 +156,7 @@ list of possible build targets. - + @@ -188,7 +188,7 @@ list of possible build targets. - + @@ -200,7 +200,7 @@ list of possible build targets. - + @@ -215,31 +215,31 @@ list of possible build targets. - + - + - + - + - + - - + + - + - - + + @@ -248,7 +248,7 @@ list of possible build targets. - + @@ -261,19 +261,19 @@ list of possible build targets. - + - + - + @@ -284,17 +284,17 @@ list of possible build targets. - - --> - - - - - - - - - - - - -