-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Verify that icon looks correctly #7
Comments
I will try to create some screenshots using various browser / OS combinations in browserstack during this week and post them here. |
Thanks. |
Actually I know that the gradient for the simplified icons looks okay. The issue is about the big icon. |
It has the percentage version if you mean this - or do you mean another commit? |
First let me apologize for misunderstanding which file you were talking about. I have now reread all posts and have a theory what is actually going on: If you look at just the SVG in any browser in 100% resolution, you notice that it is designed for 2500 pixels width and it looks correct. When you manually export a PNG in Inkscape and reduce it to 500 pixels width it still looks OK, as apparently Inkscape renders it in the native resolution and scales it down afterwards. But when you display the logo in the README.md (or on the privatebin.info page), embedded in HTML with an override of the width set to 500 pixels, the browsers render it directly at 500 pixels and it looks awful (in those that do actually support SVG, older IE will simply display an error symbol). Unfortunately although the gradient is given in relative numbers, the center position of the radial gradient is a fixed pixel position and this is not scaled down when the SVG is rendered in the browsers. Hence the gradient is there, but outside of the hexagon and therefore not visible. That was the problem I also had with the icon. As a solution I suggest that you change the logo with text SVG to 500 pixels width (in the image properties of the file menu in Inkscape) and if necessary reposition the radial gradients center. Then we can replace the logo in the repo and the info page with it and it should look the same in all SVG supporting browsers. |
Hmm, but I think the size is not a problem. It is not only about the logo with text, it is also about this icon (full view) (which is already 500px width) and - as said - it only looks bad on Linux, which is most surprising. So it does not matter in what size/up/downscaling I look at it, it always looks bad. The only difference seem to be between Windows and Linux. How does it look in your case? |
After #5 and after some back and forth I am not sure whether I got the icon right now.
Because on two Linux installations (with Firefox installed) it is always displayed incorrectly as a yellow thing:
On Windows it is however shown correctly, similar to this PNG file.
How does it look on your device (browser/OS)?
The text was updated successfully, but these errors were encountered: