Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for letter spacing of text #1646

Open
nvkelso opened this issue Sep 11, 2017 · 2 comments
Open

Add support for letter spacing of text #1646

nvkelso opened this issue Sep 11, 2017 · 2 comments

Comments

@nvkelso
Copy link
Member

nvkelso commented Sep 11, 2017

This issue is a followup to tangrams/refill-style#69.

Refill and other Mapzen basemap styles use a poor man's approach (name.split('').join(' ');) to letter-spacing aka tracking for labels of continent, ocean, and sea that fails with complex non-Latin scripts. Rather than the existing hackery, we'd like to support letter-spacing as a top-level text feature and suspect Tangram JS can leverage the existing CSS letter-spacing feature for parity.

NOTE: kerning is a related concept but refers more to the space between specific combinations of characters.

Screenshots from @tallytalwar's original issue:

screen shot 2017-08-30 at 4 36 21 pm

screen shot 2017-08-30 at 4 36 01 pm

screen shot 2017-08-30 at 12 57 56 pm

screen shot 2017-08-30 at 12 57 24 pm

screen shot 2017-08-30 at 12 55 02 pm

@bcamper
Copy link
Member

bcamper commented Sep 11, 2017 via email

@tallytalwar
Copy link
Member

Some probably discussions on letter-spacing which we might be helpful here to come to a consensus on the implementation of this feature :

harfbuzz/harfbuzz#64
http://typedrawers.com/discussion/1816/cursive-attachment-for-latin
harfbuzz/harfbuzz#358
harfbuzz/harfbuzz#224

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants