Safari Mask Icon wrong units in SVG #311

Closed
an-tex opened this Issue Mar 9, 2017 · 2 comments

Comments

Projects
None yet
2 participants
@an-tex

an-tex commented Mar 9, 2017

The generated SVG for the Safari Mask Icon sets the svg width and height to 16pT, instead of 16pX. 16pt translates in my safari to 21px so the icon is deemed invalid and nothing is shown in a pinned tab. Works when I change it to 16px.

So it should be:

<svg version="1.0" xmlns="http://www.w3.org/2000/svg" width="16.000000px" height="16.000000px" viewBox="0 0 16.000000 16.000000" preserveAspectRatio="xMidYMid meet">

instead of:

<svg version="1.0" xmlns="http://www.w3.org/2000/svg" width="16.000000pt" height="16.000000pt" viewBox="0 0 16.000000 16.000000" preserveAspectRatio="xMidYMid meet">

@phbernard phbernard added this to the Package v0.15 milestone Apr 20, 2017

@phbernard

This comment has been minimized.

Show comment
Hide comment
@phbernard

phbernard Apr 20, 2017

Contributor

Two things:

  • I couldn't find any (good) way to make the unit right. As far as I understand, InkScape (used from the command line) cannot do this.
  • I couldn't reliably check if the current icon (with wrong units) work or not.

In doubt, I prefer to simply rollback the change of #242 .

Contributor

phbernard commented Apr 20, 2017

Two things:

  • I couldn't find any (good) way to make the unit right. As far as I understand, InkScape (used from the command line) cannot do this.
  • I couldn't reliably check if the current icon (with wrong units) work or not.

In doubt, I prefer to simply rollback the change of #242 .

@phbernard phbernard added the bug label Apr 20, 2017

@phbernard

This comment has been minimized.

Show comment
Hide comment
@phbernard

phbernard Apr 24, 2017

Contributor

Deployed a minute ago.

Contributor

phbernard commented Apr 24, 2017

Deployed a minute ago.

@phbernard phbernard closed this Apr 24, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment