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

Unexpected size of the SVG image if dimensions are not specified

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 2.9
    • None
    • image/svg
    • None

    Description

      The container height equals its width if the absolutely positioned block-container is filled with an SVG image. It works fine with raster images.

      See container_scaling.fo with generated PDF outputs in FOP and XEP.

      Comparing FOP and XEP outputs I can also see the difference in the default size if scaling is not specified, see container_no_scaling.fo with PDF outputs.

      Attachments

        1. container_no_scaling_fop.pdf
          5 kB
          Jan Tošovský
        2. container_no_scaling_xep.pdf
          3 kB
          Jan Tošovský
        3. container_no_scaling.fo
          0.7 kB
          Jan Tošovský
        4. container_scaling_fop.pdf
          5 kB
          Jan Tošovský
        5. container_scaling_xep.pdf
          3 kB
          Jan Tošovský
        6. container_scaling.fo
          0.8 kB
          Jan Tošovský
        7. image.png
          3 kB
          Jan Tošovský
        8. image.svg
          0.2 kB
          Jan Tošovský

        Activity

          People

            Unassigned Unassigned
            jan.tosovsky.cz Jan Tošovský
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: