diff options
author | jaseg <git-bigdata-wsl-arch@jaseg.de> | 2021-04-24 17:20:00 +0200 |
---|---|---|
committer | jaseg <git@jaseg.de> | 2021-04-24 20:17:42 +0200 |
commit | 776e0bd2069af0cfff7ce794cf3b345b613e1c02 (patch) | |
tree | 04d63001eee0ed741bd6869901610ee1b1603dd2 /svg-flatten/src/main.cpp | |
parent | 89da2b3664ec75cf5de1e5d7ee48acd0f2847df8 (diff) | |
download | gerbolyze-776e0bd2069af0cfff7ce794cf3b345b613e1c02.tar.gz gerbolyze-776e0bd2069af0cfff7ce794cf3b345b613e1c02.tar.bz2 gerbolyze-776e0bd2069af0cfff7ce794cf3b345b613e1c02.zip |
Replace cairo curve flattener from Anitgrain Graphics
This also fixes an issue where non-closed curves were not dilated
properly.
Diffstat (limited to 'svg-flatten/src/main.cpp')
-rw-r--r-- | svg-flatten/src/main.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/svg-flatten/src/main.cpp b/svg-flatten/src/main.cpp index 722b356..951b447 100644 --- a/svg-flatten/src/main.cpp +++ b/svg-flatten/src/main.cpp @@ -422,7 +422,7 @@ int main(int argc, char **argv) { SVGDocument doc; cerr << "Loading temporary file " << frob << endl; ifstream load_f(frob); - if (!doc.load(load_f)) { + if (!doc.load(load_f, "/tmp/debug.svg")) { cerr << "Error loading input file \"" << in_f_name << "\", exiting." << endl; return EXIT_FAILURE; } |