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.
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.
Note that only a few font formats provide vertical metrics. You can test whether a given face object contains them by using the macro FT_HAS_VERTICAL, which returns true if appropriate.
Activity
friedbunny commentedon Jun 3, 2015
An example from Yahoo JP, near Tokyo Station. Notice that even roman characters can be drawn vertically.
http://yahoo.jp/2RqUBc
nickidlugash commentedon May 18, 2016
@mikemorris is planning to add vertical advance information here to allow this.
mikemorris commentedon May 18, 2016
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
1ec5 commentedon Nov 10, 2016
An implementation is nearly ready to port in mapbox/mapbox-gl-js#3438.
Ignore new failing tests in native
[core] Upright CJK characters in vertically-oriented labels
[core] Upright CJK characters in vertically-oriented labels
Upright CJK characters in vertically-oriented labels (#7114)