Uploaded image for project: 'FOP'
  1. FOP
  2. FOP-2344

[PATCH] SVG bleeds color between elements when outputting to AFP

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.5
    • Fix Version/s: 2.2
    • Component/s: unqualified
    • Labels:
      None

      Description

      When you have an FO which contains various SVG elements of different colors, certain elements such as text and boxes do not have their respective colors set correctly and instead are left at the color of the last element. This causes a problem if for example you have a grey box and black text on top. FOP will draw the box using the grey color and then use the same color for the text, rendering it invisible.

        Attachments

        1. afp-test.fo
          3 kB
          Robert Meyer
        2. output-after.afp
          0.5 kB
          Robert Meyer
        3. output-before.afp
          0.5 kB
          Robert Meyer
        4. patch.diff
          0.7 kB
          Robert Meyer

          Activity

            People

            • Assignee:
              rmeyer Robert Meyer
              Reporter:
              rmeyer Robert Meyer

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment