aboutsummaryrefslogtreecommitdiffstats
path: root/src
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
* sans motsSimon Pepping2006-12-041-3/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@482326 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
* Removing non-existent link.Jeremias Maerki2006-11-131-1/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@474248 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
* ApacheCon is over, next ApacheCon in April 2007 in Amsterdam NLJeremias Maerki2006-11-081-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@472520 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
* Update my profile (and, most of all, try my very first commit!)Vincent Hennebert2006-10-251-1/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@467575 13f79535-47bb-0310-9956-ffa450edef68
* Added news about Vincent voted as committerChristian Geisert2006-10-231-0/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@466963 13f79535-47bb-0310-9956-ffa450edef68
* listed myself as active againBertrand Delacretaz2006-10-161-1/+6
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@464399 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
* Added a note about the "changing available IPD" problem.Jeremias Maerki2006-10-111-4/+8
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@462736 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
* Add link to CambridgeDocs (they are using FOP!)Jeremias Maerki2006-10-021-0/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@452080 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
* A note about CCITT compression.Jeremias Maerki2006-09-181-0/+9
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@447337 13f79535-47bb-0310-9956-ffa450edef68
* ApacheCon Banner update Jeremias Maerki2006-09-182-7/+29
| | | | | | Documented "compression" setting for TIFF Renderer. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@447334 13f79535-47bb-0310-9956-ffa450edef68
* Added support for CCITT compression in the TIFFRenderer by switching to the ↵Jeremias Maerki2006-09-183-84/+105
| | | | | | | | | | 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