aboutsummaryrefslogtreecommitdiffstats
path: root/src/java/org/apache
Commit message (Collapse)AuthorAgeFilesLines
* Factorized shading code that was common to PDF and PostScriptVincent Hennebert2014-07-1110-768/+470
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/FOP-2393_gradient-rendering@1609759 13f79535-47bb-0310-9956-ffa450edef68
* Renamed GradientFactory into GradientMakerVincent Hennebert2014-07-115-31/+35
| | | | | | | | | 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
* Tightened access control to Function's fieldsVincent Hennebert2014-07-111-15/+15
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/FOP-2393_gradient-rendering@1609756 13f79535-47bb-0310-9956-ffa450edef68
* Simplified makeShading and makePattern methodsVincent Hennebert2014-07-113-34/+21
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/FOP-2393_gradient-rendering@1609754 13f79535-47bb-0310-9956-ffa450edef68
* More sensible variable namingVincent Hennebert2014-07-115-63/+60
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/FOP-2393_gradient-rendering@1609751 13f79535-47bb-0310-9956-ffa450edef68
* Avoid unnecessary conversion to List of Double by keeping the original ↵Vincent Hennebert2014-07-115-157/+25
| | | | | | 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
* Removed makeFunction methods, whose implementations are the same for both ↵Vincent Hennebert2014-07-115-136/+16
| | | | | | 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
* Removed unnecessary FunctionDelegate classVincent Hennebert2014-07-118-1221/+496
| | | | | | | 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
* Moved creation of colors into createFunctionsVincent Hennebert2014-07-101-19/+19
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/FOP-2393_gradient-rendering@1609547 13f79535-47bb-0310-9956-ffa450edef68
* Removed makeGradient and moved its content into createGradientVincent Hennebert2014-07-101-20/+5
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/FOP-2393_gradient-rendering@1609542 13f79535-47bb-0310-9956-ffa450edef68
* Extracted function creation into separate method and simplified itVincent Hennebert2014-07-101-24/+20
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/FOP-2393_gradient-rendering@1609538 13f79535-47bb-0310-9956-ffa450edef68
* Removed dead codeVincent Hennebert2014-07-101-23/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/FOP-2393_gradient-rendering@1609535 13f79535-47bb-0310-9956-ffa450edef68
* Gave more sensible names to variablesVincent Hennebert2014-07-101-56/+36
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/FOP-2393_gradient-rendering@1609533 13f79535-47bb-0310-9956-ffa450edef68
* Removed createGradient abstract method, that was not having any specific ↵Vincent Hennebert2014-07-106-130/+23
| | | | | | | | | 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
* Factorized code that is common to linear and radial gradient creationVincent Hennebert2014-07-101-40/+31
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/FOP-2393_gradient-rendering@1609530 13f79535-47bb-0310-9956-ffa450edef68
* Factorized gradient creation out of PDF & PS into GradientFactoryVincent Hennebert2014-07-105-224/+122
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/FOP-2393_gradient-rendering@1609529 13f79535-47bb-0310-9956-ffa450edef68
* Moved checks for repeated gradient out of gradient-creation methodsVincent Hennebert2014-07-102-43/+23
| | | | | | | 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
* Small adjustments to make duplication in PDF and PostScript gradients more ↵Vincent Hennebert2014-07-102-30/+26
| | | | | | apparent git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/FOP-2393_gradient-rendering@1609526 13f79535-47bb-0310-9956-ffa450edef68
* Removed unused codeVincent Hennebert2014-07-101-7/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/FOP-2393_gradient-rendering@1609525 13f79535-47bb-0310-9956-ffa450edef68
* Factorized creation of gradient boundsVincent Hennebert2014-07-101-18/+16
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/FOP-2393_gradient-rendering@1609524 13f79535-47bb-0310-9956-ffa450edef68
* Factorized creation of gradient colorsVincent Hennebert2014-07-101-28/+21
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/FOP-2393_gradient-rendering@1609523 13f79535-47bb-0310-9956-ffa450edef68
* Factorized creation of gradient transformVincent Hennebert2014-07-101-24/+17
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/FOP-2393_gradient-rendering@1609522 13f79535-47bb-0310-9956-ffa450edef68
* Small adjustments to make duplication in linear and radial gradients more ↵Vincent Hennebert2014-07-101-42/+25
| | | | | | apparent git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/FOP-2393_gradient-rendering@1609521 13f79535-47bb-0310-9956-ffa450edef68
* Removed unused codeVincent Hennebert2014-07-101-14/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/FOP-2393_gradient-rendering@1609519 13f79535-47bb-0310-9956-ffa450edef68
* Factorized creation of gradient boundsVincent Hennebert2014-07-101-18/+16
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/FOP-2393_gradient-rendering@1609518 13f79535-47bb-0310-9956-ffa450edef68
* Factorized creation of gradient colorsVincent Hennebert2014-07-101-28/+23
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/FOP-2393_gradient-rendering@1609517 13f79535-47bb-0310-9956-ffa450edef68
* Factorized check for transparent colors out of gradient-handling codeVincent Hennebert2014-07-101-8/+11
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/FOP-2393_gradient-rendering@1609516 13f79535-47bb-0310-9956-ffa450edef68
* Factorized creation of gradient transformVincent Hennebert2014-07-101-28/+19
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/FOP-2393_gradient-rendering@1609515 13f79535-47bb-0310-9956-ffa450edef68
* Small adjustments to make duplication in linear and radial gradients more ↵Vincent Hennebert2014-07-101-25/+26
| | | | | | apparent git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/FOP-2393_gradient-rendering@1609514 13f79535-47bb-0310-9956-ffa450edef68
* Extracted gradient painting into own methodsVincent Hennebert2014-07-101-150/+158
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/FOP-2393_gradient-rendering@1609513 13f79535-47bb-0310-9956-ffa450edef68
* Removed pseudo-factory method GradientFactory.newInstanceVincent Hennebert2014-07-104-23/+11
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/FOP-2393_gradient-rendering@1609511 13f79535-47bb-0310-9956-ffa450edef68
* Fixed gradients in PostScript outputVincent Hennebert2014-07-104-45/+38
| | | | | | | | 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
* If the start/end stop does not coincide with the start/end of the gradient, ↵Vincent Hennebert2014-07-102-18/+40
| | | | | | 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
* FOP-2389: PDFEncryption: error when Password length>32Luis Bernardo2014-07-081-3/+7
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1608815 13f79535-47bb-0310-9956-ffa450edef68
* FOP-1976; committed change suggested by Matthias ReischenbacherChris Bowditch2014-07-071-2/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1608489 13f79535-47bb-0310-9956-ffa450edef68
* FOP 2388: Fix Arabic text left justified on the first cell of a table with ↵Glenn Adams2014-07-0612-49/+49
| | | | | | writing mode rl-tb. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1608314 13f79535-47bb-0310-9956-ffa450edef68
* Fix leaked resource warnings from Eclipse (Kepler).Glenn Adams2014-07-0610-8/+38
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1608162 13f79535-47bb-0310-9956-ffa450edef68
* Fix compiler warnings.Glenn Adams2014-07-0616-30/+16
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1608161 13f79535-47bb-0310-9956-ffa450edef68
* footnoteList cannot be null there; instead we want to check if it's emptyVincent Hennebert2014-06-191-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1603726 13f79535-47bb-0310-9956-ffa450edef68
* FOP-2385: Add ability to specify custom properties in the Document ↵Vincent Hennebert2014-06-1812-3/+242
| | | | | | Information Dictionary git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1603596 13f79535-47bb-0310-9956-ffa450edef68
* FOP-1099: when table headers/footers are repeated at page breaks, also ↵Vincent Hennebert2014-06-189-47/+207
| | | | | | repeat the footnotes they may contain git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1603386 13f79535-47bb-0310-9956-ffa450edef68
* FOP-1099: process footnotes coming from table headers or footersVincent Hennebert2014-06-024-28/+97
| | | | | | | | | The footnote will appear once at the first (resp. last) occurrence of the table-header (resp. -footer). Patch by Matthias Reischenbacher, applied with modifications. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1599344 13f79535-47bb-0310-9956-ffa450edef68
* FOP-2354: Subset support for Type 1 fontsRobert Meyer2014-05-2312-34/+1705
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1597112 13f79535-47bb-0310-9956-ffa450edef68
* FOP-2372: New extension to resize background imagesLuis Bernardo2014-05-117-23/+86
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1593863 13f79535-47bb-0310-9956-ffa450edef68
* Brought the branch in sync with rev. 1590916 of trunkTemp_WhitespaceManagementVincent Hennebert2014-04-3010-9/+139
|\ | | | | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_WhitespaceManagement@1591437 13f79535-47bb-0310-9956-ffa450edef68
| * CheckstyleSimon Steiner2014-04-291-1/+2
| | | | | | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1590916 13f79535-47bb-0310-9956-ffa450edef68
| * FOP-2345 SVG to AFP text spacing wrongSimon Steiner2014-04-281-1/+14
| | | | | | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1590665 13f79535-47bb-0310-9956-ffa450edef68
| * FOP-2336 OOM for tiff outputSimon Steiner2014-04-281-2/+3
| | | | | | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1590653 13f79535-47bb-0310-9956-ffa450edef68
| * FOP-2337 Remove xobj type=formSimon Steiner2014-04-282-4/+34
| | | | | | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1590619 13f79535-47bb-0310-9956-ffa450edef68
| * FOP-2363: Better error message when PDF/A enabled and SVG contains bitmap ↵Vincent Hennebert2014-04-045-2/+73
| | | | | | | | | | | | with transparency git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1584765 13f79535-47bb-0310-9956-ffa450edef68