GenerallyHelpfulSoftware / SVGgh

A framework for using SVG artwork in iOS Apps. Includes a UIView and a button class, printing and PDF export.
MIT License
141 stars 37 forks source link

Width rendering #36

Open fredericksauvage opened 6 years ago

fredericksauvage commented 6 years ago

file SVGgh/SVGRenderer/SVGRenderer.m line 237 and 238

You have to round size to ceil instead of floor because with floor, in some cases, the width rendering is short and some few pixels are lost in right side.

grhowes commented 6 years ago

I'm thinking you mean 252 and 253.

Sounds reasonable, although it might have to be capped at the maximum size.