Skip to content
This repository has been archived by the owner on Aug 8, 2023. It is now read-only.

Emojis and special characters not displayed in symbol labels #15666

Closed
dancherb opened this issue Sep 18, 2019 · 3 comments
Closed

Emojis and special characters not displayed in symbol labels #15666

dancherb opened this issue Sep 18, 2019 · 3 comments
Labels
archived Archived because of inactivity Core The cross-platform C++ core, aka mbgl feature MapKit parity For feature parity with MapKit on iOS or macOS text rendering

Comments

@dancherb
Copy link

As initially discussed in the repo for the React Native SDK, and judged to be an upstream issue:
nitaliano/react-native-mapbox-gl#1407

(any workarounds would be appreciated in the meantime!)

@1ec5
Copy link
Contributor

1ec5 commented 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 1ec5 added Core The cross-platform C++ core, aka mbgl feature text rendering MapKit parity For feature parity with MapKit on iOS or macOS labels Sep 19, 2019
@1ec5
Copy link
Contributor

1ec5 commented 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 stale bot added the archived Archived because of inactivity label Apr 28, 2020
@stale
Copy link

stale bot commented 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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
archived Archived because of inactivity Core The cross-platform C++ core, aka mbgl feature MapKit parity For feature parity with MapKit on iOS or macOS text rendering
Projects
None yet
Development

No branches or pull requests

2 participants