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
39fd722699
Block merging of revision 960619 from branch fop-1_0
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@964705 13f79535-47bb-0310-9956-ffa450edef68
14 years ago
Jeremias Maerki
32d8c7a4de
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
021f930053
Log exception if available to make error localization easier.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@964320 13f79535-47bb-0310-9956-ffa450edef68
14 years ago
Jeremias Maerki
dda20d59da
Added ImageElementBridge to ImageConverterSVG2G2D so output formats like Java2D (PNG, TIFF) and PCL can load image formats other than just PNG and JPEG from SVG.
This also represents a work-around for certain JPEG images that cannot be loaded properly with the Sun JPEG codec embedded in the JDK. With this, JPEGs are loaded via ImageIO.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@964316 13f79535-47bb-0310-9956-ffa450edef68
14 years ago
Simon Pepping
7e82081adc
Added the XML Graphics Commons jar file from the release candidate
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@959971 13f79535-47bb-0310-9956-ffa450edef68
14 years ago
Jeremias Maerki
1ed5099424
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
Andreas L. Delmelle
63e6ca29da
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
173b91e7cd
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
d8d5ee95c5
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
9d45f166c8
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
7ff7a84d86
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
4297be6a4b
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
d8fb9f81ed
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
009527219a
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
c132480d32
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
ea5628ad60
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
f63a641cad
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
7b7df1f2eb
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
b3962a5416
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
2a0412ade9
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
56d3085c16
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
ad90b4e6af
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
e46aae6342
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
4a4cfc49d1
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
34fb94f521
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
f03b7d3986
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
5ef9c34477
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
85cfeee0e9
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
5d530b0bb5
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
9b098a76be
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
279ce3bbf4
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
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
83207e2f4b
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
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
Vincent Hennebert
38a069e362
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
56630a3e41
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
f2f90fb770
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
164829cc0c
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
702423bfe6
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
f83f37955b
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
802c44eb99
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
798b1e6331
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
9a83912dc1
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
e45b389fb3
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
4f94f7828b
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
a77e237b9e
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
Pascal Sancho
81bc9925af
doc mgmt page: 2 things:
- dual doc is now obsolete (0.20.x vs redesign)
- current Forrest is 0.8
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@911752 13f79535-47bb-0310-9956-ffa450edef68
14 years ago
Vincent Hennebert
dfec05b7e1
Fixed typos
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@911341 13f79535-47bb-0310-9956-ffa450edef68
14 years ago
Vincent Hennebert
e9175426bc
Added Georg Datterl to our list of active contributors. Many thanks to Georg for his help so far.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@911339 13f79535-47bb-0310-9956-ffa450edef68
14 years ago