Uploaded image for project: 'Pivot'
  1. Pivot
  2. PIVOT-964

Changes in SVG viewBox attribute causes SVG not to render.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.0.4
    • 2.1, 2.0.5
    • None
    • Windows 7, Java 1.7, Eclipse, Pivot 2.0.4, svgSalamander

    Description

      We try to display a simple SVG file with a rect of width 2000 and height 1000. This is done using an ImageView.

      We have two values of viewBox, both of which capture at least part of the rectangle. For one of them, the rectangle is rendered. For the other, it isn't (but should).

      The exact same scenario, using svgSalamander & Java Swing, works. With Pivot instead of Swing, it does not.

      Here is a Swing minimal example: http://pastebin.com/i0xJbUTg
      Here is a Pivot minimal example: http://pastebin.com/tpgnVe0c

      Attachments

        1. TestClient2.java
          5 kB
          João Martins
        2. TestClient3.java
          4 kB
          João Martins

        Activity

          People

            smartini Sandro Martini
            anvilfolk João Martins
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: