You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 12, 2024. It is now read-only.
I’ve tested negative floating point values like “-5.9” in the CartoCSS-Mapnik-combination, and indeed it decreases the baseline-to-baseline distance of the lines.
I do not know how CartoCSS works internally, but I suppose that it forwards simply the value of “text-line-spacing” to the Mapnik counterpart “line-spacing”. So I guess the documentation of CartoCSS should be fixed to allow also negative floating point values for text-line-spacing.
The text was updated successfully, but these errors were encountered:
At https://github.com/mapbox/carto/blob/master/docs/latest.md#text-line-spacing-unsigned it is declared that text-line-spacing is an unsigned value. So negative values are declared is illegal (and I suppose it means also that only integer values are allowed, right?).
However line-spacing at Mapnik at https://github.com/mapnik/mapnik/wiki/TextSymbolizer is declared as double.
I’ve tested negative floating point values like “-5.9” in the CartoCSS-Mapnik-combination, and indeed it decreases the baseline-to-baseline distance of the lines.
I do not know how CartoCSS works internally, but I suppose that it forwards simply the value of “text-line-spacing” to the Mapnik counterpart “line-spacing”. So I guess the documentation of CartoCSS should be fixed to allow also negative floating point values for text-line-spacing.
The text was updated successfully, but these errors were encountered: