aboutsummaryrefslogtreecommitdiffstats
path: root/src/java/org
Commit message (Collapse)AuthorAgeFilesLines
* Comment out unused properties. Patch by Richard WheeldonSimon Pepping2006-12-2041-392/+301
| | | | | | | | <richardw@geoquip-rnd.demon.co.uk>. ASF Bugzilla Bug 41044, attachment 19177. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@488960 13f79535-47bb-0310-9956-ffa450edef68
* Optimization in Marker.java: reduction of distinct MarkerAttribute instances ↵Andreas L. Delmelle2006-12-171-44/+75
| | | | | | (see also Bugzilla 41044) git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@487972 13f79535-47bb-0310-9956-ffa450edef68
* Small improvements of the table layout code:Vincent Hennebert2006-11-249-279/+419
| | | | | | | | | | - javadoc - code cleanup - give more explicit names (I believe) to some variables - remove whitespaces at ends of lines git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@478928 13f79535-47bb-0310-9956-ffa450edef68
* Tweaking performance a bit.Jeremias Maerki2006-11-131-3/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@474414 13f79535-47bb-0310-9956-ffa450edef68
* Bugzilla #40387: Jeremias Maerki2006-11-131-4/+5
| | | | | | Dealing with IOExceptions for certain large PFM files in a more radical way: load everything into memory, since we basically need random access here. The biggest PFMs I've seen so far are around 20KB so this shouldn't be a big problem, especially as the memory is freed pretty quickly. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@474410 13f79535-47bb-0310-9956-ffa450edef68
* Added initial support for loading fonts without a pre-created XML font ↵Jeremias Maerki2006-11-137-63/+384
| | | | | | metrics file. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@474387 13f79535-47bb-0310-9956-ffa450edef68
* Bugzilla #40729: Jeremias Maerki2006-11-131-1/+2
| | | | | | | Fix for CMYK ICC colors which were rendered in DeviceCMYK. Submitted by: Peter Coppens <pc.subscriptions.at.gmail.com> git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@474327 13f79535-47bb-0310-9956-ffa450edef68
* Bugzilla #40729:Jeremias Maerki2006-11-1335-152/+934
| | | | | | | | | Support for the rgb-icc() function and for a proprietary cmyk() function (for device CMYK colors only through the PDF renderer so far). Submitted by: Peter Coppens <pc.subscriptions.at.gmail.com> Patch slightly modified to comply with our Java conventions, plus some minor editing. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@474225 13f79535-47bb-0310-9956-ffa450edef68
* Improve compatibility with Apache Harmony: Jeremias Maerki2006-11-121-1/+1
| | | | | | | UnicodeBig does the same as UTF-16BE on read (marker is optional, defaults to big endian). "UnicodeBig" does not seem to be available in Harmony, yet. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@473986 13f79535-47bb-0310-9956-ffa450edef68
* Bugzilla #40813:Jeremias Maerki2006-11-122-19/+23
| | | | | | | | | | | 1. The PreviewDialog did not display correctly under certain Window managers (this is actually a bug in Sun's JVM). 2. Keyboard shortcuts are added for PageUp/PageDown (prev/next page), Home (first page) and End (last page). 3. PreviewPanel.setPage() scrolls to the selected page. Submitted by: Richard Wheeldon <richardw.at.geoquip-rnd.demon.co.uk> git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@473976 13f79535-47bb-0310-9956-ffa450edef68
* Bugzilla #40849:Jeremias Maerki2006-11-123-106/+163
| | | | | | | Support for fo:instream-foreign-object (SVG only) for RTF output. Submitted by: Dominic Brügger <bruegger.at.puzzle.ch> git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@473975 13f79535-47bb-0310-9956-ffa450edef68
* Handle the case where no ImageWriter is returned. Avoids an NPE.Jeremias Maerki2006-11-081-0/+5
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@472508 13f79535-47bb-0310-9956-ffa450edef68
* Bugfix: Fixed bug when the sum of column widths of a table is larger than ↵Jeremias Maerki2006-11-062-4/+27
| | | | | | the specified widths. The table width was not adjusted. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@471725 13f79535-47bb-0310-9956-ffa450edef68
* Better debug info.Jeremias Maerki2006-10-271-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@468348 13f79535-47bb-0310-9956-ffa450edef68
* Do not stop building the metrics file if the unicode index is not found for ↵Bertrand Delacretaz2006-10-131-12/+15
| | | | | | | | | a kerning entry. In my tests with OpenType fonts provided with Ubuntu, this happened quite often, probably caused by extraneous kerning entries which do not point to valid glyphs. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@463581 13f79535-47bb-0310-9956-ffa450edef68
* Bugzilla 40739, metrics-version attribute added to TrueType XML metrics files.Bertrand Delacretaz2006-10-122-1/+45
| | | | | | Checked when reloading the file to detect incompatible file versions. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@463180 13f79535-47bb-0310-9956-ffa450edef68
* Bugzilla 40724, kerning works now for custom CID fonts.Bertrand Delacretaz2006-10-121-45/+85
| | | | | | | | Kerning tables in the metrics xml file now uses unicode character indexes, instead of glyph indexes. Note that this makes the kerning info in these files incompatible with older versions of FOP. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@463175 13f79535-47bb-0310-9956-ffa450edef68
* Fixed possible endless loop.Jeremias Maerki2006-10-111-5/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@462816 13f79535-47bb-0310-9956-ffa450edef68
* Tabs again. :-)Jeremias Maerki2006-10-111-11/+11
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@462814 13f79535-47bb-0310-9956-ffa450edef68
* FilledArea now properly applies the variation factor, when a pageSimon Pepping2006-10-115-13/+75
| | | | | | | | | | number citation is resolved. It (and each InlineArea) may have an adjustingInfo object for that purpose. Adapted leader_toc testcase to the new, correct, results; removed page-number-citation_forward-ref testcase because it duplicates the leader_toc testcase. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@462812 13f79535-47bb-0310-9956-ffa450edef68
* Just an attempt to clarify what "bf" means.Jeremias Maerki2006-10-111-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@462743 13f79535-47bb-0310-9956-ffa450edef68
* Patch from bugzilla 5335 comment #17 applied, thanks to ↵Bertrand Delacretaz2006-10-111-63/+39
| | | | | | | | vincent.hennebert@anyware-tech.com. Fixes "Illegal entry in bfrange block in ToUnicode CMap" error, and a potential problem when the ToUnicode table contains more than 100 ranges. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@462741 13f79535-47bb-0310-9956-ffa450edef68
* code style Jeremias Maerki2006-10-113-66/+57
| | | | | | | TAB characters license headers git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@462726 13f79535-47bb-0310-9956-ffa450edef68
* in debug mode, log the font tables namesBertrand Delacretaz2006-10-101-0/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@454734 13f79535-47bb-0310-9956-ffa450edef68
* (this file was missing in previous commit)Bertrand Delacretaz2006-10-101-0/+322
| | | | | | | | | | Applied patch from bugzilla 5335, comment 10. Generates a ToUnicode table for embedded CID fonts. Patch provided by Adam Strzelecki, ono@java.pl. The patch contains code for the FOray project, used with permission (bugzilla 5335 comment #13). git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@454731 13f79535-47bb-0310-9956-ffa450edef68
* Applied patch from bugzilla 5335, comment 10.Bertrand Delacretaz2006-10-105-14/+97
| | | | | | | | | Generates a ToUnicode table for embedded CID fonts. Patch provided by Adam Strzelecki, ono@java.pl. The patch contains code for the FOray project, used with permission (bugzilla 5335 comment #13). git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@454725 13f79535-47bb-0310-9956-ffa450edef68
* Throw exception if font does not provide a loca table (happens when ↵Bertrand Delacretaz2006-10-101-2/+6
| | | | | | attempting to read an OpenType font with CFF outlines) git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@454671 13f79535-47bb-0310-9956-ffa450edef68
* Throw exception if glyf table is not found (currently happens with some OTF ↵Bertrand Delacretaz2006-10-101-0/+1
| | | | | | font files) git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@454669 13f79535-47bb-0310-9956-ffa450edef68
* Create a dummy PercentBaseContext in FOPRtfAttributes, so thatSimon Pepping2006-10-091-1/+18
| | | | | | | | | percentage font size properties are properly evaluated. Patch by Renaud Michel <renaud dot michel at defimedia dot be>. Unfortunately, no regression test, because I have no RTF test framework. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@454369 13f79535-47bb-0310-9956-ffa450edef68
* Fix a small error in ListItemLayoutManager. Patch submitted by JulienSimon Pepping2006-10-091-1/+1
| | | | | | | | Plissonneau Duquène <julien dot plissonneau dot duquene at savoirfairelinux dot com>, see bug 40556. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@454338 13f79535-47bb-0310-9956-ffa450edef68
* Prevent a StringIndexOutOfBoundsException when the PNG output fileSimon Pepping2006-10-091-5/+25
| | | | | | | | name does not have an extension. Patch submitted by Matt Healy <mjh at cs dot rit dot edu>, see bug 40655. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@454331 13f79535-47bb-0310-9956-ffa450edef68
* Fixed a few JavaDoc errors. Removed some apparently unused/obsolete methods.Joerg Pietschmann2006-10-0716-67/+43
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@454018 13f79535-47bb-0310-9956-ffa450edef68
* Fixed layout of forward page number citation references in fo:inlineSimon Pepping2006-10-075-37/+13
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@453920 13f79535-47bb-0310-9956-ffa450edef68
* Don't swallow the exception. At least log it.Jeremias Maerki2006-10-071-0/+6
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@453919 13f79535-47bb-0310-9956-ffa450edef68
* Bugfix: Nested tables with headers and footers were not handled correctly ↵Jeremias Maerki2006-10-072-6/+33
| | | | | | and could overlap with the region-after. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@453900 13f79535-47bb-0310-9956-ffa450edef68
* Fixed a compilation problem.Jeremias Maerki2006-10-071-3/+6
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@453899 13f79535-47bb-0310-9956-ffa450edef68
* This fixes a bug that has crept in page number resolution, viz. the text was ↵Simon Pepping2006-10-061-1/+2
| | | | | | not updated, so that the wrong ipd was calculated. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@453700 13f79535-47bb-0310-9956-ffa450edef68
* Create a class-specific logger for each LayoutManager which uses a logger.Simon Pepping2006-10-0519-7/+120
| | | | | | This includes the patch of bug 40667. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@453310 13f79535-47bb-0310-9956-ffa450edef68
* Fix bug #40569: throw IOException when embed-url was specified for an ↵Bertrand Delacretaz2006-09-211-5/+8
| | | | | | embedded font, but Source cannot be found git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@448536 13f79535-47bb-0310-9956-ffa450edef68
* Added support for CCITT compression in the TIFFRenderer by switching to the ↵Jeremias Maerki2006-09-182-82/+97
| | | | | | | | | | ImageWriter abstraction from XML Graphics Commons. Submitted by: Oliver Hernàndez Valls <ohernandez@notariado.org> In addition to the contributor's patch, I made the necessary changes to use the new multi-page feature of the ImageWriter abstraction. Plus I fixed a few minor issues concerning configuration. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@447325 13f79535-47bb-0310-9956-ffa450edef68
* Implemented limited support for extension properties through new methods on ↵Jeremias Maerki2006-09-1114-63/+255
| | | | | | | | | | ElementMapping (backwards-compatible). Moved block-progression-unit into the fox: namespace. Implemented new extension properties: fox:orphan-content-limit and fox:widow-content-limit for fo:table and fo:list-block. See documentation for details. Bugfix in ElementListUtils.removeLegalBreaks (concerning box/glue combinations). Added a unit test to cover the problem. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@442282 13f79535-47bb-0310-9956-ffa450edef68
* Missed the other source of "getValue() called on AUTO length" last time. Jeremias Maerki2006-09-111-13/+17
| | | | | | Improved reporting where possible. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@442148 13f79535-47bb-0310-9956-ffa450edef68
* Configuration option in the Java2D-based renderers that allows to disable ↵Jeremias Maerki2006-09-102-3/+36
| | | | | | the default white background in order to produce bitmap output with transparency. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@441965 13f79535-47bb-0310-9956-ffa450edef68
* Bugzilla #39414:Andreas L. Delmelle2006-09-021-27/+50
| | | | | | | | | Uninterrupted text blocks larger than 32K characters would cause overflows during layout, so make sure the FOText char arrays are never larger, by splitting them up into multiple instances. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@439511 13f79535-47bb-0310-9956-ffa450edef68
* Avoiding error message ("getBaseLength called without context") when ↵Jeremias Maerki2006-09-011-1/+1
| | | | | | width="100%" on a table. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@439417 13f79535-47bb-0310-9956-ffa450edef68
* Tweak: look for default font-style/weight before trying default font-familyAndreas L. Delmelle2006-08-311-3/+10
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@438923 13f79535-47bb-0310-9956-ffa450edef68
* Make FontInfo look for the same font-family and weight first, but with ↵Andreas L. Delmelle2006-08-291-7/+21
| | | | | | default font-style git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@438251 13f79535-47bb-0310-9956-ffa450edef68
* Some javadoc improvementsAndreas L. Delmelle2006-08-291-23/+56
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@438235 13f79535-47bb-0310-9956-ffa450edef68
* My last attempt at fixing SVG gradients in PDF wasn't successful. This one is:Jeremias Maerki2006-08-266-41/+38
| | | | | | | | | Improved resolution of transformation matrices in PDF patterns. Renamed PDFState.setTransform() to PDFState.concatenate() because setTransform() does a concationation and is therefore misleading. The old method is still there (just in case) but it is deprecated. Simplified the whole transformation tracking by including the basic page transformation in the stack. Verified the changes with basic-links in FO, fixed block-containers, a-links in SVG and SVG gradients. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@437210 13f79535-47bb-0310-9956-ffa450edef68
* Just isn't my day... last oneAndreas L. Delmelle2006-08-241-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@434530 13f79535-47bb-0310-9956-ffa450edef68