-
Notifications
You must be signed in to change notification settings - Fork 5
Add support for rendering characters from unicode supplementary planes #29
Comments
I’m satisfied that the CJK Unified Ideographs Extension E characters will take awhile to make their way into OpenStreetMap, given that the block was only introduced to Unicode last year. However, note that the same work that goes into CJK E would also enable (colorless) emoji. Hopefully that’ll give this issue a bit more traction. 😉 |
My mistake: CJK E isn’t the only CJK block that’s in the Supplementary Ideographic Plane; CJK Unified Ideographs Extension B–D are also up there. Besides historical and Vietnamese characters, CJK B includes 1,702 characters from the Hong Kong Supplementary Character Set, which apparently includes a lot of Cantonese characters used in official Hong Kong place names. |
As of Unicode 9.0, the following astral-plane blocks allow ideographic breaking:
As of Unicode 9.0 and revision 16 of UTR #50, the following astral-plane blocks have upright vertical orientation:
The following astral-plane blocks have neutral vertical orientation:
|
See mapbox/DEPRECATED-mapbox-gl#29 (comment) for an updated list.
* Refined vertical punctuation logic Base the Unicode character blocks off of the official Unicode 9.0 character database. Refined the logic distinguishing upright, rotated, and neutral characters based on Unicode Technical Report 50 (with some simplifications). In particular, not everything in the General Punctuation block is treated as having neutral orientation; instead, the vertical punctuation table is consulted. * Removed commented-out supplementary plane entries See mapbox/DEPRECATED-mapbox-gl#29 (comment) for an updated list.
Migrated to mapbox/mapbox-gl-js#4001 |
We currently only support rendering characters from the Basic Multilingual Plane. We may need to support supplementary planes as we expand into markets that use non-Latin alphabets.
The text was updated successfully, but these errors were encountered: