diff options
author | Mikhail Pozdnyakov <mikhail.pozdnyakov@mapbox.com> | 2019-12-19 17:16:43 +0200 |
---|---|---|
committer | Tobrun <tobrun.van.nuland@gmail.com> | 2019-12-19 20:53:28 +0100 |
commit | a552d151ea14f47144acfeec79964537071c21ae (patch) | |
tree | 11a344c0e3a5b7db96e50ac185b5a3afe903c2c3 /benchmark/fixtures | |
parent | 47c87422a0b020bd9418d171f2aa0ed3ba524ca9 (diff) | |
download | qtlocation-mapboxgl-a552d151ea14f47144acfeec79964537071c21ae.tar.gz |
[core] Handle zero text size
The style specification stipulates that `text-size` values must be positive
(https://docs.mapbox.com/mapbox-gl-js/style-spec/#layout-symbol-text-size).
However, a zero value could be passed to the engine (e.g. as a result of
an expression) this patch handles it and avoids assertion hit in `shaping.cpp`.
Diffstat (limited to 'benchmark/fixtures')
0 files changed, 0 insertions, 0 deletions