[ https://issues.apache.org/jira/browse/PDFBOX-1094?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14116900#comment-14116900 ]
Tilman Hausherr commented on PDFBOX-1094: ----------------------------------------- Using ceil alone results in poor tiling (broken lines) for PDFBOX-1094-tiling_pattern.pdf at 96dpi, and does not help with survey.pdf. Not sure what you mean about getAnchorRect(), but the 2nd parameter in the constructor of texturepaint uses a getTransformedRect that returns a Rectangle2D.Float. My theory (which I haven't tested) is that the AffineTransform should be adjusted to the size of the raster, i.e. calculate the factor needed to adjust the raster size from floating point value to integer value. This might also solve a minor problem with the rendering of page 3 of PDFBOX-1094-094730.pdf, where vertical lines can be seen that don't belong there. > 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-1861-tracemonkey13.png, PDFStreamEngine.patch, PageDrawer.patch, > _pdfbox-1094-tiling_pattern.pdf-1-blurry.png, 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)