News for hackers. Stuff that matters.
Re:Designing for A Retina Web by harlanlewis on Monday August 20, 2012 @05:51PM (#4409970)
Another good approach to small elements like these is using icon fonts. For example, GitHub recently changed all of their nav icons from sprites to a custom icon font called Octicons:

Say Hello to Octicons: https://github.com/blog/1106-say-hello-to-octicons

The Making of Octicons: https://github.com/blog/1135-the-making-of-octicons

Edit: I realize icon fonts are mentioned in the Smashing Mag article, but GitHub's articles are considerably more thorough.

Re:Designing for A Retina Web by jlgreco on Monday August 20, 2012 @07:18PM (#4410299)
Icon fonts just seem to like such a hack to me in a world where SVG exists. Is the entire idea behind using them just that IE 7/8 doesn't have SVG support? How did lack of SVG support even happen? SVG seems like something any modern browser should have had for years.
Re:Designing for A Retina Web by yusefnapora on Monday August 20, 2012 @07:27PM (#4410335)
Android also lacked SVG support until 3.2. The justification I read was that they deliberately disabled it from their webkit build to save 1MB in the compiled binary. Sad, especially since pre-ICS phones are by far the most prevalent.
Re:Designing for A Retina Web by justincormack on Tuesday August 21, 2012 @04:41AM (#4411748)
Although a low Res image fallback is OK there.
Re:Designing for A Retina Web by mgcross on Monday August 20, 2012 @08:07PM (#4410467)
I would love to use SVG, but support just isn't robust enough. Hard to deal with hover/active states too. Icon fonts are one request and easy to style with CSS color and text-shadow (even simulating glows). I just wish there was an easy way to generate a small font set from a the handful of vector elements I need for a given website (custom elements, that is, not using a service like Pictos).
Re:Designing for A Retina Web by msbarnett on Monday August 20, 2012 @07:38PM (#4410366)
You can hint a font. You can't hint an SVG.
Re:Designing for A Retina Web by jlgreco on Monday August 20, 2012 @07:48PM (#4410402)
Huh, that is unfortunate. Is hinting still important on devices with such high DPI though?
Re:Designing for A Retina Web by Chris_Newton on Tuesday August 21, 2012 @06:14AM (#4412037)
It’s not usually the high-dpi devices that you’d be adding hints for. The point is that anything that is going to replace today’s pixel-perfect bitmap graphics still has to look pixel-perfect when rendered on lower-dpi devices, which is going to remain by far the majority of visitors to most sites for a while yet.
Re:Designing for A Retina Web by sopooneo on Monday August 20, 2012 @09:30PM (#4410711)
I believe IE was trying to push the roughly equivalent VML format.
Re:Designing for A Retina Web by mgcross on Monday August 20, 2012 @08:19PM (#4410508)
Nice, I love that they created a large and small version so that the details weren't interpolated away when down sampled. The 'making of' is great, I'm going to forward this to our designers.