Jeremias Maerki
de7c0db9e4
https://issues.apache.org/jira/browse/XERCESJ-1505
Schemas should not be downloaded from the W3C website!
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1097807 13f79535-47bb-0310-9956-ffa450edef68
13 years ago
Vincent Hennebert
427df0fa7d
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
Vincent Hennebert
b8ac4207fe
Renamed Viewport into InlineViewport
Added {@inheritDoc} comments to make Checkstyle happy
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1081822 13f79535-47bb-0310-9956-ffa450edef68
13 years ago
Vincent Hennebert
5d664ac15d
Bugzilla #49910: clipping rectangle is wrong on side-regions
Partial fix that works only when the reference-orientation property is set to 0 or 180 on side-regions
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1081554 13f79535-47bb-0310-9956-ffa450edef68
13 years ago
Jeremias Maerki
ace85dd358
Adjust range of valid results for OpenJDK 6
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_Color@1069305 13f79535-47bb-0310-9956-ffa450edef68
13 years ago
Jeremias Maerki
0d5b2a69b9
Disable pixel tests due to differences between JVMs.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1067193 13f79535-47bb-0310-9956-ffa450edef68
13 years ago
Jeremias Maerki
9adfae3eb6
Fix compile error when JAI is not around.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1067126 13f79535-47bb-0310-9956-ffa450edef68
13 years ago
Jeremias Maerki
629e1e66b3
Some tests for bitmap conversions.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1067123 13f79535-47bb-0310-9956-ffa450edef68
13 years ago
Jeremias Maerki
941181b8e3
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
d3d628c0b6
Removed FopFactory.getColorSpace() in favor of FopFactory.getColorSpaceCache() to better follow the pattern we use for the FontManager and ImageManager.
Increased accuracy for sRGB derivation.
Fixed some tests.
Fixed bug in ColorUtil.toSRGBColor().
Documented inconsistency inside java.awt.Color in ColorUtilTest.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_Color@1060457 13f79535-47bb-0310-9956-ffa450edef68
13 years ago
Jeremias Maerki
463d94cbe9
Remove commented line
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_Color@1060284 13f79535-47bb-0310-9956-ffa450edef68
13 years ago
Jeremias Maerki
b60bbd26cb
Results of color conversions differ between Java 5 and 6.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_Color@1060279 13f79535-47bb-0310-9956-ffa450edef68
13 years ago
Simon Pepping
1eaae07e7d
Fix deprecation warnings; add some type safety
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1058988 13f79535-47bb-0310-9956-ffa450edef68
13 years ago
Andreas L. Delmelle
dfa4c54704
Bugzilla 50471: Avoid ArrayIndexOutOfBoundsException for codepoints without a linebreak class
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1056518 13f79535-47bb-0310-9956-ffa450edef68
13 years ago
Simon Pepping
7c5be87cdb
Add type-safe parameters to collections; replace XGC jar to benefit from new type-safe methods
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1055034 13f79535-47bb-0310-9956-ffa450edef68
13 years ago
Jeremias Maerki
ce6d9e1eee
Adjust to changes in XML Graphics Commons:
- equals() to ColorUtil.isSameColor()
- ICCColorSpaceExt to ICCColorSpaceWithIntent
- int to RenderingIntent enum
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_Color@1045155 13f79535-47bb-0310-9956-ffa450edef68
13 years ago
Jeremias Maerki
3dc848243b
Added missing license header.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1035276 13f79535-47bb-0310-9956-ffa450edef68
13 years ago
Jeremias Maerki
e6245e4939
Removed tab characters.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1035275 13f79535-47bb-0310-9956-ffa450edef68
13 years ago
Simon Pepping
1939c00e19
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
519ac01c92
Added possibility to use glyphs outside WinAnsiEncoding for TrueType fonts that are not embedded in the PostScript file, and that don't have a list of glyph names ('post' table version 3).
This is done by creating glyph names using Adobe's convention (/u1234) and adding a CharStrings table that maps those glyph names to the actual glyph index.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_TrueTypeInPostScript@990225 13f79535-47bb-0310-9956-ffa450edef68
14 years ago
Vincent Hennebert
26393f0e18
Removed old Renderer implementations for AFP, PCL, PDF, PS.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@989178 13f79535-47bb-0310-9956-ffa450edef68
14 years ago
Jeremias Maerki
aba436311c
Removed many "// CSOK: ConstantName" instances for constants, by converting them to uppercase as they should really be.
Fixed some other non-Checkstyle issues on the way, imports mainly.
Removed some "log" instances that were not used.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@985571 13f79535-47bb-0310-9956-ffa450edef68
14 years ago
Jeremias Maerki
29e8badcec
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
Jeremias Maerki
25072c1b24
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
Jeremias Maerki
9f598d8f74
Refactored the multi-threading harness a bit to support IF conversion.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@964334 13f79535-47bb-0310-9956-ffa450edef68
14 years ago
Jeremias Maerki
f1675e27ca
Added class ColorWithFallback used for recreating function strings.
Adjusted to changes of design in color branch.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_Color@961379 13f79535-47bb-0310-9956-ffa450edef68
14 years ago
Jeremias Maerki
9708ccc61a
Restored ColorExt after removing it from XML Graphics Commons again.
Moved GrayScaleColorConverter as a package-local class from XGC to the AFP package (doesn't require deprecation when we can put the functionality in XGC later with the new color infrastructure).
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@959945 13f79535-47bb-0310-9956-ffa450edef68
14 years ago
Jeremias Maerki
fdb20deabe
Round-trip for fop-rgb-named-color() function.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_Color@959028 13f79535-47bb-0310-9956-ffa450edef68
14 years ago
Vincent Hennebert
ebbdc63b26
Added support for CID-keyed TrueType fonts in PostScript output
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_TrueTypeInPostScript@959012 13f79535-47bb-0310-9956-ffa450edef68
14 years ago
Jeremias Maerki
9dc0ea2f7a
Bugzilla #49403:
Initial support for PDF Separation color spaces (aka spot colors). This is still unfinished but produces valid PDF with Separation colors in simple cases.
Based on work by: Patrick Jaromin <Patrick.at.Jaromin.com>
Note: PDFColor is broken right now, as I'm planning to phase that class out. Squeezing separation colors and what else comes later into that class isn't such a good idea IMO. Instead, PDFColorHandler tries to do all that in a better way based on the new color support classes from XGC.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_Color@957913 13f79535-47bb-0310-9956-ffa450edef68
14 years ago
Jeremias Maerki
2150f3f35a
Color-related classes were moved to the org.apache.xmlgraphics.java2d.color package.
Updated XML Graphics Commons Snapshot.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@954512 13f79535-47bb-0310-9956-ffa450edef68
14 years ago
Vincent Hennebert
45e2cc1466
FontEventAdapter has been replaced by FontEventProducer
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@932523 13f79535-47bb-0310-9956-ffa450edef68
14 years ago
Vincent Hennebert
5ca051ca12
Now that the creation of event-model.xml has been standardised, the EventModelFactory mechanism is no longer needed. Removed all the factory classes.
Registration through META-INF/services also is no longer necessary.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@932510 13f79535-47bb-0310-9956-ffa450edef68
14 years ago
Vincent Hennebert
a5a17890ad
Moved ResourceEventProducer to org.apache.fop
Renamed event model used by FOPTestEventModelFactory to "event-model.xml"
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@932497 13f79535-47bb-0310-9956-ffa450edef68
14 years ago
Vincent Hennebert
8f6b532710
Split catch-all EventFormatter.xml message file into individual files for each EventProducer. There is no longer a default EventModelFactory
Added test case for font event
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@932481 13f79535-47bb-0310-9956-ffa450edef68
14 years ago
Vincent Hennebert
83f36b614c
Added test cases to ensure that the event notification system runs smoothly
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@932461 13f79535-47bb-0310-9956-ffa450edef68
14 years ago
Chris Bowditch
27166d6f10
Bugzilla #48237:
AFP Renderer does not respect image color settings for svg
Submitted by: Peter Hancock <peter.hancock.at.gmail.com>
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@897221 13f79535-47bb-0310-9956-ffa450edef68
14 years ago
Vincent Hennebert
37b744039a
Bugzilla #48071: made the MinOptMax class immutable. Also, lots of clean ups and minor refactorings.
Patch submitted by Alexander Kiel.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@893238 13f79535-47bb-0310-9956-ffa450edef68
14 years ago
Jeremias Maerki
82dbf4af9c
Fixed test case: #CMYK pseudo-profile comes before the color profile URI.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@891726 13f79535-47bb-0310-9956-ffa450edef68
14 years ago
Jeremias Maerki
a3b7f647e5
Bugfix: Added equals() method to ColorExt because the base class only compares the RGB value but not any other value.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@884117 13f79535-47bb-0310-9956-ffa450edef68
14 years ago
Vincent Hennebert
1bc82acecd
Moved declaration of xml:space attribute from <text> to <page-sequence> in the XML Schema, to reflect changes from rev. 834020.
Moved validation of intermediate XML to testParserToIntermediateFormat method, so that any validation error is returned by Junit instead of being swallowed.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@834135 13f79535-47bb-0310-9956-ffa450edef68
14 years ago
Vincent Hennebert
85cd9cf950
XMLUtilTestCase somehow hasn't been included in the merge of the accessibility branch into the Trunk
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@830576 13f79535-47bb-0310-9956-ffa450edef68
14 years ago
Adrian Cumiskey
3938e8f60e
Application of the patch submitted by Alexander Kiel to improve variable names around Kerning and KnuthElement (see https://issues.apache.org/bugzilla/show_bug.cgi?id=48003).
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@825646 13f79535-47bb-0310-9956-ffa450edef68
14 years ago
Maximilian Berger
b4df075d6d
Font name was wrong
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@818441 13f79535-47bb-0310-9956-ffa450edef68
14 years ago
Maximilian Berger
4e970b8a7d
Added Testcase from Bug #47872 (thanks to alex kiel) and fixed it in FontLoader
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@818424 13f79535-47bb-0310-9956-ffa450edef68
14 years ago
Jeremias Maerki
19e71503b1
Added support for the #CMYK pseudo-profile supported by some commercial XSL implementations on the rgb-icc() function.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@815938 13f79535-47bb-0310-9956-ffa450edef68
14 years ago
Vincent Hennebert
13c85d5622
Added tests for 2, 3, 4 values specified in the page boundaries properties.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@804159 13f79535-47bb-0310-9956-ffa450edef68
15 years ago
Vincent Hennebert
40af8ffb2a
Renamed PageScaleAttributes class into PageScale.
Simplified and improved its behaviour:
- return null for an empty string
- allow for an arbitrary sequence of white spaces between the scales
- check that number of arguments is no more than 2
- other small improvements
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@803440 13f79535-47bb-0310-9956-ffa450edef68
15 years ago
Vincent Hennebert
cd6bbe2084
Fixed issues in PageBoundaries class:
- typos in method name and documentation
- unnecessary conversions from double to int
- a single space between values of bleed and crop-offset is too restrictive; changed into a sequence of white space characters
Cleanup and improvements of prepress tests:
- split PrepressTest class into two separate PageScaleTest and PageBoundariesTest test cases
- moved newly created test cases into prepress sub-package
- re-organized tests and made them more complete
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@802752 13f79535-47bb-0310-9956-ffa450edef68
15 years ago
Jeremias Maerki
837d5f3d51
Bugzilla #47311:
Fixed typos.
Bugfix: when crop-offset wasn't specified, but bleed was, the media box was wrong.
Tried to fix encapsulation problem mentioned by Vincent.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@800401 13f79535-47bb-0310-9956-ffa450edef68
15 years ago