jaseg
d2ef9d19ce
Add regression test for github issue #48
...
This bug caused a hang when deholing certain concave polygons
2024-09-23 22:46:04 +02:00
jaseg
67e4563a8f
svg-flatten: Fix pattern stroke rendering
...
We applied a transform backwards
2024-09-23 22:45:09 +02:00
jaseg
d6ca9cdf71
svg-flatten: Fix uniformity calculation
...
Previously, the uniformity check miscalculated the worst-case absolute deviation
2024-09-23 22:44:31 +02:00
jaseg
00f0d772f7
svg-flatten: Fix hang in dehole_polytree
...
previously, dehole_polytree could hang for certain inputs containing
concave holes.
2024-09-23 20:38:27 +02:00
jaseg
f50c4f8172
Bump version to v3.1.9
2024-07-05 19:25:45 +02:00
jaseg
af79ff24df
Add regression test for large attr issue ( #46 )
...
The test processes an SVG file of ~36MB with about 500k points per
layer, so it's a bit slow.
2024-07-05 19:20:29 +02:00
jaseg
d7df97e8f6
Improve svg-flatten document scale error messages
2024-07-05 12:37:48 +02:00
jaseg
bd2b3733ee
Move from bs4 to etree
...
BeautifulSoup when using lxml in XML mode would mis-parse XML with very
long attributes. Specifically, a <polygon> with about 18MB in its points
attr would make lxml not return anything past that point in the file.
bs4 uses lxml, which uses libxml2. libxml2 has a config option for
parsing "huge" files that increases buffer sizes and avoids this error,
and this option is exposed in lxml, but AFAICT you can't tell bs4 to set
it, and bs4 just silently swallows the error from lxml.
Fixes one half of #46
2024-07-05 12:37:42 +02:00
jaseg
534c2e4ea3
Bump version to v3.1.8
...
This version adds compatibility with resvg/usvg v0.42.0
2024-06-26 11:24:23 +02:00
jaseg
6f075fff2b
svg-flatten: Fix handling of missing viewBox
...
This makes svg-flatten compatible with usvg v0.42.0, which changed its
viewbox/width/height output.
Closes #47
2024-06-26 11:16:24 +02:00
jaseg
419fa73865
Bump version to v3.1.7
2023-11-14 22:06:18 +01:00
jaseg
357c49016d
Bump required gerbonara version to v1.2.0
...
gerbonara v1.2.0 lands a fix for extremely broken aperture macro parsing
at certain cheap PCB fab houses.
2023-11-14 22:06:18 +01:00
jaseg
2384f4fc94
Fix failing unit test
2023-11-14 20:51:05 +01:00
jaseg
8e8bcee209
Fix infinite loop bug in dehole_polytree
...
Closes #43 . Thanks to github users @Altomare for reporting this one, and
@fstark for suggesting a fix.
2023-11-14 20:50:52 +01:00
jaseg
1442601f7b
Bump version to v3.1.6
2023-10-27 15:12:01 +02:00
jaseg
7e6b8abc85
ci: Disable tests for now
2023-10-27 15:12:01 +02:00
jaseg
92f78e09de
Work around pip now needing a new feature switch for no good reason
...
...except to break every CI pipeline in existence, that is.
2023-10-27 00:19:53 +02:00
jaseg
42a4665268
Bump required gerbonara and svg-flatten-wasi versions
2023-10-27 00:19:48 +02:00
jaseg
4d711a2fe8
Update all svg-flatten dependencies
2023-10-26 00:32:02 +02:00
jaseg
00eb9594d6
svg-flatten: Add cubic bezier support for newer usvg versions
2023-10-26 00:04:17 +02:00
jaseg
8ab0c9fa01
Make warning messages in color handling code easier to understand
2023-06-21 15:39:46 +02:00
jaseg
2fbde62df9
Fix build on newer gcc
2023-06-21 15:39:32 +02:00
jaseg
86e5c531f5
README: Add note on resvg-wasi
2023-04-19 11:03:34 +02:00
jaseg
8d2f1b830d
Add bs4 dependency
2023-04-19 10:59:52 +02:00
jaseg
17c186ea6b
Bump version to v3.1.5
2023-04-16 20:37:54 +02:00
jaseg
8c2fc45601
ci: Use system twine in svg-flatten
2023-04-16 20:37:33 +02:00
jaseg
bcfd27bd53
Bump version to v3.1.4
2023-04-16 20:23:59 +02:00
jaseg
f80f341a72
svg-flatten: Remove trace of legacy usvg command line
2023-04-16 20:23:31 +02:00
jaseg
c5640b4db3
svg-flatten: Improve error handling in Makefile
2023-04-16 20:13:51 +02:00
jaseg
288e36764c
svg-flatten: Fix broken math in transform inversion
2023-04-16 20:13:24 +02:00
jaseg
4aa448a5a3
svg-flatten: Fix pattern clipping for rotated/skewed transforms
2023-04-16 20:12:59 +02:00
jaseg
384c917307
svg-flatten: Fix extraneous fill in SVG stroke output
2023-04-16 20:11:43 +02:00
jaseg
ac52ecdafc
Move CI to the new container names
2023-04-16 17:54:10 +02:00
jaseg
5dbeb6800b
Bump version to v3.1.3
2023-04-16 14:46:40 +02:00
jaseg
e7e9da5a0c
CI: Disable failing debian builds
2023-04-16 14:46:21 +02:00
jaseg
8d0a4da313
Bump version to v3.1.2
2023-04-16 14:19:28 +02:00
jaseg
348409a29e
svg-flatten: Bump WASI SDK to v20 and fix build
2023-04-16 14:19:12 +02:00
jaseg
0ae1da08cc
Bump version to v3.1.1
2023-04-16 14:05:35 +02:00
jaseg
3fbb56c3ae
Fix clang build and warnings
2023-04-16 14:04:53 +02:00
jaseg
da315879cc
Bump version to v3.1.0
2023-04-11 00:55:23 +02:00
jaseg
c3f51bfb97
Remove resvg-wasi dependency for now
2023-04-11 00:55:23 +02:00
jaseg
9d7fd8b3b4
Fix failing tests
2023-04-11 00:40:53 +02:00
jaseg
a02ff5fc87
Update TODO
2023-04-10 23:56:39 +02:00
jaseg
b26c28e58b
Remove debug prints
2023-04-02 23:19:19 +02:00
jaseg
be24d0368f
Don't apply dilation scripts in convert, add paste test
2023-04-02 23:18:03 +02:00
jaseg
e1c40e8c80
Fix failing tests
2023-03-31 22:31:58 +02:00
jaseg
4a3a9f1582
Fix remaining commands for layer rework
2023-03-31 16:35:41 +02:00
jaseg
4127a18e89
Fix drill layer handling for latest changes in gerbonara
2023-03-31 14:12:45 +02:00
jaseg
0d4172901b
Fix scale of drill mapping test
2023-03-30 15:05:09 +02:00
jaseg
bc63166a40
svg-flatten: Make drill size mapping more precise, add tests
2023-03-30 14:54:46 +02:00