Commit graph

22 commits

Author SHA1 Message Date
jaseg
29c8245d0a Auto-discover usvg and svg-flatten properly 2021-09-29 18:44:09 +02:00
jaseg
d406b1f1d0 Add rgba color support for newer resvg/usvg 2021-09-29 16:38:51 +02:00
jaseg
8a64621e8c CI/svg-flatten: add wasm builds 2021-09-29 16:38:13 +02:00
jaseg
7eb0b9d7e4 svg-flatten: Add wasmtime support 2021-09-29 16:37:59 +02:00
jaseg
236c4a4485 svg-flatten: Fix case where document unit is not mm 2021-08-17 22:55:47 +02:00
jaseg
4ffb4c6582 Make svg-flatten auto-search for cargo dependencies in all call sites 2021-06-05 23:33:44 +02:00
jaseg
b2873329d4 Hopefully fix debian CI build 2021-06-05 22:39:02 +02:00
jaseg
831993cdc3 Fix build for stone-age debian compiler 2021-06-05 22:14:48 +02:00
jaseg
6a69f8c1d3 Add -lstdc++ for debian builds 2021-06-05 22:00:53 +02:00
jaseg
094aca80b8 Remove dependency check. We don't have system dependencies anymore. 2021-06-05 21:46:26 +02:00
jaseg
cc882a4195 Throw out a bunch of test stuff, hopefully fix CI build 2021-06-05 21:43:20 +02:00
jaseg
564ab243cc Add svg-flatten SVG feature tests 2021-06-03 23:45:11 +02:00
jaseg
de0f851645 svg-flatten: build against submodule pugixml 2021-06-03 00:10:26 +02:00
jaseg
6cca4a3278 Port svg-flatten to nopencv 2021-06-02 15:05:36 +02:00
jaseg
bbf1c02e79 Contour finding tests run through 2021-05-30 20:22:59 +02:00
jaseg
1180ebdc1f Remove cairo dependency
We initially used Cairo for its bezier flattening algorithm. That
algorithm turned out to be a bit too imprecise at the scales we're
working at here (#17), so I ended up porting over some code from
Antigrain Graphics. The only other thing we used Cairo for was debug
output and coordinate transforms, so I just wrote the relevant vector
math in a small header file, deleted all debug output code and thus
eliminated the cairo dependency. This is a step towards Windows builds.
2021-04-25 00:20:51 +02:00
jaseg
776e0bd206 Replace cairo curve flattener from Anitgrain Graphics
This also fixes an issue where non-closed curves were not dilated
properly.
2021-04-24 20:17:42 +02:00
jaseg
5d1bcd7fc0 Add MacOS support 2021-04-05 13:57:40 +02:00
jaseg
4a967682d4 Make inital test run on debian, ubuntu, arch, fedora 2021-02-07 12:47:49 +01:00
jaseg
8c494f7736 Work on fedora/debian compatibility 2021-02-06 00:05:27 +01:00
jaseg
fb9c6ac32c svg-flatten: Add dependency check 2021-02-04 22:53:33 +01:00
jaseg
2133867c8a Reorg: move svg-flatten files into subdir 2021-01-30 20:01:00 +01:00
Renamed from Makefile (Browse further)