From 1f5c6beb64805180a4b4724bc1e5b758b9ae4494 Mon Sep 17 00:00:00 2001 From: Mikhail Pozdnyakov Date: Fri, 31 Jan 2020 14:42:12 +0200 Subject: [tile mode] Improvements in symbol placement on tile borders This change fixes the following problems: 1) Before this change, when multiple symbols were grouped close to the tile borders, different tiles could place different symbols, because each tile arbitrary assigned feature ids, and these ids defined the placement order being applied. This caused artifacts at the tile boundaries. With this change, in tile mode the placement order of two symbols crossing a tile border is defined by their anchor `y` values. It means that the symbols are being placed the same order across all the tiles. 2) Before this change, the engine did not place with priority the symbols crossing the borders between two neighboring tiles. Now it does, and it improves a lot symbol placement stability in the tile map mode. --- .../all-anchors-tile-map-mode/expected.png | Bin 158810 -> 160213 bytes 1 file changed, 0 insertions(+), 0 deletions(-) (limited to 'metrics/expectations') diff --git a/metrics/expectations/platform-all/render-tests/text-variable-anchor/all-anchors-tile-map-mode/expected.png b/metrics/expectations/platform-all/render-tests/text-variable-anchor/all-anchors-tile-map-mode/expected.png index 8b02991f2f..75af66e6a0 100644 Binary files a/metrics/expectations/platform-all/render-tests/text-variable-anchor/all-anchors-tile-map-mode/expected.png and b/metrics/expectations/platform-all/render-tests/text-variable-anchor/all-anchors-tile-map-mode/expected.png differ -- cgit v1.2.1