GIMP's path import code is largely copied from an earlier version of rsvg. Therefore, it does not include updates that made number processing more robust (such as properly parsing 'c1.5.2' as '1.5, 0.2' for curve coordinates) Per the suggestion by @federico, this patch updates our code using rsvg-path.c from the last version of the C-based librsvg (updated November 3rd, 2016). Our original code also broke if there was any spaces after the last item in the SVG transform attribute. This patch adds a call to g_strstrip () to trim any unnecessary spaces either before or after the transform string to prevent this issue. |
||
|---|---|---|
| .. | ||
| gimpanchor.c | ||
| gimpanchor.h | ||
| gimpbezierstroke.c | ||
| gimpbezierstroke.h | ||
| gimppath-compat.c | ||
| gimppath-compat.h | ||
| gimppath-export.c | ||
| gimppath-export.h | ||
| gimppath-import.c | ||
| gimppath-import.h | ||
| gimppath-preview.c | ||
| gimppath-preview.h | ||
| gimppath-warp.c | ||
| gimppath-warp.h | ||
| gimppath.c | ||
| gimppath.h | ||
| gimppathmodundo.c | ||
| gimppathmodundo.h | ||
| gimppathpropundo.c | ||
| gimppathpropundo.h | ||
| gimppathundo.c | ||
| gimppathundo.h | ||
| gimpstroke-new.c | ||
| gimpstroke-new.h | ||
| gimpstroke.c | ||
| gimpstroke.h | ||
| gimpvectorlayer.c | ||
| gimpvectorlayer.h | ||
| gimpvectorlayeroptions.c | ||
| gimpvectorlayeroptions.h | ||
| gimpvectorlayerundo.c | ||
| gimpvectorlayerundo.h | ||
| meson.build | ||
| path-enums.h | ||
| path-types.h | ||