Adrian Cumiskey
48f4f1eecb
Fix to the "pmd" build target
PMD reports were being generated correctly when invoked from the
"reports" target but when run standalone the build directory was not being
created prior task execution.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1536947 13f79535-47bb-0310-9956-ffa450edef68
10 years ago
Vincent Hennebert
74dd94b26c
Directly use FOP fonts to lay out SVG images for PDF, PS and AFP outputs.
The metrics are now taken from FOP configured fonts and no longer from AWT equivalents. That avoids discrepancies in case AWT and FOP use slightly different fonts, or if the font is not installed on the system. That actually also avoids having to install the font on the system.
FOP is also used for the primary layout of text (prior to SVG-specific transforms like translation or rotation) for consistency between SVG and XSL-FO.
This is a joint work from Peter Hancock and myself.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_FopFontsForSVG@1508208 13f79535-47bb-0310-9956-ffa450edef68
11 years ago
Luis Bernardo
0ddf24d48b
FOP-2265: Enable xlint cast; patch submitted by Simon Steiner; failed to commit changes to build.xml before.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1503396 13f79535-47bb-0310-9956-ffa450edef68
11 years ago
Clay Leeds
833826280d
Removing Forrest-based documentation files from build.xml.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1444575 13f79535-47bb-0310-9956-ffa450edef68
11 years ago
Clay Leeds
a2e998db8e
Removing Forrest-based documentation files.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1444573 13f79535-47bb-0310-9956-ffa450edef68
11 years ago
Glenn Adams
47d07941dc
FOP-2197: missing GlyphTester class in transcoder archives
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1437102 13f79535-47bb-0310-9956-ffa450edef68
11 years ago
Glenn Adams
6d4f8e310e
Merge from ^/branches/fop-1_1.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1400707 13f79535-47bb-0310-9956-ffa450edef68
11 years ago
Glenn Adams
f057e783eb
Merge from ^/branches/fop-1_1.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1364036 13f79535-47bb-0310-9956-ffa450edef68
12 years ago
Mehdi Houshmand
4ba03449bf
Started unifying URI resolution mechanism, redesigned configuration system and created flexible config testing
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_URI_Unification@1344594 13f79535-47bb-0310-9956-ffa450edef68
12 years ago
Glenn Adams
5e40fcfd24
Improve consistency between junit-run and junit-all targets.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1328537 13f79535-47bb-0310-9956-ffa450edef68
12 years ago
Glenn Adams
36abbf7918
Bugzilla #53083: Update to use of checkstyle-5.5 as default configuration. Remove checkstyle-4.0 configuration. Also, import environment build properties before local properties, so that latter can refer to former.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1326154 13f79535-47bb-0310-9956-ffa450edef68
12 years ago
Vincent Hennebert
ac5c61bd29
Bugzilla #50483: Improved support for TrueType fonts in PostScript
Refactored code and added unit tests
Patch by Mehdi Houshmand
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_TrueTypeInPostScript@1307574 13f79535-47bb-0310-9956-ffa450edef68
12 years ago
Vincent Hennebert
b636057f8a
Removed reference to XML schema from IF schema.
Copied the definition of xml:space into the IF schema.
Removed the setup-xml-schema Ant ask.
xml.xsd is a file under the W3C Document License and we cannot (yet?) redistribute files under such a license.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1304524 13f79535-47bb-0310-9956-ffa450edef68
12 years ago
Vincent Hennebert
d927eaca67
We must respect projects' brand names. s/checkstyle/Checkstyle/
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1298330 13f79535-47bb-0310-9956-ffa450edef68
12 years ago
Glenn Adams
1353fe2432
add checkstyle-5.5 support, update rules
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1296000 13f79535-47bb-0310-9956-ffa450edef68
12 years ago
Glenn Adams
4b0c6913a9
apply complex scripts patch
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1293736 13f79535-47bb-0310-9956-ffa450edef68
12 years ago
Mehdi Houshmand
ff8ca48057
Enabled assertions in junit tasks (analagous to JVM arg -ea)
- Disabled a layout test that fails an assertion
- Added an expression to a mocked class to pass assertion
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1243963 13f79535-47bb-0310-9956-ffa450edef68
12 years ago
Peter Hancock
e860287fcc
Associate structure tree elements directly to render content
* Defer the binding of PCData to struct elems using a placeholder mechanism.
* Translate text nodes to marked-content sequences in IF structure tree.
* Replace ptr with structure tree element.
* Re-order table footers so they appear at the end of the structure tree.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_ImproveAccessibility@1236718 13f79535-47bb-0310-9956-ffa450edef68
12 years ago
Vincent Hennebert
3fa156581b
Added build/fop-hyph.jar to standard-junit-classpath so that hyphenation tests can run when the "source" en.xml and de.xml are stored in the hyph/ directory
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1205046 13f79535-47bb-0310-9956-ffa450edef68
12 years ago
Mehdi Houshmand
6b1ba1f952
Bugzilla #52197: Improved support for AdobeStandardEncoding encoded AFM files for type1 fonts
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1204488 13f79535-47bb-0310-9956-ffa450edef68
12 years ago
Vincent Hennebert
d3017504c1
Bugzilla #52151: added ant script to get JaCoCo code coverage
Patch by Mehdi Houshmand, applied with changes
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1203749 13f79535-47bb-0310-9956-ffa450edef68
12 years ago
Vincent Hennebert
8fc0b589b5
Bugzilla 52136: Added to build file JUnit target that uses a regex to run all of the test cases.
Patch by Mehdi Houshmand, applied with minor modifications
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1198853 13f79535-47bb-0310-9956-ffa450edef68
12 years ago
Vincent Hennebert
ad987e7d47
Removed the FO document pre-processing step that was adding ptr and creating a reduced FO tree.
* Removed addPtr.xsl and reduceFOTree.xsl
* Implemented Common Accessibility properties on objects that support them
* Added a special implementation of FOEventHandler to build the structure tree
* Added mockito library and its dependencies
* Added mocks for some FO nodes and properties
* Removed FOTreeUnitTester and converted it into a re-usable FODocumentParser class
* Re-worked table FO test cases accordingly
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_ImproveAccessibility@1188205 13f79535-47bb-0310-9956-ffa450edef68
12 years ago
Vincent Hennebert
5491a3593c
Cache the schema for the XML namespace to a local directory. This avoids downloading it from the W3C website every time the IF test cases are run.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1186858 13f79535-47bb-0310-9956-ffa450edef68
12 years ago
Peter Hancock
7aaa8ac121
Bugzilla#512010: Simplification of the build.
Reduced code duplication and layout engine tests.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1186070 13f79535-47bb-0310-9956-ffa450edef68
12 years ago
Vincent Hennebert
29a3560293
Bugzilla #51928: Upgraded all tests to JUnit 4
Patch by Mehdi Houshmand, applied with minor cosmetics and error fixes
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1178747 13f79535-47bb-0310-9956-ffa450edef68
12 years ago
Peter Hancock
1293398fba
Fixed a bug in AFP where an ArrayOutofBoundsException is throwqn when embedding a Page Segment.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1160298 13f79535-47bb-0310-9956-ffa450edef68
12 years ago
Vincent Hennebert
c74764e436
Added support for 128bit encryption in PDF output. Based on work by Michael Rubin.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1154998 13f79535-47bb-0310-9956-ffa450edef68
13 years ago
Vincent Hennebert
9f0263b32c
Added id element to intermediate format to track the origin of content.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1094690 13f79535-47bb-0310-9956-ffa450edef68
13 years ago
Jeremias Maerki
0e4e4c285b
Customizing the Gump runs from our build file rather than from the Gump descriptor.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1076307 13f79535-47bb-0310-9956-ffa450edef68
13 years ago
Jeremias Maerki
15935cb7c9
Allow afp:no-operation to be added to fo:page-sequence (page group in AFP) and fo:declarations (document in AFP). Includes a test case.
Update QDox to avoid a bug with class private enums.
Connect some older test cases into the standard test suite.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1066078 13f79535-47bb-0310-9956-ffa450edef68
13 years ago
Jeremias Maerki
2ca4fdd39b
Reduced task attribute redundancy by using <presetdef>.
Added maxmemory="256m" on junit instead of a JVM argument to overcome OutOfMemoryErrors that I have since moving to Windows 7 64bit.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1061678 13f79535-47bb-0310-9956-ffa450edef68
13 years ago
Vincent Hennebert
cebc3c349b
Retroweaver is no longer necessary
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1036466 13f79535-47bb-0310-9956-ffa450edef68
13 years ago
Simon Pepping
e99cbbd79f
Applied patch 50240 by Mehdi Houshmand with changes: Java source and
target changed to 1.5. EncodingMode changed from class -> enum.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1033859 13f79535-47bb-0310-9956-ffa450edef68
13 years ago
Vincent Hennebert
86527b4220
Removed custom asf.todo tag
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1002788 13f79535-47bb-0310-9956-ffa450edef68
13 years ago
Simon Pepping
3bdb7c0124
Created target nightly-build
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@996451 13f79535-47bb-0310-9956-ffa450edef68
13 years ago
Simon Pepping
8125ef449c
Bugzilla #49752:
Findbugs build target enhancements
Submitted by: Glenn Adams <glenn.at.skynav.com>
Changes to patch:
- Added descriptions to the user visible targets
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@986616 13f79535-47bb-0310-9956-ffa450edef68
14 years ago
Simon Pepping
27ab2f7f41
Fixed javadoc, checkstyle and ant warnings
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@986602 13f79535-47bb-0310-9956-ffa450edef68
14 years ago
Jeremias Maerki
b74c63ac54
Removed the Class-Path Manifest entry since it's often not quite right and FOP's Main class sets up the classpath in a much more flexible way.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@985921 13f79535-47bb-0310-9956-ffa450edef68
14 years ago
Jeremias Maerki
9b3c6aa26f
Bugzilla #49733:
Resolved compilation (safe one), Checkstyle and many Javadoc warnings.
Submitted by: Glenn Adams <glenn.at.skynav.com>
Changes to patch:
- Restored the deprecated Graphics2DAdapter method (to be removed after Barcode4J 2.1 is released).
- Restored Renderer.startPageSequence(LineArea) pending discussion about removal.
- build.xml: set max VM to 1024MB instead of 2048MB to allow for 32-bit JVMs.
- build.xml: restored longer taskdef names.
- Restored Checkstyle 4 file for people running older IDEs.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@985537 13f79535-47bb-0310-9956-ffa450edef68
14 years ago
Adrian Cumiskey
f43b4cd444
Fix to "docs" target. FORREST_HOME no longer needs to be in your PATH for the target to work as you would expect it to.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@966339 13f79535-47bb-0310-9956-ffa450edef68
14 years ago
Simon Pepping
30d7ef75fa
Target dist-src need not depend on target all. A comment on the
dependency of target dist on target distclean.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@965953 13f79535-47bb-0310-9956-ffa450edef68
14 years ago
Jeremias Maerki
8a4c665d6b
Merged changes from Trunk (minus JARs).
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_Color@965380 13f79535-47bb-0310-9956-ffa450edef68
14 years ago
Simon Pepping
cf44a5e715
Merging branches/fop-1_0 back into trunk
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@964711 13f79535-47bb-0310-9956-ffa450edef68
14 years ago
Simon Pepping
c41bb35793
Adding the build dependencies to the source distribution
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/fop-1_0@963412 13f79535-47bb-0310-9956-ffa450edef68
14 years ago
Simon Pepping
96fa71d831
Move the maven bundle jar to the top directory after building; svn
ignore the build artifacts
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/fop-1_0@961414 13f79535-47bb-0310-9956-ffa450edef68
14 years ago
Simon Pepping
428b1f3159
Updated the version number in the build file; do not merge into trunk
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/fop-1_0@960619 13f79535-47bb-0310-9956-ffa450edef68
14 years ago
Simon Pepping
f4519b218d
First changes for the release, mainly documentation changes
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/fop-1_0@960618 13f79535-47bb-0310-9956-ffa450edef68
14 years ago
Vincent Hennebert
3076f36096
Merged all the eventResourceGenerator tasks into one
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@932515 13f79535-47bb-0310-9956-ffa450edef68
14 years ago
Vincent Hennebert
904bce40f3
Generate event models in the same directory as the corresponding EventProducer interfaces and name it event-model.xml by default
The eventResourceGenerator task now takes a destination directory parameter instead of modelfile
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@932502 13f79535-47bb-0310-9956-ffa450edef68
14 years ago