]> source.dussan.org Git - xmlgraphics-fop.git/log
xmlgraphics-fop.git
10 years agoFOP-2412: Reduce PDF to PS filesize
Simon Steiner [Mon, 15 Sep 2014 09:49:15 +0000 (09:49 +0000)]
FOP-2412: Reduce PDF to PS filesize

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

10 years agoFOP-2412: Reduce PDF to PS filesize
Simon Steiner [Mon, 15 Sep 2014 09:37:55 +0000 (09:37 +0000)]
FOP-2412: Reduce PDF to PS filesize

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

10 years agoFOP-2411: PDF to PDF Link not working
Simon Steiner [Thu, 11 Sep 2014 15:05:00 +0000 (15:05 +0000)]
FOP-2411: PDF to PDF Link not working

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

10 years agoFOP-2213 use kern table when no GPOS kern lookups are present
Glenn Adams [Tue, 9 Sep 2014 23:43:58 +0000 (23:43 +0000)]
FOP-2213 use kern table when no GPOS kern lookups are present
FOP-2094 preliminary support for mapping OTF script tags from @script property
FOP-2094 when no lookups match specified or auto script, retry using DFLT script
FOP-2093 preliminary support for mapping OTF language tags from @language property

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

10 years agoFOP-2303: add test for bug fix
Glenn Adams [Mon, 8 Sep 2014 22:32:17 +0000 (22:32 +0000)]
FOP-2303: add test for bug fix

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

10 years agoFOP-2303: fix negative text indent in bidi context
Glenn Adams [Mon, 8 Sep 2014 21:52:29 +0000 (21:52 +0000)]
FOP-2303: fix negative text indent in bidi context

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

10 years agoFOP-2258: minor test file name change
Glenn Adams [Mon, 8 Sep 2014 14:25:00 +0000 (14:25 +0000)]
FOP-2258: minor test file name change

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

10 years agoFOP-2410: add test for bug fix
Glenn Adams [Mon, 8 Sep 2014 14:21:38 +0000 (14:21 +0000)]
FOP-2410: add test for bug fix

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

10 years agoFOP-2258: add test for bug fix
Glenn Adams [Mon, 8 Sep 2014 13:03:08 +0000 (13:03 +0000)]
FOP-2258: add test for bug fix

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

10 years agoFOP-2258: fix erroneous mirroring
Glenn Adams [Mon, 8 Sep 2014 12:07:42 +0000 (12:07 +0000)]
FOP-2258: fix erroneous mirroring

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

10 years agoFOP-2410: fix fo:page-number in bidi context
Glenn Adams [Mon, 8 Sep 2014 10:04:22 +0000 (10:04 +0000)]
FOP-2410: fix fo:page-number in bidi context

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

10 years agoRevert findbugs
Simon Steiner [Thu, 4 Sep 2014 14:24:38 +0000 (14:24 +0000)]
Revert findbugs

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

10 years agoAdd temp findbugs 2.0.3 excludes so we can start to fail on warnings
Simon Steiner [Thu, 4 Sep 2014 12:32:33 +0000 (12:32 +0000)]
Add temp findbugs 2.0.3 excludes so we can start to fail on warnings

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

10 years agoAdd temp findbugs excludes so we can start to fail on warnings
Simon Steiner [Thu, 4 Sep 2014 12:24:01 +0000 (12:24 +0000)]
Add temp findbugs excludes so we can start to fail on warnings

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

10 years agoFix findbugs warning recently introduced by SS.
Glenn Adams [Sun, 31 Aug 2014 20:08:48 +0000 (20:08 +0000)]
Fix findbugs warning recently introduced by SS.

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

10 years agoUpdate batik library to ToT.
Glenn Adams [Sun, 31 Aug 2014 19:38:40 +0000 (19:38 +0000)]
Update batik library to ToT.

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

10 years agoDisable checkstyle on gump
Simon Steiner [Wed, 27 Aug 2014 07:28:22 +0000 (07:28 +0000)]
Disable checkstyle on gump

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

10 years agoFOP-2353: Test PDF-A preflight warnings
Simon Steiner [Tue, 26 Aug 2014 09:05:14 +0000 (09:05 +0000)]
FOP-2353: Test PDF-A preflight warnings

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

10 years agoFOP-2391: add missing file
Glenn Adams [Sat, 23 Aug 2014 03:53:42 +0000 (03:53 +0000)]
FOP-2391: add missing file

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

10 years agoFOP-2391: enable bidi processing of SVG text chunks
Glenn Adams [Sat, 23 Aug 2014 03:50:42 +0000 (03:50 +0000)]
FOP-2391: enable bidi processing of SVG text chunks

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

10 years agoRename checkstyle property to avoid gump version
Simon Steiner [Thu, 21 Aug 2014 15:09:04 +0000 (15:09 +0000)]
Rename checkstyle property to avoid gump version

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

10 years agoFix checkstyle
Simon Steiner [Thu, 21 Aug 2014 14:52:27 +0000 (14:52 +0000)]
Fix checkstyle

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

10 years agoFOP-2353: PDF-A preflight warnings
Simon Steiner [Thu, 21 Aug 2014 14:42:22 +0000 (14:42 +0000)]
FOP-2353: PDF-A preflight warnings

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

10 years agoFOP-2406: Error when image next to pdf
Simon Steiner [Tue, 19 Aug 2014 15:24:45 +0000 (15:24 +0000)]
FOP-2406: Error when image next to pdf

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

10 years agoFOP-2391: ensure mapping is non-null in CS SVG text
Glenn Adams [Mon, 18 Aug 2014 18:43:50 +0000 (18:43 +0000)]
FOP-2391: ensure mapping is non-null in CS SVG text

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

10 years agoUpdate xmlgraphics commons jar.
Glenn Adams [Sun, 17 Aug 2014 19:07:39 +0000 (19:07 +0000)]
Update xmlgraphics commons jar.

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

10 years agoAdd verbose (-v) flag to FontList tool that shows URI of font resource.
Glenn Adams [Sun, 17 Aug 2014 18:56:01 +0000 (18:56 +0000)]
Add verbose (-v) flag to FontList tool that shows URI of font resource.

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

10 years agoFix or suppress 5- to 9-instance findbug warnings.
Glenn Adams [Sun, 10 Aug 2014 06:55:01 +0000 (06:55 +0000)]
Fix or suppress 5- to 9-instance findbug warnings.

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

10 years agoFix 4-instance findbug warnings.
Glenn Adams [Fri, 8 Aug 2014 03:48:54 +0000 (03:48 +0000)]
Fix 4-instance findbug warnings.

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

10 years agoFix or suppress 3-instance findbug warnings.
Glenn Adams [Thu, 7 Aug 2014 20:27:59 +0000 (20:27 +0000)]
Fix or suppress 3-instance findbug warnings.

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

10 years agoFix 2-instance findbug warnings.
Glenn Adams [Thu, 7 Aug 2014 06:46:57 +0000 (06:46 +0000)]
Fix 2-instance findbug warnings.

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

10 years agoFix or suppress 1-instance findbug warnings.
Glenn Adams [Wed, 6 Aug 2014 19:19:31 +0000 (19:19 +0000)]
Fix or suppress 1-instance findbug warnings.

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

10 years agoRe-filter findbugs exclusions, course grained.
Glenn Adams [Tue, 5 Aug 2014 02:22:51 +0000 (02:22 +0000)]
Re-filter findbugs exclusions, course grained.

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

10 years agoFOP-2391: preliminary (but incomplete) support for complex script text nodes in svg...
Glenn Adams [Sun, 3 Aug 2014 04:40:34 +0000 (04:40 +0000)]
FOP-2391: preliminary (but incomplete) support for complex script text nodes in svg foreign object

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

10 years agoFOP-2393: only the gradient's transform should be used. Other transforms will have...
Vincent Hennebert [Fri, 1 Aug 2014 15:30:26 +0000 (15:30 +0000)]
FOP-2393: only the gradient's transform should be used. Other transforms will have already been applied to the user space.

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

10 years agoFOP-2394: Removed non-standard layout extensions
Vincent Hennebert [Tue, 29 Jul 2014 10:55:37 +0000 (10:55 +0000)]
FOP-2394: Removed non-standard layout extensions

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

10 years agoDisable checkEOF when processing PS files. It's perfectly valid to have an %%EOF...
Vincent Hennebert [Mon, 28 Jul 2014 15:29:10 +0000 (15:29 +0000)]
Disable checkEOF when processing PS files. It's perfectly valid to have an %%EOF comment in the middle of a file if it includes other documents.

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

10 years agoFOP-2107: org.apache.batik.bridge.BridgeException: Unable to make sense of URL for...
Luis Bernardo [Sun, 27 Jul 2014 16:25:25 +0000 (16:25 +0000)]
FOP-2107: org.apache.batik.bridge.BridgeException: Unable to make sense of URL for connection; implemented a better approach.

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

10 years agoFOP-2307: Weird border color inheritance (hashCode collisions) -- patch submitted...
Luis Bernardo [Sun, 27 Jul 2014 15:38:50 +0000 (15:38 +0000)]
FOP-2307: Weird border color inheritance (hashCode collisions) -- patch submitted by Alexios Giotis.

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

10 years agoFOP-2307: Weird border color inheritance (hashCode collisions); change suggested...
Luis Bernardo [Wed, 23 Jul 2014 12:03:37 +0000 (12:03 +0000)]
FOP-2307: Weird border color inheritance (hashCode collisions); change suggested by Alexios Giotis.

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

10 years agofix equality comparison between border, padding and background (see FOP-2307 comments)
Luis Bernardo [Wed, 23 Jul 2014 11:58:15 +0000 (11:58 +0000)]
fix equality comparison between border, padding and background (see FOP-2307 comments)

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

10 years agoFOP-2398: Image written as having 72 DPI instead of its intrinstic resolution
Luis Bernardo [Tue, 22 Jul 2014 13:33:33 +0000 (13:33 +0000)]
FOP-2398: Image written as having 72 DPI instead of its intrinstic resolution

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

10 years agoFOP-2395: PDF encryption does not work when PDF version is set in FOP config; change...
Luis Bernardo [Sat, 19 Jul 2014 12:11:26 +0000 (12:11 +0000)]
FOP-2395: PDF encryption does not work when PDF version is set in FOP config; change suggested by Seifeddine Dridi.

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

10 years agoFOP-2395: PDF encryption does not work when PDF version is set in FOP config; change...
Luis Bernardo [Fri, 18 Jul 2014 23:05:19 +0000 (23:05 +0000)]
FOP-2395: PDF encryption does not work when PDF version is set in FOP config; change suggested by Seifeddine Dridi.

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

10 years agoMerged branch FOP-2393_gradient-rendering back into trunk
Vincent Hennebert [Fri, 18 Jul 2014 19:48:02 +0000 (19:48 +0000)]
Merged branch FOP-2393_gradient-rendering back into trunk

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

10 years agoRemoved unused code FOP-2393_gradient-rendering FOP-2393_gradient-rendering
Vincent Hennebert [Fri, 18 Jul 2014 19:31:41 +0000 (19:31 +0000)]
Removed unused code

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/FOP-2393_gradient-rendering@1611778 13f79535-47bb-0310-9956-ffa450edef68

10 years agoMerged latest trunk
Vincent Hennebert [Fri, 18 Jul 2014 14:21:06 +0000 (14:21 +0000)]
Merged latest trunk

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/FOP-2393_gradient-rendering@1611658 13f79535-47bb-0310-9956-ffa450edef68

10 years agoAdded more complete tests
Vincent Hennebert [Fri, 18 Jul 2014 13:49:05 +0000 (13:49 +0000)]
Added more complete tests
Keep floats for bounds instead of converting them to doubles

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/FOP-2393_gradient-rendering@1611653 13f79535-47bb-0310-9956-ffa450edef68

10 years agoCheck bounds and encode
Vincent Hennebert [Fri, 18 Jul 2014 13:48:43 +0000 (13:48 +0000)]
Check bounds and encode

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/FOP-2393_gradient-rendering@1611652 13f79535-47bb-0310-9956-ffa450edef68

10 years agoFor a Shading object, domain is optional and its default value is what we need
Vincent Hennebert [Fri, 18 Jul 2014 13:48:07 +0000 (13:48 +0000)]
For a Shading object, domain is optional and its default value is what we need

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/FOP-2393_gradient-rendering@1611651 13f79535-47bb-0310-9956-ffa450edef68

10 years agoRemoved unused functionType parameter
Vincent Hennebert [Fri, 18 Jul 2014 13:45:39 +0000 (13:45 +0000)]
Removed unused functionType parameter

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/FOP-2393_gradient-rendering@1611650 13f79535-47bb-0310-9956-ffa450edef68

10 years agoAdded test case for the gradient package
Vincent Hennebert [Fri, 18 Jul 2014 13:44:56 +0000 (13:44 +0000)]
Added test case for the gradient package

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/FOP-2393_gradient-rendering@1611649 13f79535-47bb-0310-9956-ffa450edef68

10 years agoCleaned up and re-organized PS gradient test case
Vincent Hennebert [Fri, 18 Jul 2014 13:42:05 +0000 (13:42 +0000)]
Cleaned up and re-organized PS gradient test case

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/FOP-2393_gradient-rendering@1611648 13f79535-47bb-0310-9956-ffa450edef68

10 years agoRevert fontbox
Simon Steiner [Wed, 16 Jul 2014 15:34:13 +0000 (15:34 +0000)]
Revert fontbox

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

10 years agoMerge font merging
Simon Steiner [Wed, 16 Jul 2014 09:10:53 +0000 (09:10 +0000)]
Merge font merging

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

10 years agoEnabled Checkstyle ExplicitInitializationCheck and fixed resulting warnings
Vincent Hennebert [Tue, 15 Jul 2014 20:25:58 +0000 (20:25 +0000)]
Enabled Checkstyle ExplicitInitializationCheck and fixed resulting warnings
That check had been agreed upon but left disabled because of the number of warnings too high to fix manually

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

10 years ago... And actually fix resulting warnings
Vincent Hennebert [Tue, 15 Jul 2014 19:35:49 +0000 (19:35 +0000)]
... And actually fix resulting warnings

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

10 years agoRemoved CSOFF: LineLengthCheck that have crept in existing files
Vincent Hennebert [Tue, 15 Jul 2014 19:27:58 +0000 (19:27 +0000)]
Removed CSOFF: LineLengthCheck that have crept in existing files

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

10 years agocreatePDFPattern can be made private
Vincent Hennebert [Mon, 14 Jul 2014 21:25:46 +0000 (21:25 +0000)]
createPDFPattern can be made private

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/FOP-2393_gradient-rendering@1610540 13f79535-47bb-0310-9956-ffa450edef68

10 years agoUse the appropriate double formatter depending on the selected output
Vincent Hennebert [Mon, 14 Jul 2014 21:25:39 +0000 (21:25 +0000)]
Use the appropriate double formatter depending on the selected output

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/FOP-2393_gradient-rendering@1610539 13f79535-47bb-0310-9956-ffa450edef68

10 years agoFactorized outputDoubles into GradientMaker
Vincent Hennebert [Mon, 14 Jul 2014 21:25:13 +0000 (21:25 +0000)]
Factorized outputDoubles into GradientMaker
Removed conversion to Double when unnecessary

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/FOP-2393_gradient-rendering@1610538 13f79535-47bb-0310-9956-ffa450edef68

10 years agoRename toWriteableString into output and added StringBuilder parameter
Vincent Hennebert [Mon, 14 Jul 2014 21:24:52 +0000 (21:24 +0000)]
Rename toWriteableString into output and added StringBuilder parameter

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/FOP-2393_gradient-rendering@1610537 13f79535-47bb-0310-9956-ffa450edef68

10 years agoDelegate function rendering to dedicated class intead of taking as parameter a list...
Vincent Hennebert [Mon, 14 Jul 2014 21:24:32 +0000 (21:24 +0000)]
Delegate function rendering to dedicated class intead of taking as parameter a list of Strings coming from who knows where

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/FOP-2393_gradient-rendering@1610535 13f79535-47bb-0310-9956-ffa450edef68

10 years agoRenamed shading package to gradient
Vincent Hennebert [Mon, 14 Jul 2014 21:24:02 +0000 (21:24 +0000)]
Renamed shading package to gradient

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/FOP-2393_gradient-rendering@1610534 13f79535-47bb-0310-9956-ffa450edef68

10 years agoMoved stuff that is common to PDF and PS to Pattern
Vincent Hennebert [Mon, 14 Jul 2014 21:21:35 +0000 (21:21 +0000)]
Moved stuff that is common to PDF and PS to Pattern
Removed PSPattern class and no longer necessary PDF and PS sub-classes of GradientMaker

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/FOP-2393_gradient-rendering@1610532 13f79535-47bb-0310-9956-ffa450edef68

10 years agoMoved content of FunctionPattern into Function
Vincent Hennebert [Mon, 14 Jul 2014 21:08:42 +0000 (21:08 +0000)]
Moved content of FunctionPattern into Function

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/FOP-2393_gradient-rendering@1610528 13f79535-47bb-0310-9956-ffa450edef68

10 years agoMoved content of ShadingPattern into Shading
Vincent Hennebert [Fri, 11 Jul 2014 18:05:02 +0000 (18:05 +0000)]
Moved content of ShadingPattern into Shading

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/FOP-2393_gradient-rendering@1609760 13f79535-47bb-0310-9956-ffa450edef68

10 years agoFactorized shading code that was common to PDF and PostScript
Vincent Hennebert [Fri, 11 Jul 2014 18:03:42 +0000 (18:03 +0000)]
Factorized shading code that was common to PDF and PostScript

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/FOP-2393_gradient-rendering@1609759 13f79535-47bb-0310-9956-ffa450edef68

10 years agoRenamed GradientFactory into GradientMaker
Vincent Hennebert [Fri, 11 Jul 2014 17:58:59 +0000 (17:58 +0000)]
Renamed GradientFactory into GradientMaker
Moved PDF/PSGradientMaker into dedicated packages

Factory stands for a pattern relating to application deployment. This is just about rendering a gradient to a certain output format.

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/FOP-2393_gradient-rendering@1609758 13f79535-47bb-0310-9956-ffa450edef68

10 years agoTightened access control to Function's fields
Vincent Hennebert [Fri, 11 Jul 2014 17:46:00 +0000 (17:46 +0000)]
Tightened access control to Function's fields

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/FOP-2393_gradient-rendering@1609756 13f79535-47bb-0310-9956-ffa450edef68

10 years agoSimplified makeShading and makePattern methods
Vincent Hennebert [Fri, 11 Jul 2014 17:41:49 +0000 (17:41 +0000)]
Simplified makeShading and makePattern methods

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/FOP-2393_gradient-rendering@1609754 13f79535-47bb-0310-9956-ffa450edef68

10 years agoMore sensible variable naming
Vincent Hennebert [Fri, 11 Jul 2014 17:38:47 +0000 (17:38 +0000)]
More sensible variable naming

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/FOP-2393_gradient-rendering@1609751 13f79535-47bb-0310-9956-ffa450edef68

10 years agoAvoid unnecessary conversion to List of Double by keeping the original float[] array...
Vincent Hennebert [Fri, 11 Jul 2014 17:30:10 +0000 (17:30 +0000)]
Avoid unnecessary conversion to List of Double by keeping the original float[] array for colors

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/FOP-2393_gradient-rendering@1609750 13f79535-47bb-0310-9956-ffa450edef68

10 years agoRemoved makeFunction methods, whose implementations are the same for both PDF and PS
Vincent Hennebert [Fri, 11 Jul 2014 17:07:29 +0000 (17:07 +0000)]
Removed makeFunction methods, whose implementations are the same for both PDF and PS

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/FOP-2393_gradient-rendering@1609746 13f79535-47bb-0310-9956-ffa450edef68

10 years agoRemoved unnecessary FunctionDelegate class
Vincent Hennebert [Fri, 11 Jul 2014 16:59:42 +0000 (16:59 +0000)]
Removed unnecessary FunctionDelegate class
Removed makeFunction/Shading/Gradient methods in PDFFactory that were not used, duplicates of methods in (PDF)GradientFactory and getting in the way of refactoring

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/FOP-2393_gradient-rendering@1609745 13f79535-47bb-0310-9956-ffa450edef68

10 years agoMoved creation of colors into createFunctions
Vincent Hennebert [Thu, 10 Jul 2014 18:21:59 +0000 (18:21 +0000)]
Moved creation of colors into createFunctions

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/FOP-2393_gradient-rendering@1609547 13f79535-47bb-0310-9956-ffa450edef68

10 years agoRemoved makeGradient and moved its content into createGradient
Vincent Hennebert [Thu, 10 Jul 2014 18:17:36 +0000 (18:17 +0000)]
Removed makeGradient and moved its content into createGradient

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/FOP-2393_gradient-rendering@1609542 13f79535-47bb-0310-9956-ffa450edef68

10 years agoExtracted function creation into separate method and simplified it
Vincent Hennebert [Thu, 10 Jul 2014 18:10:19 +0000 (18:10 +0000)]
Extracted function creation into separate method and simplified it

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/FOP-2393_gradient-rendering@1609538 13f79535-47bb-0310-9956-ffa450edef68

10 years agoRemoved dead code
Vincent Hennebert [Thu, 10 Jul 2014 18:04:28 +0000 (18:04 +0000)]
Removed dead code

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/FOP-2393_gradient-rendering@1609535 13f79535-47bb-0310-9956-ffa450edef68

10 years agoGave more sensible names to variables
Vincent Hennebert [Thu, 10 Jul 2014 18:02:50 +0000 (18:02 +0000)]
Gave more sensible names to variables

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/FOP-2393_gradient-rendering@1609533 13f79535-47bb-0310-9956-ffa450edef68

10 years agoRemoved createGradient abstract method, that was not having any specific implementati...
Vincent Hennebert [Thu, 10 Jul 2014 18:00:58 +0000 (18:00 +0000)]
Removed createGradient abstract method, that was not having any specific implementation in sub-classes
Removed unnecessary GradientRegistrar interface

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/FOP-2393_gradient-rendering@1609532 13f79535-47bb-0310-9956-ffa450edef68

10 years agoFactorized code that is common to linear and radial gradient creation
Vincent Hennebert [Thu, 10 Jul 2014 17:59:14 +0000 (17:59 +0000)]
Factorized code that is common to linear and radial gradient creation

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/FOP-2393_gradient-rendering@1609530 13f79535-47bb-0310-9956-ffa450edef68

10 years agoFactorized gradient creation out of PDF & PS into GradientFactory
Vincent Hennebert [Thu, 10 Jul 2014 17:57:09 +0000 (17:57 +0000)]
Factorized gradient creation out of PDF & PS into GradientFactory

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/FOP-2393_gradient-rendering@1609529 13f79535-47bb-0310-9956-ffa450edef68

10 years agoMoved checks for repeated gradient out of gradient-creation methods
Vincent Hennebert [Thu, 10 Jul 2014 17:53:22 +0000 (17:53 +0000)]
Moved checks for repeated gradient out of gradient-creation methods
Will ease factorizing of common code between PDF and PostScript

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/FOP-2393_gradient-rendering@1609527 13f79535-47bb-0310-9956-ffa450edef68

10 years agoSmall adjustments to make duplication in PDF and PostScript gradients more apparent
Vincent Hennebert [Thu, 10 Jul 2014 17:51:53 +0000 (17:51 +0000)]
Small adjustments to make duplication in PDF and PostScript gradients more apparent

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/FOP-2393_gradient-rendering@1609526 13f79535-47bb-0310-9956-ffa450edef68

10 years agoRemoved unused code
Vincent Hennebert [Thu, 10 Jul 2014 17:49:47 +0000 (17:49 +0000)]
Removed unused code

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/FOP-2393_gradient-rendering@1609525 13f79535-47bb-0310-9956-ffa450edef68

10 years agoFactorized creation of gradient bounds
Vincent Hennebert [Thu, 10 Jul 2014 17:48:11 +0000 (17:48 +0000)]
Factorized creation of gradient bounds

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/FOP-2393_gradient-rendering@1609524 13f79535-47bb-0310-9956-ffa450edef68

10 years agoFactorized creation of gradient colors
Vincent Hennebert [Thu, 10 Jul 2014 17:46:23 +0000 (17:46 +0000)]
Factorized creation of gradient colors

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/FOP-2393_gradient-rendering@1609523 13f79535-47bb-0310-9956-ffa450edef68

10 years agoFactorized creation of gradient transform
Vincent Hennebert [Thu, 10 Jul 2014 17:44:40 +0000 (17:44 +0000)]
Factorized creation of gradient transform

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/FOP-2393_gradient-rendering@1609522 13f79535-47bb-0310-9956-ffa450edef68

10 years agoSmall adjustments to make duplication in linear and radial gradients more apparent
Vincent Hennebert [Thu, 10 Jul 2014 17:40:50 +0000 (17:40 +0000)]
Small adjustments to make duplication in linear and radial gradients more apparent

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/FOP-2393_gradient-rendering@1609521 13f79535-47bb-0310-9956-ffa450edef68

10 years agoRemoved unused code
Vincent Hennebert [Thu, 10 Jul 2014 17:38:23 +0000 (17:38 +0000)]
Removed unused code

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/FOP-2393_gradient-rendering@1609519 13f79535-47bb-0310-9956-ffa450edef68

10 years agoFactorized creation of gradient bounds
Vincent Hennebert [Thu, 10 Jul 2014 17:37:30 +0000 (17:37 +0000)]
Factorized creation of gradient bounds

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/FOP-2393_gradient-rendering@1609518 13f79535-47bb-0310-9956-ffa450edef68

10 years agoFactorized creation of gradient colors
Vincent Hennebert [Thu, 10 Jul 2014 17:36:43 +0000 (17:36 +0000)]
Factorized creation of gradient colors

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/FOP-2393_gradient-rendering@1609517 13f79535-47bb-0310-9956-ffa450edef68

10 years agoFactorized check for transparent colors out of gradient-handling code
Vincent Hennebert [Thu, 10 Jul 2014 17:35:52 +0000 (17:35 +0000)]
Factorized check for transparent colors out of gradient-handling code

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/FOP-2393_gradient-rendering@1609516 13f79535-47bb-0310-9956-ffa450edef68

10 years agoFactorized creation of gradient transform
Vincent Hennebert [Thu, 10 Jul 2014 17:34:27 +0000 (17:34 +0000)]
Factorized creation of gradient transform

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/FOP-2393_gradient-rendering@1609515 13f79535-47bb-0310-9956-ffa450edef68

10 years agoSmall adjustments to make duplication in linear and radial gradients more apparent
Vincent Hennebert [Thu, 10 Jul 2014 17:33:42 +0000 (17:33 +0000)]
Small adjustments to make duplication in linear and radial gradients more apparent

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/FOP-2393_gradient-rendering@1609514 13f79535-47bb-0310-9956-ffa450edef68

10 years agoExtracted gradient painting into own methods
Vincent Hennebert [Thu, 10 Jul 2014 17:32:49 +0000 (17:32 +0000)]
Extracted gradient painting into own methods

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/FOP-2393_gradient-rendering@1609513 13f79535-47bb-0310-9956-ffa450edef68

10 years agoRemoved pseudo-factory method GradientFactory.newInstance
Vincent Hennebert [Thu, 10 Jul 2014 17:13:45 +0000 (17:13 +0000)]
Removed pseudo-factory method GradientFactory.newInstance

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/FOP-2393_gradient-rendering@1609511 13f79535-47bb-0310-9956-ffa450edef68

10 years agoFixed gradients in PostScript output
Vincent Hennebert [Thu, 10 Jul 2014 17:06:13 +0000 (17:06 +0000)]
Fixed gradients in PostScript output
Linear gradients were not rendered properly in non-square shapes
Gradial gradients don't need to be rasterized in ellipses

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/FOP-2393_gradient-rendering@1609508 13f79535-47bb-0310-9956-ffa450edef68

10 years agoIf the start/end stop does not coincide with the start/end of the gradient, repeat...
Vincent Hennebert [Thu, 10 Jul 2014 17:04:01 +0000 (17:04 +0000)]
If the start/end stop does not coincide with the start/end of the gradient, repeat the first/last color

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/FOP-2393_gradient-rendering@1609507 13f79535-47bb-0310-9956-ffa450edef68