Uploaded image for project: 'PDFBox'
  1. PDFBox
  2. PDFBOX-2156

different shading patterns at different resolutions when ctm is null

VotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    Description

      The attached file renders incorrectly except at 72dpi; at other resolutions, there are different results that get worse as the resolution gets higher. For shading types 2 and 3, this effect happens only in the 1.8 versions, not in the 2.0 version. For shading types 4 and up, it happens in both 1.8 and 2.0.

      The reason is that the transformation is incomplete if the ctm is null.

      I found the file here and it was created by Matthias Kramm:
      https://github.com/jdapena/swftools/tree/master/spec

      Attachments

        1. pattern-shading-2-4-noMatrix.pdf
          6 kB
          Tilman Hausherr
        2. swftools-gradients1.jpg
          130 kB
          Tilman Hausherr
        3. swftools-gradients.pdf
          4 kB
          Tilman Hausherr

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            tilman Tilman Hausherr
            tilman Tilman Hausherr
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment