Jeremias Maerki
18f6399908
Added missing PDFColorHandler to PDFDocumentGraphics2D.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_Color@965368 13f79535-47bb-0310-9956-ffa450edef68
14 years ago
Jeremias Maerki
32b7c83782
Added support for CIE Lab colors to AFP output.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_Color@961779 13f79535-47bb-0310-9956-ffa450edef68
14 years ago
Jeremias Maerki
c4066cb319
Bugfix for gradients with mixed color spaces: the original color was not replaced in the list which cause faulty PDFs.
Switched to using a more accurate conversion method to sRGB.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_Color@961641 13f79535-47bb-0310-9956-ffa450edef68
14 years ago
Jeremias Maerki
de36e85d6f
Cleanup of PDFColor, removing unused functionality. PDFColor is only used for transparent color of bitmap images in which case only sRGB and Gray are needed.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_Color@961638 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
bad25566ec
Added support for the cie-lab-color() function that is found in the current XSL 2.0 design notes.
Some refactoring of ColorUtil to reduce code duplication.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_Color@959286 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
Jeremias Maerki
ce1985d668
Added support for the rgb-named-color() function that is found in the current XSL 2.0 design notes.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_Color@958992 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
1dc63dc609
Creating dev branch for a better color infrastructure
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_Color@956535 13f79535-47bb-0310-9956-ffa450edef68
14 years ago
Andreas L. Delmelle
4ed47c3dd4
Minor refactoring and style fixups:
- private lineLayoutsList can be a primitive array
- eliminate some stray hungarians (inconsistent btw: iFirstIndex, but nEliminableLines...)
- inverted principal loop in createLineBreaks(), to make debugging less confusing (and preparation for partial fix of Bug 38264)
- compacted some boolean expressions ( (x ? true : false) -> plain x )
- removed some commented code
- extracted some code into processUpdates; findHyphenationPoints was getting too long
- minor javadoc fixups
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@956271 13f79535-47bb-0310-9956-ffa450edef68
14 years ago
Pascal Sancho
0c428f0574
Bugzilla #48871:
Bugfix: Faq entry update (metadata)
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@955949 13f79535-47bb-0310-9956-ffa450edef68
14 years ago
Pascal Sancho
aafe96253d
Bugzilla #78887:
Bugfix: documentation update according to javadoc in Trunk tab > Embed
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@955927 13f79535-47bb-0310-9956-ffa450edef68
14 years ago
Pascal Sancho
4feb9b0ec4
Bugzilla #49172:
patch applied: corrections in Dev > Extensions page; thanks to Gerald Buchgraber
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@955915 13f79535-47bb-0310-9956-ffa450edef68
14 years ago
Pascal Sancho
9237896fe1
Bugzilla #46565:
Bugfix: fo:bookmark conformance is partial. Thanks to Mario Madunic for pointing that.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@955899 13f79535-47bb-0310-9956-ffa450edef68
14 years ago
Pascal Sancho
416993f3ff
Fop WebSite: update commandline usage help (in Trunk tab > Using FOP > Run)
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@955884 13f79535-47bb-0310-9956-ffa450edef68
14 years ago
Jeremias Maerki
f61860ab88
Bugfix: PDF/A-1a mode was not properly reported.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@955560 13f79535-47bb-0310-9956-ffa450edef68
14 years ago
Jeremias Maerki
b36aeb2cb8
Put the /Resources reference directly into the underlying dictionary and handle null cases since /Resources is optional on a Form XObject.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@954765 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
Jeremias Maerki
97aa2c35b0
AFP Output Changes:
- Fixed positioning of Java2D-based images (when GOCA is enabled). GraphicsDataDescriptor had a bit order bug. The Graphics2D image handler didn't save state and reposition the image origin.
- Switched bitmap image handling in AFPGraphics2D to (re-)use AFPImageHandlerRenderedImage so it can profit from it's advanced image conversion functionality. This also avoids some bugs with certain image formats.
- Added enhanced dithering functionality for images that need to be converted to bi-level images.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@953952 13f79535-47bb-0310-9956-ffa450edef68
14 years ago
Jeremias Maerki
1fae69d5fd
AFP Output: Fix for bitmap images inside an SVG or G2D graphic (printer errors) and positioning fix for bitmaps from G2D graphics.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@953684 13f79535-47bb-0310-9956-ffa450edef68
14 years ago
Jeremias Maerki
e3d79c1a63
Bugzilla #42306:
Fix for AWT viewer to correctly track page numbers in continuous display mode.
Submitted by: Richard Wheeldon <richardw@geoquip-rnd.demon.co.uk>
Modifications to original patch:
- Small adjustments for out code conventions.
- Added some missing Javadocs.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@952770 13f79535-47bb-0310-9956-ffa450edef68
14 years ago
Jeremias Maerki
4ee7761859
Bugfix for formatting of floating point numbers which could lead to invalid PDFs.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@951333 13f79535-47bb-0310-9956-ffa450edef68
14 years ago
Jeremias Maerki
ecdba569b1
Big encoding performance improvement for bi-level images which do not have the right bit order. Apparently, setting the subtractive option doesn't help with inverting a bi-level FS10 image.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@948959 13f79535-47bb-0310-9956-ffa450edef68
14 years ago
Simon Pepping
0e7b0816b0
Removing outdated documentation
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@947984 13f79535-47bb-0310-9956-ffa450edef68
14 years ago
Jeremias Maerki
67291183b2
Missed a parameter change for an overridden method. (Additional change for revision 946539)
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@946637 13f79535-47bb-0310-9956-ffa450edef68
14 years ago
Jeremias Maerki
366b45e1f9
Changed many variables and parameters from "int" to "char" because AFP font support mostly uses Unicode code points unlike Type 1 and TrueType support which use internal character code points (the result of Font.mapChar()). This should improve code readability.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@946585 13f79535-47bb-0310-9956-ffa450edef68
14 years ago
Jeremias Maerki
aefb5934f6
Bring error handling more in line with general recommendations and provide better error messages.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@946539 13f79535-47bb-0310-9956-ffa450edef68
14 years ago
Jeremias Maerki
4479bd9830
Don't fail on AFM just because it has a Start/EndTrackKern section. Log a warning instead of throwing an exception when an unimplemented feature is found.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@945098 13f79535-47bb-0310-9956-ffa450edef68
14 years ago
Jeremias Maerki
5b75bee76b
Added a save/restoreGraphicsState pair for the initial coordinate system in PDF output for easier post-processing. The missing q/Q pair caused content to be upside-down when simply a new content stream is appended to the page. With this change the initial coordinate system is restored after FOP's stream is finished.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@938005 13f79535-47bb-0310-9956-ffa450edef68
14 years ago
Jeremias Maerki
1e649a305c
Improved painting of double rules a bit, fixing a bug causing the message: "Invalid axis rule: unable to draw line"
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@937315 13f79535-47bb-0310-9956-ffa450edef68
14 years ago
Chris Bowditch
f90e643f6a
recent change to cache CharacterSet exposed multi threading issue
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@936447 13f79535-47bb-0310-9956-ffa450edef68
14 years ago
Chris Bowditch
61bd8c0641
cache AFP Fonts in a similar manner to LazyFont class for TrueType fonts. This boosts performance when rendering a large batch of AFP documents in the same JVM
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@933990 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
21f5a088d5
Added getEventKey method to Event so that it's no longer necessary to store the whole event ID (fully qualified interface name) in message files
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@932519 13f79535-47bb-0310-9956-ffa450edef68
14 years ago
Vincent Hennebert
721e78b7ac
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
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
9a00e131fd
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
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
Jeremias Maerki
fad33d93cc
Added Java Target information to Build-Id manifest entry. (Applied change as proposed on Feb 10 2010)
Suggested by: Peter Hancock
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@924863 13f79535-47bb-0310-9956-ffa450edef68
14 years ago
Jeremias Maerki
b2704855bd
Bumped xmlgraphics-commons.jar.
Added configuration option to tweak the image loader framework.
See also: http://svn.apache.org/viewvc?rev=924666&view=rev
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@924860 13f79535-47bb-0310-9956-ffa450edef68
14 years ago
Vincent Hennebert
3c7994cf56
Removed obsolete mergeinfo information
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@924721 13f79535-47bb-0310-9956-ffa450edef68
14 years ago
Vincent Hennebert
6bccfa5456
Bugfix: NPE when there is a forced break before a table occurring at an IPD change
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@923380 13f79535-47bb-0310-9956-ffa450edef68
14 years ago
Chris Bowditch
4ddea0f351
advertise link to nightly build
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@921823 13f79535-47bb-0310-9956-ffa450edef68
14 years ago
Vincent Hennebert
b85576c83a
Bugfix: definition of a special page-master for the last page was interfering with changing IPD code
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@915406 13f79535-47bb-0310-9956-ffa450edef68
14 years ago
Pascal Sancho
a3dd1add60
Fop WebSite: XSL-FO 1.0 references were still there; fixed now
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@911800 13f79535-47bb-0310-9956-ffa450edef68
14 years ago
Pascal Sancho
9eb05a129a
Fop WebSite: Fixed obsolete URL for public DTDs plus refer to latest version of each dtd
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@911792 13f79535-47bb-0310-9956-ffa450edef68
14 years ago
Pascal Sancho
77c66dbe4c
download page: ref to CVS repository replaced with SVN
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@911753 13f79535-47bb-0310-9956-ffa450edef68
14 years ago