Commit Graph

199 Commits

Author SHA1 Message Date
Gali Nelle
d60fd302b1 Update changelog for the maps-1.6.0 release 2020-04-30 17:27:00 +03:00
zmiao
296ca0d437 Update changelog 2020-04-30 02:31:15 +03:00
Mikhail Pozdnyakov
af14e1d510 Add change log entry 2020-04-28 20:50:18 +03:00
Minh Nguyễn
de12a0647d maps-v1.6.0-rc.2 (#16435) 2020-04-24 17:03:51 -07:00
Minh Nguyễn
0588c50b09 [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.
2020-04-24 13:46:40 -07:00
Minh Nguyễn
c4c35449cb [ios, macos] Choose fonts from font stack that match local fonts
Prefer local fonts that match the names specified in the font stack (from the text-font layout property), except for the last resort fonts that mbgl hard-codes. Fall back to the list of fallback CJK fonts in user defaults, then the fonts passed in through the platform-agnostic interface (that come from Info.plist). Explicitly use the first font descriptor in the cascade list instead of the system default of Helvetica.

Since the font stack can vary from one rasterization operation to the next, avoid caching the resolved font for now. Removed null checks that are unrealistic given the Core Text API contract.
2020-04-24 13:46:40 -07:00
Minh Nguyễn
f97ca0ccf9 [ios, macos] Allow specifying multiple fonts or font families for local font rendering
mbgl::Renderer and mbgl::MapSnapshotter can now contain a list of font family names, font display names, and font PostScript names, each name separated by a newline.
2020-04-24 13:46:40 -07:00
Minh Nguyễn
cb3d9eab49 [ios, macos] Fixed receiving local file URL response 2020-04-24 10:27:29 -07:00
Mikhail Pozdnyakov
c75342e1d2 Add change log entry 2020-04-22 19:21:56 +03:00
zmiao
7af1a175a3 Update changelog 2020-04-22 15:53:08 +03:00
Minh Nguyễn
af048481b1 [macos] Fixed minimum deployment target 2020-04-20 19:06:12 -07:00
Mikhail Pozdnyakov
f513dc915b Add change log entry 2020-04-20 21:54:31 +03:00
Gali Nelle
71ce52d35f Update changelog for the maps-1.6.0-rc.1 release 2020-04-20 17:03:16 +03:00
Gali Nelle
90dcc2c5d1 Add change log entry 2020-04-20 17:03:16 +03:00
Alexander Shalamov
a71e672dfa Update changelog 2020-04-16 13:52:54 -04:00
Mikhail Pozdnyakov
66ac554459 Add change log entry 2020-04-14 22:30:40 +03:00
Łukasz Paczos
f79334c124 when removing an image use the correct list ptr for presence verification
This fixes an issues where calling `removeImage` would crash if the image was not present and the original list was not empty.
2020-04-10 16:55:17 +02:00
Mikhail Pozdnyakov
718dd295ab Add change log entry 2020-04-08 17:00:21 +03:00
Mikhail Pozdnyakov
7f53cec17b Add change log entry 2020-04-08 11:19:37 +03:00
Juha Alanen
bb9e6c5aaf Update change log for the maps-v1.5.1 release 2020-04-03 12:20:11 +03:00
Mikhail Pozdnyakov
7d26a16489 Add change log entry 2020-04-02 11:50:52 +03:00
Alexander Shalamov
4bdb3ce200 Update changelog 2020-04-01 16:18:55 -04:00
Alexander Shalamov
bd5932a964 Update changelog 2020-04-01 18:21:04 +03:00
Juha Alanen
09a5ee2d8b Update changelog 2020-04-01 11:17:43 +03:00
Mikko Pulkki
5fa7ff3b63 Update changelog 2020-03-30 18:01:39 +03:00
Alexander Shalamov
77466d23d6 Update change log for the maps-v1.5.0 release 2020-03-26 15:28:53 -04:00
zmiao
debf117360 Add changelog 2020-03-26 14:13:59 +02:00
Mikhail Pozdnyakov
d4db3b1126 Add change log entry 2020-03-25 15:11:41 +02:00
Alexander Shalamov
fd1f8703cd Update changelog 2020-03-25 07:01:42 -04:00
Mikhail Pozdnyakov
77d95d27ce Add change log entry 2020-03-24 20:53:55 +02:00
Kevin Li
3f45b0a24b [android] Add jni binding for styleable snapshotter (#16286)
* [android] Add jni binding for styleable snapshotter

* Remove Map parameter from factories

- remove unused map from factory interfaces. Map is only needed for repaint.

* implement addlayer function

* Implement addsource function for snapshotter

* Implement addImages function

* format codes

* Apply baseline

* Update CHANGELOG.md

* Update map_snapshotter.cpp

* Destroy snapshotter on the thread it was created

* Activate file sources in start

* Use custom deleter for snapshotter

* format codes

* Release snapshotter pointer to deleting lambda

* Clang format

* Update CHANGELOG.md

* Fix review comments

* FIx review comments

Co-authored-by: Alexander Shalamov <alexander.shalamov@mapbox.com>
2020-03-24 14:33:54 +08:00
zmiao
648ce071d3 Add Changelog 2020-03-23 12:19:39 +02:00
Mikhail Pozdnyakov
8bf841a951 [core] Render::clearData clears fonts 2020-03-20 11:43:59 +02:00
Mikhail Pozdnyakov
cb1d5053b0 Update changelog 2020-03-20 11:43:59 +02:00
Mikhail Pozdnyakov
52f72dd8b4 Change log entry 2020-03-18 20:14:15 +02:00
Alexander Shalamov
14f19f0201 Update change log for the maps-v1.4.1 release 2020-03-16 06:56:51 -04:00
Kevin Li
9daaf2fe3a Update CHANGELOG.md (#16313) 2020-03-16 16:31:55 +08:00
Mikhail Pozdnyakov
09d307db14 Merge pull request #16305 from mapbox/mikhail_change_log_for_maps-v1.3.0
Update change log for the maps-v1.4.0 release
2020-03-13 14:30:33 +02:00
zmiao
45c0dd8844 Update Changelog 2020-03-13 12:59:23 +02:00
Mikhail Pozdnyakov
b88fbe14f1 Add change log entry 2020-03-12 23:35:55 +02:00
Mikhail Pozdnyakov
09ab9420a9 Add change log entry 2020-03-10 20:32:34 +02:00
Alexander Shalamov
c5f9f3811b [core] Update changelog 2020-03-07 10:14:18 +02:00
Mikhail Pozdnyakov
47ce65b496 Add change log entry 2020-03-06 23:46:52 +02:00
zmiao
c9c03b092b Update changelog 2020-03-05 20:53:16 +02:00
Alexander Shalamov
f5b9716030 [core] Update changelog 2020-03-05 17:43:37 +02:00
Kevin Li
fb0c7c93a0 [android] Add sort key jni binding for fill_layer and line_layer (#16256) 2020-03-04 19:57:07 +08:00
Kevin Li
efc605bed6 [android] Update toGeoJSON in android_conversion.hpp (#16243)
* [android] Update toGeoJSON in android_conversion.hpp

* Fix review comments

* Update android_conversion.hpp
2020-03-04 14:15:14 +08:00
Mikhail Pozdnyakov
8c0f90ce84 Add change log entry 2020-03-02 10:32:20 +02:00
Mikhail Pozdnyakov
6bed2079e3 Add change log entry 2020-02-28 21:42:03 +02:00
Alexander Shalamov
55d5b976dc [core] Prepare changelog for maps-v1.3.0 (2020.02-release-vanillashake) release 2020-02-28 17:35:30 +02:00