[
https://issues.apache.org/jira/browse/PDFBOX-1094?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14117627#comment-14117627
]
John Hewson edited comment on PDFBOX-1094 at 9/1/14 6:32 PM:
-------------------------------------------------------------
I've fixed the gaps in the lines of PDFBOX-1094-tiling_pattern.pdf at 96dpi,
it was caused by floating point error (e.g. we had 20.0000000000001 which
Math.ceil rounds to 21. I've used BigDecimal's CEILING feature to avoid this.
was (Author: jahewson):
I've fixed the gaps in the lines of PDFBOX-1094-tiling_pattern.pdf at 96dpi,
it was caused by floating point error (e.g. Math.ceil was rounding
20.0000000000001 to 21. I've used BigDecimal's CEILING feature to avoid this.
> Pattern colorspace support
> --------------------------
>
> Key: PDFBOX-1094
> URL: https://issues.apache.org/jira/browse/PDFBOX-1094
> Project: PDFBox
> Issue Type: Improvement
> Components: Rendering
> Affects Versions: 1.6.0
> Reporter: Andreas Lehmkühler
> Priority: Minor
> Attachments: ColoredTilingPaint.patch, PATTYP1.pdf, PATTYP2.pdf,
> PDF32000_2008_pg737.pdf, PDFBOX-1094-065514-XStep32767.pdf,
> PDFBOX-1094-094730.pdf, PDFBOX-1094-096213-p18.pdf,
> PDFBOX-1094-tiling_pattern.pdf-1-broken-tiles-with-ceil.png,
> PDFBOX-1861-tracemonkey13.png, PDFStreamEngine.patch, PageDrawer.patch,
> _pdfbox-1094-tiling_pattern.pdf-1-blurry.png, bugzilla8677511.jpg,
> gs-bugzilla693653.pdf, jagpdf_doc_patterns.pdf,
> jagpdf_doc_patterns.pdf-1.png, pdfbox-1094-pdf32000_2008_pg737.pdf-1.png,
> pdfbox-1094-pdf32000_2008_pg737.pdf-1.png,
> pdfbox-1094-tiling_pattern.pdf-1.png, pdfbox-1094-tiling_pattern.pdf-1.png,
> pdfbox-1094-tiling_pattern.pdf-1.png, pdfbox-1861-tracemonkey.pdf-13.png,
> pdfbox-1861-tracemonkey.pdf-13.png, tiling_pattern.pdf
>
>
> PDFBox doesn't support PDPattern colorspaces
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)