aboutsummaryrefslogtreecommitdiffstats
path: root/src/java/org/apache/fop/render
Commit message (Collapse)AuthorAgeFilesLines
* Fixed copy constructorAdrian Cumiskey2007-12-141-2/+7
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@604185 13f79535-47bb-0310-9956-ffa450edef68
* Fixed @throws statements in javadocVincent Hennebert2007-12-131-4/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@603890 13f79535-47bb-0310-9956-ffa450edef68
* * Added an SVG handler and Graphics2D implementation for AFP which injects ↵Adrian Cumiskey2007-12-1261-1235/+5325
| | | | | | | | | | AFP GOCA structured fields into the AFPDataStream. * Fixed many checkstyle problems. * Updated xmlgraphics-commons-1.3svn.jar to include changes to TextHandler git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@603590 13f79535-47bb-0310-9956-ffa450edef68
* Updated xmlgraphics from SVNMaximilian Berger2007-12-071-0/+11
| | | | | | | | | | Added autodetection of fonts in jar files (x-font and x-font-truetype) Added files needed for testcase Please note: Actual testcase is still missing! git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@602125 13f79535-47bb-0310-9956-ffa450edef68
* Temporary fix to the buildAdrian Cumiskey2007-12-061-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@601712 13f79535-47bb-0310-9956-ffa450edef68
* Checkstyle fixesAdrian Cumiskey2007-12-051-6/+6
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@601449 13f79535-47bb-0310-9956-ffa450edef68
* Checkstyle fixesAdrian Cumiskey2007-12-051-6/+5
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@601448 13f79535-47bb-0310-9956-ffa450edef68
* Checkstyle fixesAdrian Cumiskey2007-12-051-5/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@601447 13f79535-47bb-0310-9956-ffa450edef68
* Checkstyle fixesAdrian Cumiskey2007-12-051-3/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@601446 13f79535-47bb-0310-9956-ffa450edef68
* Checkstyle fixesAdrian Cumiskey2007-12-051-20/+14
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@601445 13f79535-47bb-0310-9956-ffa450edef68
* Checkstyle fixesAdrian Cumiskey2007-12-051-44/+32
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@601444 13f79535-47bb-0310-9956-ffa450edef68
* Checkstyle fixesAdrian Cumiskey2007-12-051-28/+17
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@601443 13f79535-47bb-0310-9956-ffa450edef68
* Checkstyle fixesAdrian Cumiskey2007-12-051-0/+5
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@601442 13f79535-47bb-0310-9956-ffa450edef68
* Checkstyle fixesAdrian Cumiskey2007-12-051-51/+37
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@601440 13f79535-47bb-0310-9956-ffa450edef68
* Checkstyle fixesAdrian Cumiskey2007-12-051-21/+10
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@601439 13f79535-47bb-0310-9956-ffa450edef68
* Checkstyle fixes and cleanupAdrian Cumiskey2007-12-051-22/+21
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@601438 13f79535-47bb-0310-9956-ffa450edef68
* Checkstyle fixesAdrian Cumiskey2007-12-051-42/+37
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@601437 13f79535-47bb-0310-9956-ffa450edef68
* Checkstyle fixesAdrian Cumiskey2007-12-051-13/+8
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@601436 13f79535-47bb-0310-9956-ffa450edef68
* Checkstyle fixesAdrian Cumiskey2007-12-051-22/+20
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@601435 13f79535-47bb-0310-9956-ffa450edef68
* Checkstyle fixesAdrian Cumiskey2007-12-051-18/+15
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@601434 13f79535-47bb-0310-9956-ffa450edef68
* Checkstyle fixesAdrian Cumiskey2007-12-051-27/+27
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@601433 13f79535-47bb-0310-9956-ffa450edef68
* Checkstyle fixesAdrian Cumiskey2007-12-051-35/+25
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@601432 13f79535-47bb-0310-9956-ffa450edef68
* Checkstyle fixesAdrian Cumiskey2007-12-051-13/+14
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@601431 13f79535-47bb-0310-9956-ffa450edef68
* Checkstyle fixesAdrian Cumiskey2007-12-051-9/+6
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@601430 13f79535-47bb-0310-9956-ffa450edef68
* Checkstyle fixesAdrian Cumiskey2007-12-051-51/+50
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@601429 13f79535-47bb-0310-9956-ffa450edef68
* Checkstyle fixesAdrian Cumiskey2007-12-051-9/+15
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@601428 13f79535-47bb-0310-9956-ffa450edef68
* Checkstyle fixesAdrian Cumiskey2007-12-051-9/+9
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@601427 13f79535-47bb-0310-9956-ffa450edef68
* Checkstyle fixesAdrian Cumiskey2007-12-051-36/+31
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@601426 13f79535-47bb-0310-9956-ffa450edef68
* Fixed checkstyle issuesAdrian Cumiskey2007-12-053-7/+12
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@601424 13f79535-47bb-0310-9956-ffa450edef68
* Corrected javadoc, fixed checkstyle issues, and now also correctly caters ↵Adrian Cumiskey2007-12-051-22/+25
| | | | | | for negative number conversions git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@601423 13f79535-47bb-0310-9956-ffa450edef68
* Improved use of loggingAdrian Cumiskey2007-12-051-3/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@601419 13f79535-47bb-0310-9956-ffa450edef68
* Bugfix: Bugfix for URI resolution: Make StreamSources without system ↵Jeremias Maerki2007-11-201-16/+31
| | | | | | | | | identifier work again. Bugfix: Close streams opened by test font resolution in font configuration (the font URIs will be resolved again later anyway). Better error message when the loading of font metric files doesn't work due to missing information in the returned Source instances. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@596724 13f79535-47bb-0310-9956-ffa450edef68
* Bugzilla #43904:Jeremias Maerki2007-11-201-5/+13
| | | | | | Buffer the OutputStreams in our transcoders if the users forget. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@596554 13f79535-47bb-0310-9956-ffa450edef68
* Expose a method so I can easily extract the renderer configuration from ↵Jeremias Maerki2007-11-131-8/+18
| | | | | | outside the rendering domain (for a test tool). git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@594509 13f79535-47bb-0310-9956-ffa450edef68
* Avoid null values in generated Font classes so the encoding can be inspected.Jeremias Maerki2007-11-121-2/+5
| | | | | | Don't warn about missing hyphenation characters for fonts such as Symbol and ZapfDingbats which don't have the default hyphenation character. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@594067 13f79535-47bb-0310-9956-ffa450edef68
* Bugzilla #43835:Jeremias Maerki2007-11-111-5/+5
| | | | | | | Bugfix: Use Font.getName() (logical font name) instead of Font.getFontName() (localized) when registering fonts from AWT. Submitted by: David Churavy <churavy.at.kadel.cz> git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@593909 13f79535-47bb-0310-9956-ffa450edef68
* Another improvement for font auto-detection:Jeremias Maerki2007-11-083-4/+19
| | | | | | | Some TrueType fonts have multiple font family names which we haven't extracted so far. All these names are now exposed as a Set of Strings. An example: Futura Book BT has two font families: Futura (Mac platform) and Futura Bk BT (Windows platform). git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@593245 13f79535-47bb-0310-9956-ffa450edef68
* Improved font auto-detection and handling of AWT-supplied fonts in order to ↵Jeremias Maerki2007-11-084-60/+88
| | | | | | | | | | | | | | achieve better results when using multiple output formats. Whenever possible, the font names appearing in the operating system can also be used in XSL-FO. Better distinction between Font Family Name ("Arial"), Full Font Name ("Arial Bold") and PostScript Name ("Arial-BoldMT"). This allows a better generation of FontTriplets. The same is done for AWT fonts where I have switch from font-family detection to enumerating all java.awt.Font instances so I can extract Family Name, Full Name and PostScript Name. FontInfoFinder and AWT's FontSetup are synchronized as well as possible at this time. Register "extra-bold" (weight 800) and "light" (weight 200) in triplets when detected. Tweaked FontInfo.fontLookup() for better fallback behaviour. This approach is rapidly nearing its flexibility limits. We should rethink the FontTriplet structure. Fixed font-autodetection so fonts with uppercase extensions are detected, too. Made the way TrueType fonts are embedded in PDF compliant to the specification so viewers correctly identify subset fonts. The name prefix in MultiByteFont was incorrect. Support the detection of the special Type 1 Symbol font. Symbol used to be detected with "ExpertSubsetEncoding" instead of "SymbolEncoding". Type1FontLoader tries to construct a "full name" from the PostScript name. This is a temporary hack until we have a PFB or PFA parser. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@593189 13f79535-47bb-0310-9956-ffa450edef68
* bugfix: instead of throwing an exception use default PS Level if not set in ↵Chris Bowditch2007-11-081-1/+3
| | | | | | fop.xconf file git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@593172 13f79535-47bb-0310-9956-ffa450edef68
* Fixed regression: transparent-page-background was not recognized for PNG output.Jeremias Maerki2007-11-061-0/+7
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@592554 13f79535-47bb-0310-9956-ffa450edef68
* Bugfix: FOPFonts proc is not used/needed anymore.Jeremias Maerki2007-11-061-4/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@592341 13f79535-47bb-0310-9956-ffa450edef68
* Moved table-related FObj into new o.a.fop.fo.flow.table packageVincent Hennebert2007-11-052-11/+11
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@592103 13f79535-47bb-0310-9956-ffa450edef68
* Completely reimplemented the PDFTextPainter. All SVG text (including flow ↵Jeremias Maerki2007-11-031-13/+0
| | | | | | | | text, but excluding special cases with filters) is now painted in PDF text primitives. The whole thing compiles against and runs with Batik 1.6 but was developed against Batik Trunk (1.7). The TextBridge for SVG 1.2 text is omitted because we're still on Batik 1.6 and FOP wouldn't compile with it. The full feature set is only available with Batik 1.7, of course. With Batik 1.6, font selection may not work as expected. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@591587 13f79535-47bb-0310-9956-ffa450edef68
* Bugzilla #42982:Adrian Cumiskey2007-10-271-3/+12
| | | | | | | | | Applied [PATCH] 42982 - Support Fonts in JAR files Nice work Max, I look forward to you joining us soon :) Submitted by: Max Berger <max.at.berger.name> git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@588858 13f79535-47bb-0310-9956-ffa450edef68
* Bugzilla #43042:Adrian Cumiskey2007-10-266-10/+20
| | | | | | | | | | Applied [PATCH] 43042 - PS extension implementation code cleanup. Partially modified the patch due to code changes. Many thanks to Andrejus Chaliapinas for this patch :) Submitted by: Andrejus Chaliapinas <a.chaliapinas.at.infosana.com> git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@588749 13f79535-47bb-0310-9956-ffa450edef68
* Applying [PATCH] 43587 - Multiple ps:comment-? within fo:declarations causes ↵Adrian Cumiskey2007-10-261-3/+9
| | | | | | ClassCastException git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@588733 13f79535-47bb-0310-9956-ffa450edef68
* Merged ↵Jeremias Maerki2007-10-264-66/+253
| | | | | | | | | | | https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_PDF_in_PDF (563130:HEAD) into Trunk. Adds generic structures in PDF so it is possible to embed external PDF documents, for example to support PDF files in fo:external-graphic for PDF output. See also: http://mail-archives.apache.org/mod_mbox/xmlgraphics-fop-dev/200708.mbox/%3c20070806165027.5C59.DEV@jeremias-maerki.ch%3e I tried to keep the changes on the API of the PDF library minimal but there could still be some incompatibilities for anyone who uses it separately. This also adds support for dynamically registering an image handler. That's just a temporary solution until the image package redesign is done. But it works. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@588547 13f79535-47bb-0310-9956-ffa450edef68
* Fix for ClassCastException if non-PS extension attachments are encountered.Jeremias Maerki2007-10-261-8/+12
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@588545 13f79535-47bb-0310-9956-ffa450edef68
* Bugfix: If auto-detection is enabled, auto-detection didn't get done ↵Jeremias Maerki2007-10-161-5/+1
| | | | | | starting with the second rendering run in the same JVM. Static variables are dangerous! git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@585167 13f79535-47bb-0310-9956-ffa450edef68
* Added a configuration setting to the PCL renderer that lets you disable PJL ↵Jeremias Maerki2007-10-052-12/+43
| | | | | | commands. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@582287 13f79535-47bb-0310-9956-ffa450edef68