]> source.dussan.org Git - xmlgraphics-fop.git/log
xmlgraphics-fop.git
16 years agoRemoved old image adapters.
Jeremias Maerki [Mon, 17 Mar 2008 08:59:51 +0000 (08:59 +0000)]
Removed old image adapters.
Removed support for Java 1.3 building as it didn't work anymore anyway.
Added a check to require Java 1.4 for building.

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/fop-0_95@637791 13f79535-47bb-0310-9956-ffa450edef68

16 years agoBugzilla #44412:
Jeremias Maerki [Fri, 14 Mar 2008 14:41:03 +0000 (14:41 +0000)]
Bugzilla #44412:
Bugfix: The before border of a block is no longer swallowed if its first child issues a break-before.

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/fop-0_95@637119 13f79535-47bb-0310-9956-ffa450edef68

16 years agoBugzilla #44412:
Vincent Hennebert [Fri, 14 Mar 2008 12:19:45 +0000 (12:19 +0000)]
Bugzilla #44412:
Bugfix: When there was a forced break after a block with (conditional) borders the border-after wasn't painted.
Changes made by Jeremias

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/fop-0_95@637075 13f79535-47bb-0310-9956-ffa450edef68

16 years agoSet the version to 0.95beta
Vincent Hennebert [Wed, 12 Mar 2008 16:28:00 +0000 (16:28 +0000)]
Set the version to 0.95beta

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/fop-0_95@636406 13f79535-47bb-0310-9956-ffa450edef68

16 years agoUpdated copyright years
Vincent Hennebert [Wed, 12 Mar 2008 16:24:48 +0000 (16:24 +0000)]
Updated copyright years

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/fop-0_95@636403 13f79535-47bb-0310-9956-ffa450edef68

16 years agoBranch for the 0.95 release
Vincent Hennebert [Wed, 12 Mar 2008 16:05:07 +0000 (16:05 +0000)]
Branch for the 0.95 release

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/fop-0_95@636382 13f79535-47bb-0310-9956-ffa450edef68

16 years agoUpdate of the documentation before the release.
Vincent Hennebert [Wed, 12 Mar 2008 12:19:15 +0000 (12:19 +0000)]
Update of the documentation before the release.
Added notes about improved checks and conformance in tables.

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@636295 13f79535-47bb-0310-9956-ffa450edef68

16 years agoUpdated the compliance page. Re-added the 0.94 column since there are some noteworthy...
Vincent Hennebert [Wed, 12 Mar 2008 12:14:51 +0000 (12:14 +0000)]
Updated the compliance page. Re-added the 0.94 column since there are some noteworthy changes between the 0.94 and 0.95 versions

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@636293 13f79535-47bb-0310-9956-ffa450edef68

16 years agoSince compliance.ihtml is now the source file and it would cost too much to revert...
Vincent Hennebert [Wed, 12 Mar 2008 10:51:09 +0000 (10:51 +0000)]
Since compliance.ihtml is now the source file and it would cost too much to revert to an xml version, tidied the file a bit. No content change.

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@636276 13f79535-47bb-0310-9956-ffa450edef68

16 years agoUpdated the disabled-testcases.xml file: re-enabled testcases which could easily...
Vincent Hennebert [Tue, 11 Mar 2008 15:13:51 +0000 (15:13 +0000)]
Updated the disabled-testcases.xml file: re-enabled testcases which could easily be updated, removed the other ones which anyway were superseded by more complete ones

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@635967 13f79535-47bb-0310-9956-ffa450edef68

16 years agoForgot to add the testcase for forced break vs explicit row height in revision 635686
Vincent Hennebert [Tue, 11 Mar 2008 15:05:27 +0000 (15:05 +0000)]
Forgot to add the testcase for forced break vs explicit row height in revision 635686

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@635961 13f79535-47bb-0310-9956-ffa450edef68

16 years agoFixed a copy-paste error (getPaddingStart instead of getPaddingEnd)
Vincent Hennebert [Tue, 11 Mar 2008 11:02:27 +0000 (11:02 +0000)]
Fixed a copy-paste error (getPaddingStart instead of getPaddingEnd)

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@635884 13f79535-47bb-0310-9956-ffa450edef68

16 years agoBugfix for row/body/col background painting when padding is used in the table-cells.
Jeremias Maerki [Mon, 10 Mar 2008 22:39:38 +0000 (22:39 +0000)]
Bugfix for row/body/col background painting when padding is used in the table-cells.

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@635741 13f79535-47bb-0310-9956-ffa450edef68

16 years agoNeed to clean up after myself.
Jeremias Maerki [Mon, 10 Mar 2008 21:28:08 +0000 (21:28 +0000)]
Need to clean up after myself.

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@635701 13f79535-47bb-0310-9956-ffa450edef68

16 years agoBugfix: forced break ignored when the minimum height of a table-row isn't reached
Vincent Hennebert [Mon, 10 Mar 2008 20:52:43 +0000 (20:52 +0000)]
Bugfix: forced break ignored when the minimum height of a table-row isn't reached

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@635686 13f79535-47bb-0310-9956-ffa450edef68

16 years agoFixed NPE in BlockContainerLayoutManager when used as a child of an inline-level...
Jeremias Maerki [Mon, 10 Mar 2008 10:06:37 +0000 (10:06 +0000)]
Fixed NPE in BlockContainerLayoutManager when used as a child of an inline-level FO. Split IP and BP stack limits in LayoutContext (there's now a certain amount of redundancy with "refIPD" in LayoutContext which I didn't resolve).
Areas are now generated for block-level FOs when used as children of inline-level FOs.
ClassCastException in ListLayoutManager.mustKeepTogether() fixed (occured if used as child of an inline-level FO).

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@635508 13f79535-47bb-0310-9956-ffa450edef68

16 years agoAdded some notes on getting the same output for PDF/PS and Java2D-based renderers.
Jeremias Maerki [Thu, 6 Mar 2008 08:21:06 +0000 (08:21 +0000)]
Added some notes on getting the same output for PDF/PS and Java2D-based renderers.

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@634187 13f79535-47bb-0310-9956-ffa450edef68

16 years ago- Fixed the rendering of the area of a table corresponding to border-separation,...
Vincent Hennebert [Wed, 5 Mar 2008 18:22:06 +0000 (18:22 +0000)]
- Fixed the rendering of the area of a table corresponding to border-separation, which must be filled with the background of the table, and not the rows.
- Improved conformance: even if a table-cell spans several rows its background must correspond to the first row spanned.
- Added support for background on fo:table-column and fo:table-header/footer/body
  TODO more testcases needed, especially tables with collapsing border model and tables broken over pages

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@633961 13f79535-47bb-0310-9956-ffa450edef68

16 years agoUpdate README.
Jeremias Maerki [Tue, 4 Mar 2008 17:39:08 +0000 (17:39 +0000)]
Update README.

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@633561 13f79535-47bb-0310-9956-ffa450edef68

16 years agoUpdate FOP poster for OpenExpo 2008 in Bern.
Jeremias Maerki [Tue, 4 Mar 2008 17:35:52 +0000 (17:35 +0000)]
Update FOP poster for OpenExpo 2008 in Bern.
This fixes various warnings, updates the history and simplifies configuration (if you're on Windows, it will work out of the box because all fonts are available).

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@633559 13f79535-47bb-0310-9956-ffa450edef68

16 years agoBugfix: If there's shrink available in an auto-height situation, the difference is...
Jeremias Maerki [Tue, 4 Mar 2008 17:30:40 +0000 (17:30 +0000)]
Bugfix: If there's shrink available in an auto-height situation, the difference is now set to 0 in order to avoid unwanted effects. IOW, never shrink in an auto-height situation.

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@633557 13f79535-47bb-0310-9956-ffa450edef68

16 years agoBugfix: Without the system ID (base URI), the XSLT processor cannot resolve document...
Jeremias Maerki [Tue, 4 Mar 2008 16:13:17 +0000 (16:13 +0000)]
Bugfix: Without the system ID (base URI), the XSLT processor cannot resolve document(<uri>, .) function calls correctly.

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@633525 13f79535-47bb-0310-9956-ffa450edef68

16 years agoHa! Almost forgot the most important change: Java 1.4!
Jeremias Maerki [Tue, 4 Mar 2008 13:40:11 +0000 (13:40 +0000)]
Ha! Almost forgot the most important change: Java 1.4!
Plus a note on image libraries.

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@633473 13f79535-47bb-0310-9956-ffa450edef68

16 years agoNoted some of the major change areas in this release.
Jeremias Maerki [Tue, 4 Mar 2008 13:25:12 +0000 (13:25 +0000)]
Noted some of the major change areas in this release.

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@633470 13f79535-47bb-0310-9956-ffa450edef68

16 years agoCopyright year
Jeremias Maerki [Tue, 4 Mar 2008 12:59:57 +0000 (12:59 +0000)]
Copyright year

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@633460 13f79535-47bb-0310-9956-ffa450edef68

16 years agoRenamed to 0.95beta.
Jeremias Maerki [Tue, 4 Mar 2008 11:50:34 +0000 (11:50 +0000)]
Renamed to 0.95beta.
Made changes and release notes work again by switching to the projectInfo plug-in rather than relying on our local copy of the stylesheets. There's a little bug (missing images) in the release notes for which I submitted a patch (https://issues.apache.org/jira/browse/FOR-1076) to Forrest.
Brought status.xml more in line with the official status DTD.

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@633437 13f79535-47bb-0310-9956-ffa450edef68

16 years agoUsing Forrest Trunk from now on (in order to use FOP 0.94 for PDFs). We'll switch...
Jeremias Maerki [Tue, 4 Mar 2008 09:15:50 +0000 (09:15 +0000)]
Using Forrest Trunk from now on (in order to use FOP 0.94 for PDFs). We'll switch to a stable release as soon as a release with a new FOP version is available.

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@633397 13f79535-47bb-0310-9956-ffa450edef68

16 years agoVarious updates.
Jeremias Maerki [Tue, 4 Mar 2008 09:06:03 +0000 (09:06 +0000)]
Various updates.

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@633396 13f79535-47bb-0310-9956-ffa450edef68

16 years agoAdded ApacheCon US 2008.
Jeremias Maerki [Tue, 4 Mar 2008 08:39:12 +0000 (08:39 +0000)]
Added ApacheCon US 2008.

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@633391 13f79535-47bb-0310-9956-ffa450edef68

16 years agoSwitched to Commons 1.3 being released.
Jeremias Maerki [Tue, 4 Mar 2008 08:38:36 +0000 (08:38 +0000)]
Switched to Commons 1.3 being released.

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@633390 13f79535-47bb-0310-9956-ffa450edef68

16 years agoRemoved 0.93 and 0.94, added 0.95. There's no noticeable difference between 0.94...
Jeremias Maerki [Tue, 4 Mar 2008 08:37:05 +0000 (08:37 +0000)]
Removed 0.93 and 0.94, added 0.95. There's no noticeable difference between 0.94 and 0.95 so I removed a column to regain some space.

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@633389 13f79535-47bb-0310-9956-ffa450edef68

16 years agoTried to make font configuration easier to understand by splitting the basics from...
Jeremias Maerki [Mon, 3 Mar 2008 07:51:14 +0000 (07:51 +0000)]
Tried to make font configuration easier to understand by splitting the basics from the advanced stuff. Otherwise, people will believe for the next 100 years that generating XML font metrics file is still always necessary.

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@632972 13f79535-47bb-0310-9956-ffa450edef68

16 years agoUpdated the Apache FOP Quick Start to include a 'Hello World' document and make it...
Clay Leeds [Mon, 3 Mar 2008 04:44:28 +0000 (04:44 +0000)]
Updated the Apache FOP Quick Start to include a 'Hello World' document and make it more geared toward newbies (thanks Jeremias!).

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@632938 13f79535-47bb-0310-9956-ffa450edef68

16 years agoFurther preparations for the 0.95 release. This was tested with the latest Forrest...
Jeremias Maerki [Sun, 2 Mar 2008 16:53:24 +0000 (16:53 +0000)]
Further preparations for the 0.95 release. This was tested with the latest Forrest Trunk (which uses FOP 0.94 for the PDFs).

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@632784 13f79535-47bb-0310-9956-ffa450edef68

16 years agoAdding Quick Start Guide.
Clay Leeds [Sun, 2 Mar 2008 06:42:02 +0000 (06:42 +0000)]
Adding Quick Start Guide.

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@632716 13f79535-47bb-0310-9956-ffa450edef68

16 years agoPreparing for FOP 0.95 release.
Clay Leeds [Sat, 1 Mar 2008 07:10:03 +0000 (07:10 +0000)]
Preparing for FOP 0.95 release.

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@632558 13f79535-47bb-0310-9956-ffa450edef68

16 years agoBugfix: Disabled setting widths from AFM since we're using WinAnsiEncoding internally...
Jeremias Maerki [Fri, 29 Feb 2008 14:03:01 +0000 (14:03 +0000)]
Bugfix: Disabled setting widths from AFM since we're using WinAnsiEncoding internally but the AFM delivers the character widths using the font's native encoding which causes problems with some characters.

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@632321 13f79535-47bb-0310-9956-ffa450edef68

16 years agoMinor tweak: switch from toString() to getLocalizedMessage() for Exceptions passed...
Andreas L. Delmelle [Thu, 28 Feb 2008 21:33:11 +0000 (21:33 +0000)]
Minor tweak: switch from toString() to getLocalizedMessage() for Exceptions passed into warning()

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@632122 13f79535-47bb-0310-9956-ffa450edef68

16 years agoMinor tweaks/updates:
Andreas L. Delmelle [Thu, 28 Feb 2008 21:29:04 +0000 (21:29 +0000)]
Minor tweaks/updates:
- change toString() to getLocalizedMessage() for exceptions passed to warning()
- removed deprecated method isLocatorDisabled()
- removed superfluous try-catch block
- some javadoc changes

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@632121 13f79535-47bb-0310-9956-ffa450edef68

16 years agoSlight improvement for thin lines in Java2D/AWT output.
Jeremias Maerki [Thu, 28 Feb 2008 14:30:46 +0000 (14:30 +0000)]
Slight improvement for thin lines in Java2D/AWT output.
Submitted by: Gordon Cooke <cookeg.at.btinternet.com>

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@631984 13f79535-47bb-0310-9956-ffa450edef68

16 years agobpBeforeNormal and bpAfterNormal already include border-separation, no need to re...
Vincent Hennebert [Wed, 27 Feb 2008 15:09:06 +0000 (15:09 +0000)]
bpBeforeNormal and bpAfterNormal already include border-separation, no need to re-substract it from the box height

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@631609 13f79535-47bb-0310-9956-ffa450edef68

16 years agoBugzilla #44497:
Jeremias Maerki [Wed, 27 Feb 2008 13:00:54 +0000 (13:00 +0000)]
Bugzilla #44497:
AFP Renderer: Bugfix for broken reference orientation on absolutely positioned block-containers.

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@631575 13f79535-47bb-0310-9956-ffa450edef68

16 years agoMoved the getBody method into PrimaryGridUnit, since it's only needed there and that...
Vincent Hennebert [Tue, 26 Feb 2008 16:23:15 +0000 (16:23 +0000)]
Moved the getBody method into PrimaryGridUnit, since it's only needed there and that allows to simplify EmptyGridUnit

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@631276 13f79535-47bb-0310-9956-ffa450edef68

16 years agoGOCA support temporarily removed.
Jeremias Maerki [Tue, 26 Feb 2008 14:30:50 +0000 (14:30 +0000)]
GOCA support temporarily removed.

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@631226 13f79535-47bb-0310-9956-ffa450edef68

16 years agoReverted revision 603590 which broke the AFP renderer. The other changes after revisi...
Jeremias Maerki [Tue, 26 Feb 2008 11:07:20 +0000 (11:07 +0000)]
Reverted revision 603590 which broke the AFP renderer. The other changes after revision 603590 should be preserved as well as possible, including the switch to the new image library.
Adjustments for change in behaviour of the block viewport CTM.
Bugfix: SVG painting is now always done on a color canvas (like for PCL) because Batik cannot handle gradients on a grayscale canvas.

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@631178 13f79535-47bb-0310-9956-ffa450edef68

16 years ago- added full support for keep-with-previous on table-row and in table-cell
Vincent Hennebert [Mon, 25 Feb 2008 11:30:43 +0000 (11:30 +0000)]
- added full support for keep-with-previous on table-row and in table-cell
- added more testcases for keeps in tables
- assign the right table-row element to grid units that are not on the first row spanned
- slightly re-worked the RowGroupBuilder interface to make it more SAX-like

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@630814 13f79535-47bb-0310-9956-ffa450edef68

16 years agoBugfix: When scale-up/down-to-fit was used, the image scaling rule was not always...
Jeremias Maerki [Mon, 25 Feb 2008 09:17:43 +0000 (09:17 +0000)]
Bugfix: When scale-up/down-to-fit was used, the image scaling rule was not always respected.

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@630772 13f79535-47bb-0310-9956-ffa450edef68

16 years agoFixed backward compatiblity with 1.4
Maximilian Berger [Fri, 22 Feb 2008 14:17:20 +0000 (14:17 +0000)]
Fixed backward compatiblity with 1.4

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@630215 13f79535-47bb-0310-9956-ffa450edef68

16 years agoTurned on XInclude processing for the main source given on the command line.
Maximilian Berger [Thu, 21 Feb 2008 18:22:22 +0000 (18:22 +0000)]
Turned on XInclude processing for the main source given on the command line.

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@629902 13f79535-47bb-0310-9956-ffa450edef68

16 years agoMoved me to commiters :)
Maximilian Berger [Thu, 21 Feb 2008 12:52:33 +0000 (12:52 +0000)]
Moved me to commiters :)

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@629769 13f79535-47bb-0310-9956-ffa450edef68

16 years agoFixed a bug leading to the content of row-spanning cells being duplicated at page...
Vincent Hennebert [Tue, 19 Feb 2008 17:32:18 +0000 (17:32 +0000)]
Fixed a bug leading to the content of row-spanning cells being duplicated at page breaks, when it's small enough to fit on the previous row

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@629169 13f79535-47bb-0310-9956-ffa450edef68

16 years agoAdded support for reading the OS/2 table's usWeightClass value which supports the...
Jeremias Maerki [Tue, 19 Feb 2008 15:47:48 +0000 (15:47 +0000)]
Added support for reading the OS/2 table's usWeightClass value which supports the same font weight values as we use in XSL-FO.
However, in my tests these values proved to be unreliable (like ExtraBlack fonts returning 400). I just hooked the whole thing in so this work isn't lost if anyone has an idea to make it work. The FontInfoFinder will continue to only use guessed font weights for now.

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@629131 13f79535-47bb-0310-9956-ffa450edef68

16 years agoFixed NPE when no AFM is available and the PFM didn't provide a xHeight.
Jeremias Maerki [Tue, 19 Feb 2008 15:43:31 +0000 (15:43 +0000)]
Fixed NPE when no AFM is available and the PFM didn't provide a xHeight.

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@629129 13f79535-47bb-0310-9956-ffa450edef68

16 years agoBugfix: a specified font-weight of 100 could result into a resolved font-weight of...
Jeremias Maerki [Tue, 19 Feb 2008 14:16:08 +0000 (14:16 +0000)]
Bugfix: a specified font-weight of 100 could result into a resolved font-weight of 400 even when a font with weight 200 is registered.

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@629103 13f79535-47bb-0310-9956-ffa450edef68

16 years agoBugzilla #44451:
Jeremias Maerki [Tue, 19 Feb 2008 13:08:39 +0000 (13:08 +0000)]
Bugzilla #44451:
The patch fixes two problems:
- If distinct fonts declare the same font family name, the resulting font mapping is currently arbitrary; now, a name-similarity heuristic is used to prioritize the font mappings.
- "Medium" and "demi" fonts are now recognized as "bold", solving several real-world problems (although this solution may be an oversimplification).
Submitted by: Justus Piater <justus-bulk.at.piater.name>

Patch modified by jeremias:
- Style fixes (tab chars)
- Refined font weight identification: medium -> 500, semi/demi -> 600

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@629093 13f79535-47bb-0310-9956-ffa450edef68

16 years agoStyle only: removed spurious ^M characters at the end of lines
Vincent Hennebert [Tue, 19 Feb 2008 09:36:23 +0000 (09:36 +0000)]
Style only: removed spurious ^M characters at the end of lines

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@629048 13f79535-47bb-0310-9956-ffa450edef68

16 years agoMakes sense to mention the removal of deprecated methods.
Jeremias Maerki [Mon, 18 Feb 2008 17:30:15 +0000 (17:30 +0000)]
Makes sense to mention the removal of deprecated methods.

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@628829 13f79535-47bb-0310-9956-ffa450edef68

16 years agoMade the necessary changes to remove the long-standing deprecations in the apps packa...
Jeremias Maerki [Mon, 18 Feb 2008 17:24:23 +0000 (17:24 +0000)]
Made the necessary changes to remove the long-standing deprecations in the apps package as discussed.

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@628826 13f79535-47bb-0310-9956-ffa450edef68

16 years agoIt currently doesn't work properly without a layout-master-set.
Jeremias Maerki [Mon, 18 Feb 2008 17:06:39 +0000 (17:06 +0000)]
It currently doesn't work properly without a layout-master-set.

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@628816 13f79535-47bb-0310-9956-ffa450edef68

16 years agoReducing noise. Better messages.
Jeremias Maerki [Mon, 18 Feb 2008 16:45:18 +0000 (16:45 +0000)]
Reducing noise. Better messages.

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@628804 13f79535-47bb-0310-9956-ffa450edef68

16 years agofop-rgb-icc() function did not make the round-trip which caused an error in the color...
Jeremias Maerki [Mon, 18 Feb 2008 15:02:39 +0000 (15:02 +0000)]
fop-rgb-icc() function did not make the round-trip which caused an error in the color_1.xml test case (intermediate format tests). Added a unit test to test the parsing and round-trip.
Documented the cmyk() function.

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@628775 13f79535-47bb-0310-9956-ffa450edef68

16 years agoExtract original exception in BasePDFTestCase.java. They are normally embedded in...
Jeremias Maerki [Mon, 18 Feb 2008 09:41:03 +0000 (09:41 +0000)]
Extract original exception in BasePDFTestCase.java. They are normally embedded in a TransformerException and sometimes additionally in a SAXException (depending on the JAXP implementation).
Restore validation for Base14 font check when PDF/A is active. Got lost when I refactored to generic structures in the PDF library.

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@628668 13f79535-47bb-0310-9956-ffa450edef68

16 years agoNo stack traces with missing images.
Jeremias Maerki [Mon, 18 Feb 2008 09:00:08 +0000 (09:00 +0000)]
No stack traces with missing images.

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@628652 13f79535-47bb-0310-9956-ffa450edef68

16 years agoExtracted most of the code in CodePointMapping (generated by XSLT) into a base class...
Jeremias Maerki [Sat, 16 Feb 2008 12:28:48 +0000 (12:28 +0000)]
Extracted most of the code in CodePointMapping (generated by XSLT) into a base class for easier maintenance and proper Javadocs.
Deprecated FOP's copy of Glyphs.java.
Took a different approach at handling mapping alternatives for single-byte fonts. The AFM now only lists the main character. Substitution is done through Glyphs.java later in CodePointMapping.
Fixed a problem in Type1FontLoader where the PFM overrides asc/desc/cap/x even though the AFM provides the values. It showed itself because the URW Symbol font has wrong values in the PFM.
Added a note to myself in Type1FontLoader to implement the "Flags" value. The whole thing still seems to work without that part.
Added a glyph name list to the CodePointMapping so we can work with the original list from the AFM. Otherwise, various mapping operations to and from resulted in unwanted mappings (because the mappings are not necessarily 1:1) and in the end the PDF received an incorrect Encoding map. Now there's no such problem anymore.

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@628280 13f79535-47bb-0310-9956-ffa450edef68

16 years agorowStarted doesn't need to be set in the signalNewRow method. If it is, it will preve...
Vincent Hennebert [Fri, 15 Feb 2008 18:33:12 +0000 (18:33 +0000)]
rowStarted doesn't need to be set in the signalNewRow method. If it is, it will prevent the startTablePart event from being triggered on RowGroupBuilder, in addChildNode. This will lead to a NPE being thrown in CollapsingBorderResolver because it would be improperly set up.

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@628140 13f79535-47bb-0310-9956-ffa450edef68

16 years agobreak-after set on the last child of a row-spanning cell must apply to the last row...
Vincent Hennebert [Thu, 14 Feb 2008 12:09:05 +0000 (12:09 +0000)]
break-after set on the last child of a row-spanning cell must apply to the last row spanned by the cell

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@627721 13f79535-47bb-0310-9956-ffa450edef68

16 years agoCreated Constants for unit descriptions
Maximilian Berger [Thu, 14 Feb 2008 11:57:05 +0000 (11:57 +0000)]
Created Constants for unit descriptions

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@627719 13f79535-47bb-0310-9956-ffa450edef68

16 years agoSimplified the detection of double as integer
Vincent Hennebert [Thu, 14 Feb 2008 11:36:01 +0000 (11:36 +0000)]
Simplified the detection of double as integer

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@627712 13f79535-47bb-0310-9956-ffa450edef68

16 years agoFix problem with alternate Unicode code point overriding existing better ones in...
Jeremias Maerki [Thu, 14 Feb 2008 10:41:26 +0000 (10:41 +0000)]
Fix problem with alternate Unicode code point overriding existing better ones in CodePointMapping (ex. a char code for NBSP was used in place of SPACE for non-standard encodings).
Made PFM completely optional if an AFM is available. Widths and Kerning are now also read from the AFM. Fallbacks for missing values are in place. If both AFM and PFM are available, both are used to get the best possible result for certain metrics.

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@627702 13f79535-47bb-0310-9956-ffa450edef68

16 years agoWhen I first saw this it surprised me, it seems to have been here for quite some...
Adrian Cumiskey [Thu, 14 Feb 2008 10:12:48 +0000 (10:12 +0000)]
When I first saw this it surprised me, it seems to have been here for quite some time.
The code block directly following this if/else condition was identical so I removed the copy/paste duplication and refactored it.

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@627698 13f79535-47bb-0310-9956-ffa450edef68

16 years agoAdded support for Type 1 fonts which don't use the AdobeStandardEncoding for PDF...
Jeremias Maerki [Thu, 14 Feb 2008 08:12:34 +0000 (08:12 +0000)]
Added support for Type 1 fonts which don't use the AdobeStandardEncoding for PDF and PS output. Details:
Added an Type 1 AFM parser (only basic ltr script fonts are properly supported).
Font loading changed slightly to allow loading an AFM in addition to a PFM.
Added some mapping functionality to CodePointMapping. Now we also build custom CodePointMapping instances from AFM files and use it in SingleByteFonts.
Changed more PDF object classes to make use of the generic PDFDictionary and PDFArray base classes.
Type 1 Fonts with a special encoding now register their encoding in the Encoding value of the font dictionary so the mapping is correct. For PS this isn't necessary as the interpreter just uses the font's default encoding.
Refactored CMap building code to it can also be used outside the PDF context. A CMap can now also be built from a single byte encoding.
Update of XML Graphics Commons snapshot.

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@627679 13f79535-47bb-0310-9956-ffa450edef68

16 years agoMoved to the FO tree stage the check for break-before/after on table-row while spanni...
Vincent Hennebert [Wed, 13 Feb 2008 20:10:01 +0000 (20:10 +0000)]
Moved to the FO tree stage the check for break-before/after on table-row while spanning in progress, and fixed bug #44321 as well

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@627576 13f79535-47bb-0310-9956-ffa450edef68

16 years agoAdded support for breaks before and after table cells
Vincent Hennebert [Wed, 13 Feb 2008 18:11:06 +0000 (18:11 +0000)]
Added support for breaks before and after table cells

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@627553 13f79535-47bb-0310-9956-ffa450edef68

16 years agoEasy way to force the discarding of the user's font cache file (especially after...
Jeremias Maerki [Wed, 13 Feb 2008 15:57:01 +0000 (15:57 +0000)]
Easy way to force the discarding of the user's font cache file (especially after the recent changes).

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@627497 13f79535-47bb-0310-9956-ffa450edef68

16 years agoReplace useless javadoc comment.
Jeremias Maerki [Wed, 13 Feb 2008 15:55:34 +0000 (15:55 +0000)]
Replace useless javadoc comment.

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@627495 13f79535-47bb-0310-9956-ffa450edef68

16 years agoEnsured all SVN properties are set equally
Maximilian Berger [Wed, 13 Feb 2008 12:03:30 +0000 (12:03 +0000)]
Ensured all SVN properties are set equally

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@627367 13f79535-47bb-0310-9956-ffa450edef68

16 years agoEnsured all SVN properties are set equally
Maximilian Berger [Wed, 13 Feb 2008 09:35:01 +0000 (09:35 +0000)]
Ensured all SVN properties are set equally

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@627324 13f79535-47bb-0310-9956-ffa450edef68

16 years agoAdded *.xml to svn:ignore
Maximilian Berger [Wed, 13 Feb 2008 09:12:25 +0000 (09:12 +0000)]
Added *.xml to svn:ignore

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@627318 13f79535-47bb-0310-9956-ffa450edef68

16 years agoFixed wrong numbering of cells
Vincent Hennebert [Tue, 12 Feb 2008 11:12:25 +0000 (11:12 +0000)]
Fixed wrong numbering of cells

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@620761 13f79535-47bb-0310-9956-ffa450edef68

16 years agoSimplification.
Jeremias Maerki [Tue, 12 Feb 2008 10:45:50 +0000 (10:45 +0000)]
Simplification.

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@620750 13f79535-47bb-0310-9956-ffa450edef68

16 years agoBugzilla #44393:
Jeremias Maerki [Tue, 12 Feb 2008 08:23:04 +0000 (08:23 +0000)]
Bugzilla #44393:
Recognize the newly used EN_AUTO constant for break values. Other LMs generate a -1 value for this case.

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@620723 13f79535-47bb-0310-9956-ffa450edef68

16 years agoMissing file from r620283
Andreas L. Delmelle [Mon, 11 Feb 2008 18:36:14 +0000 (18:36 +0000)]
Missing file from r620283

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@620570 13f79535-47bb-0310-9956-ffa450edef68

16 years agoDisabled region-body_column-count_bug#37468 testcase because of bug 44393
Vincent Hennebert [Mon, 11 Feb 2008 18:24:00 +0000 (18:24 +0000)]
Disabled region-body_column-count_bug#37468 testcase because of bug 44393

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@620567 13f79535-47bb-0310-9956-ffa450edef68

16 years agoBetter javadoc for break class
Vincent Hennebert [Mon, 11 Feb 2008 18:18:13 +0000 (18:18 +0000)]
Better javadoc for break class

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@620565 13f79535-47bb-0310-9956-ffa450edef68

16 years agoFixed illegal character in the file
Vincent Hennebert [Mon, 11 Feb 2008 18:11:09 +0000 (18:11 +0000)]
Fixed illegal character in the file

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@620559 13f79535-47bb-0310-9956-ffa450edef68

16 years agoAdded full support for breaks inside table-cell elements
Vincent Hennebert [Mon, 11 Feb 2008 18:10:09 +0000 (18:10 +0000)]
Added full support for breaks inside table-cell elements

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@620558 13f79535-47bb-0310-9956-ffa450edef68

16 years agoBugzilla 41631: Percentage resolution for arguments to proportional-column-width()
Andreas L. Delmelle [Sun, 10 Feb 2008 13:42:39 +0000 (13:42 +0000)]
Bugzilla 41631: Percentage resolution for arguments to proportional-column-width()

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@620285 13f79535-47bb-0310-9956-ffa450edef68

16 years agoCorrection/Rectification of changes made in r617989:
Andreas L. Delmelle [Sun, 10 Feb 2008 13:17:20 +0000 (13:17 +0000)]
Correction/Rectification of changes made in r617989:
* adjustment in ColorUtil to cater for the change
* added check to the color_1.xml testcase, checking for bug 43705

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@620283 13f79535-47bb-0310-9956-ffa450edef68

16 years agoMissing file from r620272
Andreas L. Delmelle [Sun, 10 Feb 2008 13:07:34 +0000 (13:07 +0000)]
Missing file from r620272

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@620278 13f79535-47bb-0310-9956-ffa450edef68

16 years agoTweak: wrap numeric values internally in Integers or Longs if possible, Doubles only...
Andreas L. Delmelle [Sun, 10 Feb 2008 13:01:07 +0000 (13:01 +0000)]
Tweak: wrap numeric values internally in Integers or Longs if possible, Doubles only if necessary.

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@620277 13f79535-47bb-0310-9956-ffa450edef68

16 years agoRevisit background-position shorthand implementation: always convert to percentages...
Andreas L. Delmelle [Sun, 10 Feb 2008 12:50:47 +0000 (12:50 +0000)]
Revisit background-position shorthand implementation: always convert to percentages (more possibilities/precision).

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@620276 13f79535-47bb-0310-9956-ffa450edef68

16 years agoSome minor tweaks:
Andreas L. Delmelle [Sun, 10 Feb 2008 12:31:46 +0000 (12:31 +0000)]
Some minor tweaks:
* added convenience shortcut to PropertyInfo to get to the user agent.
* replaced occurrences to use the shortcut in PropertyParser and RGBColorFunction.
* PropertyParser -> 0% of a length always yields FixedLength.ZERO_FIXED_LENGTH

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@620272 13f79535-47bb-0310-9956-ffa450edef68

16 years agoIn addKnuthElementsForBorderPaddingXXX, if the returnlist is a
Simon Pepping [Fri, 8 Feb 2008 19:20:27 +0000 (19:20 +0000)]
In addKnuthElementsForBorderPaddingXXX, if the returnlist is a
BlockKnuthSequence, the border and padding should be added to the
first or last paragraph inside it, but it is too late to do that
now. At least, avoid adding it to the bpd sequence.

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@619979 13f79535-47bb-0310-9956-ffa450edef68

16 years agoTestcase for bug #43676, which is now fixed
Vincent Hennebert [Fri, 8 Feb 2008 15:59:21 +0000 (15:59 +0000)]
Testcase for bug #43676, which is now fixed

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@619923 13f79535-47bb-0310-9956-ffa450edef68

16 years agoAdded missing width for Euro glyph.
Jeremias Maerki [Fri, 8 Feb 2008 13:23:47 +0000 (13:23 +0000)]
Added missing width for Euro glyph.

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@619870 13f79535-47bb-0310-9956-ffa450edef68

16 years agoAlso display the column index in the toString method
Vincent Hennebert [Fri, 8 Feb 2008 12:14:01 +0000 (12:14 +0000)]
Also display the column index in the toString method

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@619856 13f79535-47bb-0310-9956-ffa450edef68

16 years agoRemoved the 900 penalty mechanism which anyway almost always produced visually bad...
Vincent Hennebert [Fri, 8 Feb 2008 12:11:04 +0000 (12:11 +0000)]
Removed the 900 penalty mechanism which anyway almost always produced visually bad results. Now the first step for a row is computed so that each cell starting on it can contribute some content.
Used a similar mechanism to replace backtracking: the current row is now allowed to grow as long as there is not enough space on the current page to make the next row fit. The next row is "delayed", so this mechanism is called "row-delaying"

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@619854 13f79535-47bb-0310-9956-ffa450edef68

16 years agoAdded a clarification that this bug affected PDF/A compliance.
Jeremias Maerki [Fri, 8 Feb 2008 07:27:06 +0000 (07:27 +0000)]
Added a clarification that this bug affected PDF/A compliance.

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@619790 13f79535-47bb-0310-9956-ffa450edef68

16 years agoTweak: modify PercentLength.toString() to return a value that facilitates debugging.
Andreas L. Delmelle [Thu, 7 Feb 2008 22:41:26 +0000 (22:41 +0000)]
Tweak: modify PercentLength.toString() to return a value that facilitates debugging.
Moved the original code to a getString() implementation, which is now used by the fotree test suite.

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@619674 13f79535-47bb-0310-9956-ffa450edef68

16 years agoTweak: early percentage resolution by the parser (if the base is known and absolute...
Andreas L. Delmelle [Thu, 7 Feb 2008 22:32:27 +0000 (22:32 +0000)]
Tweak: early percentage resolution by the parser (if the base is known and absolute). Reduces the number of PercentLength instances in favor of cached FixedLengths.

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@619670 13f79535-47bb-0310-9956-ffa450edef68