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

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.5
    • 2.2
    • unqualified
    • 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. patch.diff
          0.7 kB
          Robert Meyer
        2. output-before.afp
          0.5 kB
          Robert Meyer
        3. output-after.afp
          0.5 kB
          Robert Meyer
        4. afp-test.fo
          3 kB
          Robert Meyer

        Activity

          People

            rmeyer Robert Meyer
            rmeyer Robert Meyer
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: