imagico / jsdotpattern

Generator for random periodic dot and symbol patterns for use in map rendering
22 stars 6 forks source link

automatic offset calculation is broken for pixel aligned rendering #1

Closed imagico closed 9 years ago

imagico commented 9 years ago

When loading a symbol offsets are calculated automatically based on the symbol bounding box. This however does not work together with pixel aligned rendering at the moment - you need to manually specify the correct offset to get proper pixel aligned rendering for most symbols.

pnorman commented 9 years ago

When converting to pixel aligned the patterns are placed at x.5 in the SVG - placing them at x.0 instead would fix this