ICEpdf
  1. ICEpdf
  2. PDF-816

Diagonal lines not rendered with provided PDF

    Details

    • Type: Bug Bug
    • Status: Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: 5.1
    • Fix Version/s: 6.4
    • Component/s: Core/Parsing
    • Labels:
      None
    • Environment:
      All

      Description

      There are some diagonal lines that are meant to be rendered under/on an image. These lines are not rendered as they are with Adobe.

        Activity

        Hide
        Patrick Corless added a comment -

        Some nice debugging by the client.

        From a specification point of view I think ICEpdf and the Apple viewers are behaving correctly. Generally speaking each line segment should be followed by S or s token to define a stroke. The following note is in the specification:

        Section 8.5.3.3, "If a subpath is degenerate (consists of a single-point closed path or of two or more points at the same coordinates), f shall paint the single device pixel lying under that point; the result is device-dependent and not generally useful. A single-point open subpath (specified by a trailing m operator) shall produce no output."

        The above quote would seem to backup the idea that we shouldn't be painting anything.

        Show
        Patrick Corless added a comment - Some nice debugging by the client. From a specification point of view I think ICEpdf and the Apple viewers are behaving correctly. Generally speaking each line segment should be followed by S or s token to define a stroke. The following note is in the specification: Section 8.5.3.3, "If a subpath is degenerate (consists of a single-point closed path or of two or more points at the same coordinates), f shall paint the single device pixel lying under that point; the result is device-dependent and not generally useful. A single-point open subpath (specified by a trailing m operator) shall produce no output." The above quote would seem to backup the idea that we shouldn't be painting anything.

          People

          • Assignee:
            Patrick Corless
            Reporter:
            Arran Mccullough
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated: