Uploaded image for project: 'Isis'
  1. Isis
  2. ISIS-1604

Extend support for SVG (3 additional dependencies, it seems)

    Details

    • Type: Wish
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.14.0
    • Fix Version/s: 1.15.0
    • Component/s: Core: Viewer: Wicket
    • Labels:
      None

      Description

      Currently SVG images can be used:

      • as Logo in the upper left corner (Wicket Menubar)
      • on the Login Page (login.html)
      • as favicon ("image/svg+xml", cf. ISIS-1115)

      SVGs are not displayed

      • on the welcome page

      SVGs can be attached as Blobs, but they are displayed as bitmaps (by means of the Batik rasterizer) and do not scale. The rasterizer (of course) can not deal with animations (cf. attachment).

      See: https://lists.apache.org/thread.html/68f16dd0306a8101c1cde06e5e6309b8d1b81b388a1f59e123cfc2f3@%3Cusers.isis.apache.org%3E

      		<dependency>
      			<groupId>com.twelvemonkeys.imageio</groupId>
      			<artifactId>imageio-batik</artifactId> <!-- svg -->
      			<version>3.3.2</version>
      		</dependency>
      		<dependency>
      			<groupId>com.twelvemonkeys.imageio</groupId>
      			<artifactId>imageio-batik</artifactId> <!-- svg -->
      			<version>3.3.2</version>
      			<type>test-jar</type>
      			<scope>test</scope>
      		</dependency>
      		<dependency>
      			<groupId>org.apache.xmlgraphics</groupId>
      			<artifactId>batik-transcoder</artifactId>
      			<version>1.8</version>
      		</dependency>
      

        Activity

        Hide
        joerg.rade Jörg Rade added a comment -

        The Batik versions used have high CVE values - they should rather not be included.

        Since in some places the browsers native support for SVG's seems to be used - maybe this can be here as well?

        Show
        joerg.rade Jörg Rade added a comment - The Batik versions used have high CVE values - they should rather not be included. Since in some places the browsers native support for SVG's seems to be used - maybe this can be here as well?
        Hide
        danhaywood Dan Haywood added a comment - - edited

        Have decided to "support" this by adding a hint-n-tip to the wicket viewer documentation, see http://isis.apache.org/guides/ugvw/ugvw.html#_ugvw_hints-and-tips_svg-support

        Show
        danhaywood Dan Haywood added a comment - - edited Have decided to "support" this by adding a hint-n-tip to the wicket viewer documentation, see http://isis.apache.org/guides/ugvw/ugvw.html#_ugvw_hints-and-tips_svg-support
        Hide
        jira-bot ASF subversion and git services added a comment -

        Commit d2e837070e23fecca9fca3c69af066727fc6d8b5 in isis's branch refs/heads/master from Dan Haywood
        [ https://git-wip-us.apache.org/repos/asf?p=isis.git;h=d2e8370 ]

        ISIS-1604: adds a hint-n-tip to the documentation

        Show
        jira-bot ASF subversion and git services added a comment - Commit d2e837070e23fecca9fca3c69af066727fc6d8b5 in isis's branch refs/heads/master from Dan Haywood [ https://git-wip-us.apache.org/repos/asf?p=isis.git;h=d2e8370 ] ISIS-1604 : adds a hint-n-tip to the documentation

          People

          • Assignee:
            danhaywood Dan Haywood
            Reporter:
            joerg.rade Jörg Rade
          • Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development