mapnik / Cascadenik

Cascading Sheets Of Style for Mapnik
http://github.com/mapnik/Cascadenik/wiki/Cascadenik
BSD 3-Clause "New" or "Revised" License
111 stars 20 forks source link

Scale properties of type numbers for retina #34

Closed bwg closed 11 years ago

bwg commented 11 years ago

Only values of type int and float are scaled when compiling for retina (--2x flag)

The dasharray property is a numbers class, containing ints/floats, which should be scaled as ints and floats are.

This pull request modifies the Value class to scale numbers values.

migurski commented 11 years ago

Good catch, thanks.