Am 10.11.2016 um 18:56 schrieb clifford:
I am not saying that PDPattern should have a /Length. PDTilingPattern
should and in version pdfbox-app-2.0.4-20161109.083729-125.jar
PDTilingPattern dose not put a /Length, which is one of my problems
every thing else is ok except that /Length is missing from
PDTilingPattern.
You're using an outdated version. 125 is from yesterday morning. My
first test code did mention that problem. The change that creates a
COSStream for the PDTilingPattern() constructor is from this morning.
(but it was in the first sample code I posted too, there I used the 1
parameter constructor)
The version from this morning is 129. The current version is 131.
Unfortunately the mailing list will not let me put attachments, so I
can not show you a screen capture of the result from PDFDebugger,
which would make it very clear what I am talking about.
Matrix is just a hint, it would be a nice to have. :)
You don't need it. If it is missing, it will be treated as the identity
matrix. You can set a matrix with setMatrix.
Tilman
On 10/11/2016 17:17, Tilman Hausherr wrote:
Am 10.11.2016 um 13:35 schrieb clifford:
Also looking at pdf_reference_1.7.pdf from Adobe the Pattern object
should have a /Length [some value] and it dose not.
Don't confuse the pattern colorspace with the TilingPattern. The
second one has a /Length value.
Also according to the same document, all but 2 of the options are
compulsory "Type" being one and the other is "Matrix" (which is
missing)
Matrix is not compulsory.
I might add I am also looking at gs-bugzilla691715-1.pdf to spot
what is wrong and then looking stuff up, too see if it is needed.
to do the comparisons I am using PDFDebugger which is part of
pdfbox-app-2.0.1.jar
I really suggest you run my example, and show the result file in
PDFDebugger. My example is less complex. And even if this may not be
obvious, I made it for you :-)
Tilman
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]