summaryrefslogtreecommitdiff
path: root/src/mbgl/util/i18n.cpp
Commit message (Collapse)AuthorAgeFilesLines
* [core] Updated script detection for Unicode 10Minh Nguyễn2017-07-061-2/+14
| | | | Updated script detection code to reflect changes in Unicode 10 and UTR 50 revision 17.
* [core] Disable letter-spacing for Arabic labels (issue #9057)Chris Loer2017-05-221-5/+14
|
* [tidy] llvm-namespace-commentBruno de Oliveira Abinader2017-05-121-1/+1
|
* Upright CJK characters in vertically-oriented labels (#7114)Minh Nguyễn2017-02-101-25/+229
| | | | | CJK characters and adjacent punctuation now remain upright in vertically oriented labels that have line placement. Fixes #1682.
* Port raggedness-minimizing line breaking from gl-js.Chris Loer2017-01-051-0/+2
|
* [core] Full support for line breaking bidirectional text using ICU bidi ↵Chris Loer2016-11-301-6/+4
| | | | | | | 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-6/+6
| | | | | | | 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/+357
* [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