lifelike / hexmapextension

Inkscape extension for creating hex grids suitable for boardgame maps.
129 stars 16 forks source link

hex size #2

Closed lifelike closed 7 years ago

lifelike commented 7 years ago

Creating hexes that are 1 inch actually creates hexes close to 3 inches in size instead. Noticed when testing in Inkscape 0.92. This might be related to new changes in Inkscape (0.91 and 0.92) for how to handle document user-units and view-port attributes?

lifelike commented 7 years ago

Fixed by using the unitstouu helper function that already has the logic to properly calculate how big an inch is. Also had to set the stroke-width explicitly, because the default 1 size resulted in different line thickness depending on SVG viewPort.