kicad/thirdparty/nanosvg
Kliment 327956ae27 nanosvg: Fix nanosvg default stroke width to assume 0 instead of 1px
Nanosvg assumes that an unspecified stroke width is 1px, whereas the SVG
specification specifies it should be read as 0px. This causes problems
when scaling factors are applied to 0px lines, leading to them being
misinterpeted by our import.

This commit fixes the nanosvg assumption by setting the initial stroke
width to 0 instead of 1px.

Fixes: https://gitlab.com/kicad/code/kicad/-/issues/13353
2023-01-31 20:34:25 +00:00
..
CMakeLists.txt
LICENSE.zlib
README.txt
nanosvg.cpp
nanosvg.h

README.txt

This directory contains the nanosvg library from https://github.com/memononen/nanosvg.
It is licensed under the ZLib license, which can be found in this directory.

The header-only implementation has been slip so that the function definitions
are now contained inside the nanosvg.cpp file.