4 ms·
More sites should switch from webfonts to svg for navigation https://github.com/blog/2112-delivering-octicons-with-svg https://github.com/blog/2112-delivering-o
by mlinksva 10y ago
More sites should switch from webfonts to svg for navigation https://github.com/blog/2112-delivering-octicons-with-svg https://github.com/blog/2112-delivering-octicons-with-svg / https://news.ycombinator.com/item?id=11154834 https://news.ycombinator.com/item?id=11154834
- strainer 10y agoI hadn't noticed github switched, I thought svg might be a bit heavier but they say pageload time hasnt suffered and rendering 'jank' improved. Github were using correct ranges for their octicons at least. iirc there is a common software named 'fontawesome' which has caused trouble by creating custom webfonts with incorrect character ranges.
- extra88 10y agoFont Awesome [0] is more of a service than software. Yes, if a site is using icon fonts, more likely than not they're using Font Awesome's (telltale "fa-" names in the source). They're adding a "pro" level that offers SVG as an option. [0] http://fontawesome.io http://fontawesome.io