]> source.dussan.org Git - xmlgraphics-fop.git/log
xmlgraphics-fop.git
9 years agoreapply r1637817 (new ant task removes cache)
Luis Bernardo [Wed, 26 Nov 2014 15:00:57 +0000 (15:00 +0000)]
reapply r1637817 (new ant task removes cache)

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

10 years agoDisable gump
Simon Steiner [Wed, 12 Nov 2014 09:26:23 +0000 (09:26 +0000)]
Disable gump

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

10 years agoRevert to r1637810 to fix broken build.
Glenn Adams [Tue, 11 Nov 2014 08:20:24 +0000 (08:20 +0000)]
Revert to r1637810 to fix broken build.

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

10 years agoFOP-2424: Allow for type1 afm/pfm files to be in a different path than the pfb file
Luis Bernardo [Mon, 10 Nov 2014 11:18:43 +0000 (11:18 +0000)]
FOP-2424: Allow for type1 afm/pfm files to be in a different path than the pfb file

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

10 years agoFOP-2422: fix erroneous use of mapped char with fixed width space chars
Glenn Adams [Mon, 10 Nov 2014 09:17:04 +0000 (09:17 +0000)]
FOP-2422: fix erroneous use of mapped char with fixed width space chars

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

10 years agoFOP-2281: factory is not initialized when -cache is used in org.apache.fop.cli.Main...
Luis Bernardo [Mon, 3 Nov 2014 23:01:33 +0000 (23:01 +0000)]
FOP-2281: factory is not initialized when -cache is used in org.apache.fop.cli.Main; patch submitted by Thanasis Giannimaras.

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

10 years agoFOP-2420: ensure word area's bidi level is initialized when word is mapped to empty...
Glenn Adams [Thu, 23 Oct 2014 07:36:33 +0000 (07:36 +0000)]
FOP-2420: ensure word area's bidi level is initialized when word is mapped to empty string, e.g., when controls are elided

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

10 years agoFOP-2417: Exception caused by letter space handling in Chinese sentence
Luis Bernardo [Fri, 17 Oct 2014 09:18:56 +0000 (09:18 +0000)]
FOP-2417: Exception caused by letter space handling in Chinese sentence

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

10 years agoFOP-2060: adjoining blocks with break-before="page" break-after="page" cause extra...
Luis Bernardo [Wed, 15 Oct 2014 13:15:06 +0000 (13:15 +0000)]
FOP-2060: adjoining blocks with break-before="page" break-after="page" cause extra empty page

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

10 years agoFOP-2249: elide formatting controls - preliminary
Glenn Adams [Tue, 14 Oct 2014 02:28:08 +0000 (02:28 +0000)]
FOP-2249: elide formatting controls - preliminary

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

10 years agoFOP-2416: add support for Arabic Joiners (ZWJ/ZWNJ) - preliminary
Glenn Adams [Mon, 13 Oct 2014 20:57:22 +0000 (20:57 +0000)]
FOP-2416: add support for Arabic Joiners (ZWJ/ZWNJ) - preliminary

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

10 years agoFOP-2287: support Tamil script (preliminary)
Glenn Adams [Sun, 12 Oct 2014 04:18:37 +0000 (04:18 +0000)]
FOP-2287: support Tamil script (preliminary)

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

10 years agoFOP-2157: Deadlock in CompareUtil class; patch by Jacopo Cappellato based on original...
Luis Bernardo [Thu, 9 Oct 2014 20:21:09 +0000 (20:21 +0000)]
FOP-2157: Deadlock in CompareUtil class; patch by Jacopo Cappellato based on original proposal by Morten Knudsen.

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

10 years agoFOP-2415: prevent NPE when Indic script syllabizer is not available
Glenn Adams [Thu, 9 Oct 2014 04:48:19 +0000 (04:48 +0000)]
FOP-2415: prevent NPE when Indic script syllabizer is not available

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

10 years agoFOP-2391: ensure derived font triplet is used
Glenn Adams [Fri, 26 Sep 2014 09:55:40 +0000 (09:55 +0000)]
FOP-2391: ensure derived font triplet is used

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

10 years agoFOP-2391: fix NSM reordering issue and ensure same PDF output as XSL-FO code path...
Glenn Adams [Sat, 20 Sep 2014 19:02:18 +0000 (19:02 +0000)]
FOP-2391: fix NSM reordering issue and ensure same PDF output as XSL-FO code path (using Td/Tj operators)

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

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