Upstream source: https://github.com/SoftFever/nanosvg