[ https://issues.apache.org/jira/browse/PDFBOX-1094?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14116481#comment-14116481 ]
John Hewson edited comment on PDFBOX-1094 at 8/30/14 5:09 PM: -------------------------------------------------------------- In PDFStreamEngine subStreamMatrix is capturing the value of the CTM at the start of the child stream: {code} private void processSubStream(COSStream cosStream) throws IOException { Matrix oldSubStreamMatrix = subStreamMatrix; subStreamMatrix = getGraphicsState().getCurrentTransformationMatrix(); ... {code} But I'm not sure that this is really the stream's initial matrix (e.g. for a form it should capture the "Matrix" entry in the form dictionary) - however, it might be that such transforms have been applied by the time that processSubStream is called, in which it's ok (I think). was (Author: jahewson): In PDFStreamEngine {subStreamMatrix} is capturing the value of the CTM at the start of the child stream: {code} private void processSubStream(COSStream cosStream) throws IOException { Matrix oldSubStreamMatrix = subStreamMatrix; subStreamMatrix = getGraphicsState().getCurrentTransformationMatrix(); ... {code} But I'm not sure that this is really the stream's initial matrix (e.g. for a form it should capture the "Matrix" entry in the form dictionary) - however, it might be that such transforms have been applied by the time that processSubStream is called, in which it's ok (I think). > 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, 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.2#6252)