Any recommended workarounds for using emojis (I ne...
# compose-web
r
Any recommended workarounds for using emojis (I need country flags, nothing else) without loading a 10MB+ font? (Compose uses system fonts on other platforms but on web I have not seen a clear answer if this is planned or not)
s
o
perhaps you can avoid loading a font by using Local Font API (experimental and Chrome only for now): https://developer.mozilla.org/en-US/docs/Web/API/Local_Font_Access_API
👍 1
r
Thanks both! @Stefan Oltmann I will use this for now, exactly what I needed 🙂
@Anders Carlsen many props for the lib 🚀
a
s
Thanks for the addition. The first version is performance wise my recommendation, because the second requires XML parsing.