summaryrefslogtreecommitdiff
path: root/src/mbgl/util/i18n.hpp
Commit message (Collapse)AuthorAgeFilesLines
* [core] Disable letter-spacing for Arabic labels (issue #9057)Chris Loer2017-05-221-0/+4
|
* Upright CJK characters in vertically-oriented labels (#7114)Minh Nguyễn2017-02-101-2/+48
| | | | | CJK characters and adjacent punctuation now remain upright in vertically oriented labels that have line placement. Fixes #1682.
* [core] Full support for line breaking bidirectional text using ICU bidi ↵Chris Loer2016-11-301-3/+0
| | | | | | | functionality. - Trim whitespace from labels before determining their max-width for alignment. - Fix crash on labels that contain lines with only a single character of whitespace.
* [core] Use UTF-16 instead of UTF-32 for label features to avoid extra ↵Chris Loer2016-11-171-4/+4
| | | | | | | conversions and reduce in-memory size. Continue to use uint32 as glyph ID to maintain Glyph PBF, even though we're only using 16 bits of that uint32. Use std::codecvt instead of boost::unicode_iterator for UTF8->UTF16 conversions.
* [core] Line-break ideographic text by character (#6828)Minh Nguyễn2016-11-141-0/+27
* [core] Line-break ideographic text by character Allow a line break to be inserted after any supported Chinese, Japanese, or Yi character in a point-placed label. Balance the lines unless non-ideographic text such as Latin letters are present. Fixes #1223. * [core] Moved more character classing into util::i18n * [core] Detect character properties by Unicode block * [test] Reenabled ideographic breaking tests