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

[PATCH] afp renderer does not respect image color settings for svg

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Resolution: Fixed
    • 0.95
    • None
    • unqualified
    • None
    • Operating System: All
      Platform: PC
    • 48237

    Description

      Color svg, declared both inline (<fo:instream-foreign-object>) and external (<fo:external-graphic>), are not rendered to afp as black and white under the following fop.xconf configuration:

      <renderer mime="application/x-afp">
      <images mode="b+w" bits-per-pixel="8"/>
      ..
      </renderer>

      The attached includes sample xsl-fo and afp output to demonstrate.

      Attachments

        1. patch_48237.txt
          21 kB
          Peter Hancock
        2. hello.fo
          0.6 kB
          Venkat Reddy
        3. color_svg.zip
          2 kB
          Peter Hancock
        4. bug_48237.patch
          25 kB
          Peter Hancock
        5. bug_48237.patch
          32 kB
          Peter Hancock

        Activity

          People

            fop-dev@xmlgraphics.apache.org fop-dev
            phancock Peter Hancock
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: