diff options
author | Minh Nguyễn <mxn@1ec5.org> | 2020-03-19 17:46:13 -0700 |
---|---|---|
committer | Minh Nguyễn <mxn@1ec5.org> | 2020-04-24 13:46:40 -0700 |
commit | 0588c50b0923653cd6a19895a34cebb6aa8d91e7 (patch) | |
tree | 13236bd117e0da937128174bd56d9e2646384f4c /CHANGELOG.md | |
parent | bcfdbd187d22c8c46451ad70a481b1859e5c7f1e (diff) | |
download | qtlocation-mapboxgl-0588c50b0923653cd6a19895a34cebb6aa8d91e7.tar.gz |
[ios, macos] Get glyph metrics from font
Get glyph metrics from the font in the process of drawing each glyph into a bitmap context. These metrics result in more accurate kerning and better aligned baselines than the previous hard-coded values.
Align iOS/macOS local glyph rasterization test fixture to Qt.
Diffstat (limited to 'CHANGELOG.md')
-rw-r--r-- | CHANGELOG.md | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md index 8c54342ce7..7308c2e3c8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -34,6 +34,10 @@ - [ios, macos] Fixed error receiving local file URL response ([#16428](https://github.com/mapbox/mapbox-gl-native/pull/16428)) +- [ios, macos] Corrected metrics of locally rendered fonts ([#16253](https://github.com/mapbox/mapbox-gl-native/pull/16253)) + + CJK characters are now laid out according to the font, so fonts with nonsquare glyphs have the correct kerning. This also fixes an issue where the baseline for CJK characters was too low compared to non-CJK characters. + ## maps-v1.6.0-rc.1 ### ✨ New features |