Skip to content
This repository has been archived by the owner on Apr 10, 2018. It is now read-only.

Text wrap without spaces #420

Closed
peterqliu opened this issue Feb 17, 2016 · 4 comments
Closed

Text wrap without spaces #420

peterqliu opened this issue Feb 17, 2016 · 4 comments

Comments

@peterqliu
Copy link
Contributor

Languages like Chinese don't employ spaces between characters. How should we handle text wrapping for long labels without spaces?

@friedbunny
Copy link
Contributor

We've had some discussions about this elsewhere — mapbox/mapbox-gl-native#1223 and mapbox/DEPRECATED-mapbox-gl#4 — but no real movement towards implementation yet.

/cc @mikemorris

@mikemorris
Copy link

Yea, our current line-breaking algorithm is pretty simple, mapbox/mapbox-gl-native#1223 covers the backstory here pretty well. AFAIK this is something that needs to be improved in our renderer, not the style spec.

@peterqliu
Copy link
Contributor Author

cool, closing

@1ec5
Copy link
Contributor

1ec5 commented Oct 26, 2016

This is happening in mapbox/mapbox-gl-js#3420 and mapbox/mapbox-gl-native#6828.

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

No branches or pull requests

4 participants