Skip to content

Loading…

uBlock icon blurry in Firefox 35.0.1 on Windows 7 #800

Closed
gocemitevski opened this Issue · 15 comments

5 participants

@gocemitevski

The uBlock icon is very blurry for me on Windows 7 - in both the small/toolbar version and the large/hamburger menu size. Probably something to do with anti-aliasing.

Not sure if you follow these recommendations for the icon size:
https://developer.mozilla.org/en-US/Add-ons/Install_Manifests#iconURL

@ozar

Just a quick comment to note that I usually run Linux, but I'm on my Window 7 machine at the moment with Firefox 35.0.1, and the uBlock icon doesn't look blurry, but looks fine like it does in Linux. Not sure why I'm unable to reproduce the blurry icon on my end.

@Deathamns

The icon uses and SVG image, it shouldn't be blurry.

@gocemitevski

Here are two screenshots that might help:

screenshot 2
screenshot 1

@Deathamns

It may seem blurry because there is a white border around the octagon, and the browser renders like that. If you look at the Restart, HTTPS, and rainbow icons, those are really blurry.

@gorhill

So if it's render as SVG in FF, there is nothing more to do.

@gorhill gorhill closed this
@gocemitevski

Of course there is something to do more. Improving the quality of the SVG icon is one for start.

Unfortunately I cannot make you care about this issue, if you don't.

Anyway, closing this issue does not mean it has been resolved.

@gorhill

It was already worked on by a contributor in the past. I am guessing anybody could always find it inadequate no matter how much work is put into it, since SVG can be rendered in any resolution.

@gocemitevski

It is not that I'm being picky. If the default Firefox icons can be as sharp as they are, and the uBlock icon is not, then the uBlock icon can be improved.

Using SVG instead of PNG as Mozilla recommends, might also be part of the problem.
https://developer.mozilla.org/en-US/Add-ons/Install_Manifests#iconURL

@gorhill

the icon can be up to 48x48 pixels

So it will be scaled down in the toolbar... and we are back to square one. But now with more issues since if the icon needs to be scaled up above 48px, it will be pixellated. SVG ensures resolution-independent rendering, a fixed-resolution icon create more rendering issues.

@gocemitevski

Yes, I am aware of the benefits of using SVG in the first place. All I'm trying to say is that even the SVG icon can be further improved.

Is the SVG icon freely available? Is it on GitHub?

@pR0Ps

@gocemitevski: The icons are in the repository in this folder.

@gocemitevski

Here is a version of the uBlock SVG icon with improved anti-aliasing.

gocemitevski@09863a6

@gorhill

whichone

Random order: which one is best?

@gocemitevski

Actually, wrong comparison. The 16px SVG icon has not been optimized yet. But still, the first icon looks slightly sharper than the second one.

Anyway, until I create an optimized version of the 16px SVG icon, try comparing ublock.svg against ublock-fixed-aa.svg in larger sizes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.