nanosvg
nanosvg copied to clipboard
Allow custom NSVG__FIXSHIFT
This addresses https://github.com/memononen/nanosvg/issues/130 and is an alternative to https://github.com/memononen/nanosvg/pull/146.
I'm seeing the same thing here:
![round_egde](https://user-images.githubusercontent.com/11859538/54380834-aa6ac300-468c-11e9-83f6-913d77d88097.png)
The issue is fixed by increasing NSVG__FIXSHIFT
.
If https://github.com/memononen/nanosvg/pull/146 is considered too hard to estimate for different platforms, this PR would at least allow users of nanorast to pre-define NSVG__FIXSHIFT
to a custom value by not overring an existing #define
.
@poke1024 Can you please post the SVG file showing this issue? The image posted by you appears to be a PNG image which can't be used for testing, obviously. Thanks in advance.