-
Notifications
You must be signed in to change notification settings - Fork 2
format
Rémy F edited this page Dec 26, 2021
·
2 revisions
Here is a comparison table to help you choose what glyph format match your needs:
Criteria | Uni | SVG | Font | Details |
---|---|---|---|---|
Reproductible | ✗ | ✓ | ✓ | Unicode glyph rendering are specific to each platform |
Coloration | ✗ | ✗ | ✓ | Only Font (and SVG sprites) follows font colors |
Lightweight | ✓ | ✗ | ✓ | SVG is the heaviest format (even as sprite) |
Custom Glyph | ✗ | ✓ | ✓ | Unicode will never have your favorite social media logo |
Text-based | ✓ | ✗ | ✓ | SVGs can't be used in text elements (select, list, placeholder ...) |
Multi-shade | ✓ | ✓ | ✓ | The OpenType COLR table is universally supported |