| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
| |
Added support for OutputIntent objects in PDF. When PDF/A-1b is activated OutputIntents are created and the sRGB color space is used by default (hardcoded for the moment for lack of better color infrastructure in FOP).
The sRGB color profile from HP (covering sRGB IEC61966-2.1) is now embedded in fop.jar as a resource so the PDF library can embed it. The sRGB profile from the Sun JRE is much bigger. That's why it's not used.
The Gladiator TrueType font (glb12.ttf) has been copied over from Batik and is used to verify PDF/A-1b's conformance checks.
CMYK JPEG image added to test resources so PDF/A-1b color space checks can be performed.
With the color space checks, support for PDF/A-1b is complete to the degree that FOP supports the creation of elements described in ISO 19005-1, except for the case where an embedded XMP packet is used in the fo:declarations element. In this case the metadata is not synchronized with the values in the Info PDF object which could lead to validation errors when checking for PDF/A-1b conformance.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@391624 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
|
|
| |
Switching to code in XML Graphics Commons for:
- PSGraphics2D
- Service discovery
- Codecs
Removed local classes that have been ported to Commons.
xmlgraphics-commons-snapshot.jar is a Trunk snapshot built with JDK 1.4.2 from today. It should work under JDK 1.3.1.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@391332 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
|
|
| |
Finalized API according to the plan in the Wiki: http://wiki.apache.org/xmlgraphics-fop/ApiDesign
In addition to that:
Deprecated the rest of the Fop constructors.
Refactored the FopServlet a bit to make it more versatile and still easy to understand. The FopPrintServlet is now a subclass of FopServlet.
Some further cleanup on the way.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@389086 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
|
| |
Re-added the Class-Path entry in the manifest.
Additional changes:
Fixed the javac.fork property.
Prepared classpaths for when xmlgraphics-commons is ready.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@382152 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@370811 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
written by the area tree renderer (XMLRenderer). A new parser for this format allows reparsing a serialized and possibly modified area tree and rendering it to the final target format. More details on the Wiki at http://wiki.apache.org/xmlgraphics-fop/AreaTreeIntermediateXml. No advanced features have been implemented, yet, only the basic functionality. The whole change should be fully backwards-compatible WRT the outer FOP API except maybe for FOTreeBuilder.addElementMapping(), and the area tree XML which got small changes.
The area tree has been cleaned up. The serializability has been restored. The CachedRenderPagesModel works again and can, in certain situations, decrease the maximum amount of memory held at one point in time. Some adjustments were necessary in the area tree to help the work of the AreaTreeParser.
The AreaTreeParser is new and is responsible for parsing area tree XML files and adding pages to a RenderPagesModel instance. It is SAX-based and should be pretty efficient.
XMLUnit (http://xmlunit.sourceforge.net, BSD license) is a new dependency for the test code. It is used to verify the correctness of the intermediate format code. It doesn't have to be installed for the build to run through, though.
ElementMapping got a new method getDOMImplementation() which provides the DOMImplementation used to handle a subdocument of a particular namespace. For example, SVG uses Batik's SVG DOM. The AreaTreeParser needs that to properly recreate foreign objects because it can't use the mechanism of the FO tree. The default implementation returns null.
The ElementMapping instances are no longer maintained by the FOTreeBuilder, but by the newly created ElementMappingRegistry class. It is expected that the instance of this class is moved from the FOTreeBuilder and the AreaTreeParser's Handler class to the "environment class" once it is created to cut down on the startup time for each processed document.
The XMLRenderer has been slightly modified to improve the serialization/deserialization qualities of the area tree XML format.
The XMLRenderer can now mimic another renderer (see mimicRenderer(Renderer)) in order to use its font setup. That way it is made certain that the reparsed area tree will render to the final target format exactly as expected.
Fixed a bug in the XMLHandlerRegistry which did not always return the right XMLHandler for every situation.
Added a DefaultErrorListener to the util package. I've had problems with Xalan-J swallowing exceptions with its default ErrorListener, so I added a simple one for convenience and use in AreaTreeParser.
Example code for working with the AreaTreeParser can be found in examples/embedding. Documentation will follow.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@369753 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
| |
These URLs are now resolved through the FOP config URI resolver. A new configuration item font-base has been added which defines the base URL to be used for resolution of the font URLs. If it is not given the normal FOP base URL is used. Unrelated to this feature the patch also contains a new image class (java 1.4 specific) for JPEG images. This is for renderers (e.g. AFP) which require access to the decoded JPEG.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@366718 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Renderer instead of reporting the MIME type. One MIME type could be implemented by multiple Renderer implementations so conflicts could occur. Almost all XMLHandler implementations will have a dependency on a particular Renderer implementation.
XMLHandlers are now configurable.
Standard XMLHandlers now get registered through service lookup.
Simplification: XMLHandlers don't need nested classes for the handling functionality anymore. If Batik, for example, is not in the classpath it will already be detected while registering the XMLHandlers.
The RendererContextConstants interface now standardizes some of the keys used in the RendererContext and helps with actually decoupling the XMLHandler implementations from the renderers. This is one step towards making Batik an optional dependency and making it possible to move the SVG functionality to a separate place later.
Extracted the SVG XMLHandler functionality from the sandbox SVGRenderer into a separate class following the example of the other renderers.
Bugfix in PSSVGHandler: Fixed a copy/paste error which could lead to wrong clipping of an SVG image for PostScript output.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@357166 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@348747 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
| |
respect hyphenation layout tests
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@348376 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
"build/site" is now copied to "docs".
The build directory isn't included in either distribution anymore.
Source distribution doesn't contain fop.jar, javadocs and compiled docs anymore to make the distribution smaller.
KEYS and status.xml and lib/xalan*.txt added (Thanks, Simon).
Added version info to javadocs.
Removed limitation to build javadocs only with JDKs >= 1.4. It works fine for me on Win32 Sun JDK 1.3.1_15.
You can add "javahome.jdk14" to your build-local.properties so Forrest docs can be built during a JDK 1.3 distribution build.
Added release notes to site (Thanks, Christian, for the reminder).
Append JDK indicator to binary distribution using system property java.specification.version.
upgrade guide: new configuration format (CG)
Documented additional known issue with PS Renderer that I didn't have time to fix.
Redirects and release names cleaned up as per Simon's suggestions.
Added link to latest release branch to download page.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@348205 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@345474 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@345250 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
| |
The NOTICE file was missing from the distribution.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@345211 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@345209 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@345069 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
| |
(because of problems with plugin download and validation)
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@344146 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@344091 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@344002 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@344000 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
| |
Submitted by: Nils Meier <nmeier.at.users.sourceforge.net>
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@343994 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@332774 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@332760 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
| |
Created sandbox area (src/sandbox).
Moved MIF, PCL and SVG support to the sandbox due to their current state.
Build adjusted to build a fop-sandbox.jar (the three moved renderers automatically get registered if they are in the classpath).
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@332575 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
| |
hyphenation support present
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@332292 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
| |
(bugzilla@mdaniel.scdi.com)
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@331922 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@328891 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@328824 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
| |
Removed unused code in PDF and PS renderers (fixes javadoc warning).
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@328814 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@328005 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
| |
information if the Manifest is not available.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@327144 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@321196 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@315029 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
| |
to default JUnit target, test for the presence of hyphenation support as prerequisite for layout tests
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@307113 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@306650 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@292942 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@291934 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
| |
(needs Ant 1.6 and you need to run forrest once manually
as there's a bug with the plugin download)
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@291860 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
| |
tabs removed
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@290483 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
| |
Use checkstyle.home.dir in build-local.properties to point to the
checkstyle home.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@290420 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
| |
Submitted by: Matthew Daniel <bugzilla -at- mdaniel.scdi.com>
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@290407 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@289935 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@289562 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@280828 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@280298 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
| |
Add todo tag to javadoc task.
Fixed @todo: tags.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@279661 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@279456 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@279441 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
| |
Add javac.fork and user.hyph.dir to the build.porperties templates.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@279125 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
| |
Add comments to build.properties.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@279120 13f79535-47bb-0310-9956-ffa450edef68
|