rugk / unicodify

✍️ A browser add-on (Firefox, Chrome, Thunderbird) that allows you to autocorrect common text sequences and convert text characters to a look like a special font.
https://addons.mozilla.org/firefox/addon/unicodify-text-transformer/?utm_source=github.com&utm_medium=git&utm_content=repo-about-description&utm_campaign=github
Other
11 stars 2 forks source link

SVG icon broken #60

Open rugk opened 3 years ago

rugk commented 3 years ago

Bug description

The icon SVG is broken and sometimes looks wrong,

image image

Steps to reproduce

  1. Go into the add-ons page about:addons and look at the icon.
  2. Optionally right-click -> Open image in a new tab.

Actual behavior

SVG looks broken, see above

Expected behavior

It should look the same as the PNG version:

System

Operating system and version: Fedora 34 Browser and version: Firefox 90.0.2 Add-on version: main branch/0.1

Possible solution

It is very likely some SVG rendering bug/unsupported property or so as I know from other cases.

Originally at https://github.com/rugk/unicodify/issues/3#issuecomment-897949810

tdulcet commented 3 years ago

It is very likely some SVG rendering bug/unsupported property

Hmm, I think there are two separate issues here:

  1. The SVG is not rendered the same in the browser as it is in Inkscape.
  2. The SVG is not rendered correctly in Firefox on Fedora.

This is what I get for the SVG in both Firefox and Chrome: image which is different from both your screenshot of the SVG and the expected PNG. I believe this is issue 1 and what you are describing is both issues 1 and 2.

rugk commented 2 years ago

BTW cannot reproduce anymore with Firefox 103.0.2 (Distribution: fedora again).

image image

As such I guess it's fixed… :upside_down_face: ...and I'll close it.

tdulcet commented 2 years ago

Hmm, I am still able to reproduce this in both Firefox 103.0.2 and Chrome: image image

Are you using the version of the logo from here? Maybe you could use mozregression to figure out what Firefox bug it was fixed for you in.