This repository has been archived by the owner on Aug 8, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Vertical CJK labels #1682
Labels
Core
The cross-platform C++ core, aka mbgl
feature
GL JS parity
For feature parity with Mapbox GL JS
Comments
An example from Yahoo JP, near Tokyo Station. Notice that even roman characters can be drawn vertically. |
@mikemorris is planning to add vertical advance information here to allow this. |
https://www.freetype.org/freetype2/docs/tutorial/step2.html is interesting and has more details on vertical glyph metrics and what we would need to include in the glyph spec to support vertical layout |
This was referenced Oct 18, 2016
An implementation is nearly ready to port in mapbox/mapbox-gl-js#3438. |
1ec5
referenced
this issue
in mapbox/mapbox-gl-test-suite
Nov 12, 2016
1ec5
added a commit
that referenced
this issue
Nov 18, 2016
CJK characters and adjacent punctuation now remain upright in vertically oriented labels that have line placement. Fixes #1682.
jfirebaugh
pushed a commit
that referenced
this issue
Feb 10, 2017
CJK characters and adjacent punctuation now remain upright in vertically oriented labels that have line placement. Fixes #1682.
jfirebaugh
pushed a commit
that referenced
this issue
Feb 11, 2017
CJK characters and adjacent punctuation now remain upright in vertically oriented labels that have line placement. Fixes #1682.
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Labels
Core
The cross-platform C++ core, aka mbgl
feature
GL JS parity
For feature parity with Mapbox GL JS
CJK labels running along north-south roads (or roads that go from top to bottom due to map rotation) should orient glyphs vertically so that one can read the labels without tilting one’s head. Since the map can be rotated arbitrarily, it’s easy to wind up in a situation where all the road labels are vertical. CJK makes it possible to maintain legibility in such configurations.
/cc @ansis @nickidlugash @peterqliu @mayagao @friedbunny @mikemorris
The text was updated successfully, but these errors were encountered: