You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Aug 8, 2023. It is now read-only.
Repository navigation
This repository was archived by the owner on Aug 8, 2023. It is now read-only.
Emojis and special characters not displayed in symbol labels #15666
Glyphs for most writing systems (other than CJK) come from the Mapbox Fonts API, which incorrectly assumes a one-to-one mapping between Unicode codepoints and font glyphs. Many emoji are represented by surrogate pairs or use combining characters such as skin tone modifiers.
#7774 tracks complex text support, and #7528 tracks using a proper text layout library for text shaping. Resolving either issue would force us to address all these limitations. We’d still need to support rendering color fonts, however. That would probably be a major shader-level change.
An implementation of images embedded in labels is underway in mapbox/mapbox-gl-js#8904. One it is ported to gl-native, you could convert emoji of interest into style images and embed them inside labels. Embedding the images would be a manual affair for now, because there isn’t yet a find-and-replace expression operator: mapbox/mapbox-gl-js#4100.
Activity
1ec5 commentedon Sep 19, 2019
Emoji isn’t supported for at least a couple reasons:
#7774 tracks complex text support, and #7528 tracks using a proper text layout library for text shaping. Resolving either issue would force us to address all these limitations. We’d still need to support rendering color fonts, however. That would probably be a major shader-level change.
1ec5 commentedon Oct 31, 2019
An implementation of images embedded in labels is underway in mapbox/mapbox-gl-js#8904. One it is ported to gl-native, you could convert emoji of interest into style images and embed them inside labels. Embedding the images would be a manual affair for now, because there isn’t yet a find-and-replace expression operator: mapbox/mapbox-gl-js#4100.
stale commentedon Apr 28, 2020
This issue has been automatically detected as stale because it has not had recent activity and will be archived. Thank you for your contributions.