Luis Bernardo
|
a1829d9df8
|
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 ago |
Luis Bernardo
|
136e3cfdd7
|
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 ago |
Vincent Hennebert
|
cdf8be3d3a
|
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 ago |
Vincent Hennebert
|
27b9b2ecbf
|
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 ago |
Vincent Hennebert
|
7f21c0ae85
|
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 ago |
Vincent Hennebert
|
f8dd309bf6
|
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 ago |
Vincent Hennebert
|
a1e5851e19
|
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 ago |
Vincent Hennebert
|
dc62d10348
|
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 ago |
Vincent Hennebert
|
0a7069adae
|
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 ago |
Vincent Hennebert
|
0a505d2b84
|
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 ago |
Vincent Hennebert
|
b49267763c
|
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 ago |
Simon Steiner
|
d8823a7063
|
Revert fontbox
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1611056 13f79535-47bb-0310-9956-ffa450edef68
|
10 years ago |
Simon Steiner
|
28bf84838f
|
Merge font merging
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1610947 13f79535-47bb-0310-9956-ffa450edef68
|
10 years ago |
Vincent Hennebert
|
c411c5fb57
|
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 |
Vincent Hennebert
|
c17e7bea19
|
... 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 ago |
Vincent Hennebert
|
ad635f4ff1
|
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 ago |
Vincent Hennebert
|
6b998b1ba3
|
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 ago |
Vincent Hennebert
|
fbf34c38dc
|
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 ago |
Vincent Hennebert
|
5166be88be
|
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 ago |
Vincent Hennebert
|
bff76cd4a3
|
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 ago |
Vincent Hennebert
|
cc8de67793
|
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 ago |
Vincent Hennebert
|
137171a8e7
|
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 ago |
Vincent Hennebert
|
41cfa73d4b
|
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 ago |
Vincent Hennebert
|
48d4ad4993
|
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 ago |
Vincent Hennebert
|
decb63c9df
|
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 ago |
Vincent Hennebert
|
b7b8ba98b4
|
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 ago |
Vincent Hennebert
|
fd5c47183e
|
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 ago |
Vincent Hennebert
|
27b5b411cd
|
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 ago |
Vincent Hennebert
|
06adde0ea4
|
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 ago |
Vincent Hennebert
|
811e218ebc
|
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 ago |
Vincent Hennebert
|
f9e61a8128
|
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 ago |
Vincent Hennebert
|
1ead2b6ba0
|
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 ago |
Vincent Hennebert
|
d2b8aba113
|
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 ago |
Vincent Hennebert
|
2be89ddec6
|
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 ago |
Vincent Hennebert
|
09781c3b8f
|
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 ago |
Vincent Hennebert
|
3a36357fca
|
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 ago |
Vincent Hennebert
|
89c15128cb
|
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 ago |
Vincent Hennebert
|
07df6c3deb
|
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 ago |
Vincent Hennebert
|
ed15912213
|
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 ago |
Vincent Hennebert
|
1cc7422fab
|
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 ago |
Vincent Hennebert
|
43597cfb65
|
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 ago |
Vincent Hennebert
|
290077cc21
|
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 ago |
Vincent Hennebert
|
2cf4301b4f
|
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 ago |
Vincent Hennebert
|
b1e0d1b19f
|
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 ago |
Vincent Hennebert
|
e848ca20e3
|
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 ago |
Vincent Hennebert
|
a201927a5e
|
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 ago |
Vincent Hennebert
|
73b9837624
|
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 ago |
Vincent Hennebert
|
47b6aab658
|
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 ago |
Vincent Hennebert
|
c693acafaf
|
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 ago |
Vincent Hennebert
|
cf24cc5673
|
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 ago |