srwiley / rasterx

Rasterx is an SVG 2.0 path compliant rasterizer that can use either scany, the golang vector or a derivative of the freetype anti-aliaser.
BSD 3-Clause "New" or "Revised" License
132 stars 11 forks source link

fix loss of precision in ToLength #16

Closed fumin closed 2 years ago

fumin commented 2 years ago

This fixes https://github.com/srwiley/scanFT/issues/1

srwiley commented 2 years ago

Nice work fumin. I also appreciate that you added a test for the fix. Thank you for improving rasterx.