Skip to content

Conversation

CyberShadow
Copy link
Member

PNG logo is not removed, as various other sites, including *.dlang.org, hotlink (embed) it.

I don't have stats for dlang.org, but for forum.dlang.org, 99.7% of visitors use SVG-capable user agents.

PNG logo is not removed, as various other sites, including *.dlang.org,
hotlink (embed) it.
@CyberShadow CyberShadow reopened this Jan 29, 2015
@CyberShadow
Copy link
Member Author

It looks slightly different:


@MartinNowak
Copy link
Member

Why to keep the PNG logo then?

@CyberShadow
Copy link
Member Author

PNG logo is not removed, as various other sites, including *.dlang.org, hotlink (embed) it.

@CyberShadow
Copy link
Member Author

Why to keep the PNG logo then?

Did you mean to ask "why not keep the PNG logo"?

Because it looks blurry on high-DPI screens.

@CyberShadow
Copy link
Member Author

It was requested here and a few other times, I think:

http://forum.dlang.org/post/qeiyyxfiajmlbkuxxbpu@forum.dlang.org

@MartinNowak
Copy link
Member

Did you mean to ask "why not keep the PNG logo"?

No, I meant why not deleting the png file?

@CyberShadow
Copy link
Member Author

Yeah, because it's hotlinked in a few places. For example our README files do that, but I bet there's more than that.

@andralex
Copy link
Member

andralex commented Feb 1, 2015

What are the advantages of svg over png? I figure it's scalable, but we're not taking advantage of that, right?

@CyberShadow
Copy link
Member Author

Because it looks blurry on high-DPI screens.

Specifically: phones released in the past decade, high-DPI displays such as all the latest Macbooks, etc.

@andralex
Copy link
Member

andralex commented Feb 1, 2015

@CyberShadow got relevant screenshots?

@CyberShadow
Copy link
Member Author

Sure I can make some.

@andralex
Copy link
Member

andralex commented Feb 1, 2015

Also I recall there was that 6% of folks who won't see svgs?

@CyberShadow
Copy link
Member Author

No, that figure was off - it was based on global stats. For forum.dlang.org visitors (I have no dlang.org data) it's 0.3%, not 6%.

@andralex
Copy link
Member

andralex commented Feb 1, 2015

mmmkay.. @WalterBright ?

@CyberShadow
Copy link
Member Author

If 0.3% is not acceptable, we can try to fall back to the old image (or progressively enhance to SVG), but all fallback methods I've seen were ugly hacks...

@WalterBright
Copy link
Member

If the 0.3% can't see it, what do they see instead? Is the rest of the page still good?

@CyberShadow
Copy link
Member Author

If the 0.3% can't see it, what do they see instead?

Blank space, or a "broken image" placeholder.

Is the rest of the page still good?

Yes.

@WalterBright
Copy link
Member

Then I'm fine with it.

andralex added a commit that referenced this pull request Feb 1, 2015
@andralex andralex merged commit 9bc993e into dlang:master Feb 1, 2015
@CyberShadow
Copy link
Member Author

Note 4

PNG logo:

SVG logo:

Windows 7 at 150% DPI

PNG logo:

SVG logo:

@andralex
Copy link
Member

andralex commented Feb 1, 2015

@CyberShadow loud and clear thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants