Continuing the discussion from Phoenix Blog Posts:
Why is this the case?
The reasons I found so far through the internet to pick SVGs over icon fonts are:
- Many fonts are bloated.
- When the code-points for the icons are badly chosen, the icons might conflict with emojis.
I have been using icon fonts for a long time now, usually using a service like IcoMoon to ensure that the icon fonts that are used are not bloated but only contain the icons that are required for the application.
Reasons I like to use icon fonts over e.g. SVG icons:
- The files that are sent are smaller.
- These icons work better together inline with the text that is there, as the are text. When using SVG-images, one keeps resizing, colour changes in the surrounding text are not applied to the SVG icons, etc.
Are there other reasons to use one over the other I have missed? What do you use for your front-end icon needs?