Iconssssss! SVG icons or font icons
Will update this post because it’s a work in progress.
So this blogpost kind up sums up why I want to try SVG icons.
SVG-icons needs background-size… and IE8 doens’t support that, so a fallback to regular PNG’s? Or just screw IE8 and load only those essential icons like logo, menu-burgers. Well IE8 neither supports SVG, so a proper fallback for that already had to be implemented. Damn you IE8. Good thing that GruntIcon and Iconizer take care of those fallbacks, but I haven’t seen it with my own eyes yet.
I tend to lean to SVG because of font-icon do feel hacky when pushing it’s limits.
Do you see limits on these pages?
The only thing is that researched that data-uri have a bit of a negative speed / loading impact on mobile-devices. I read a bunch of post, with test results, that noted that SVG background icon where to damn slow. At least when displaying multiple
But does that also counts for tablets? Don’t know have to research that some more.
Generate your own
Chris Ferdinandi sums it up pretty well here and he convinced me :)
Do checkout this presentation where Ian Feather links to http://css-tricks.com/preventing-the-performance-hit-from-custom-fonts/.
Generate your own
I think I like the IcoMoon app because now the my designer can also create the fonts and those who aren’t using the command line yet ;)
So I lean to SVG backgrounds… only to have SVG gradients on icons for this specific project… but with few icons like this, they could be load individual. Just 3 damn icons… And then just use font-icons incombination with this
.no-web-font on the
<html> to provide an alternative text or PNG.
Let’s just go with Web Font for this specific project and experiment with SVG on my new jaimemartinez.nl/en redesign because I do think SVG icons will become the future defaults. And Lonely Planet does look mighty fine!