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

SVG image relative url is broken when rednering PDF

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.1
    • None
    • renderer/pdf
    • None
    • Windows 7 x64
      java 1.8.0_102 64-Bit

    Description

      When rendering fo-file into PDF urls to svg images are treated incorrectly because some extra componets are preprended to them. Other images with similar urls works fine.

      <fo:external-graphic src="url('images/svg.svg')"/> doesn't work
      <fo:external-graphic src="url('images/png.png')"/> has no problem
      

      Files to reproduce are in zip archive batik-svg-error.zip.

      Attachments

        1. batik-svg-error.zip
          26 kB
          Sergey B.

        Activity

          People

            Unassigned Unassigned
            sergey-b Sergey B.
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: