Wykres commitów

130 Commity (7ce9f1672eabdb32f00c6f2574752e3bfd5b3713)

Autor SHA1 Wiadomość Data
jaseg 7ce9f1672e svg-flatten: tests: Adjust vectorizer image comparison thresholds
With some changes in usvg/resvg the old thresholds were too low. I
visually checked svg-flatten's output, and it looks okay.
2024-09-23 22:46:50 +02:00
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 d7df97e8f6 Improve svg-flatten document scale error messages 2024-07-05 12:37:48 +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 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 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 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 8c2fc45601 ci: Use system twine in svg-flatten 2023-04-16 20:37:33 +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 348409a29e svg-flatten: Bump WASI SDK to v20 and fix build 2023-04-16 14:19:12 +02:00
jaseg 3fbb56c3ae Fix clang build and warnings 2023-04-16 14:04:53 +02:00
jaseg 4a3a9f1582 Fix remaining commands for layer rework 2023-03-31 16:35:41 +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
jaseg 2df63318a2 svg-flatten: Test transform decomposition under mirroring 2023-03-30 12:12:38 +02:00
jaseg 5f008f623a svg-flatten: Add transform decomposition unit tests 2023-03-29 23:53:01 +02:00
jaseg 10669301a1 svg-flatten: Add stroke mapping test 2023-03-29 22:42:49 +02:00
jaseg 25628f1d24 svg-flatten: Add stroked SVG output 2023-03-29 22:21:15 +02:00
jaseg 65a426c645 svg-flatten: Add another transform uniformity test pattern 2023-03-29 18:35:52 +02:00
jaseg eb7107a8c6 svg-flatten: Fix incorrect polarity for outlined strokes 2023-03-29 18:23:56 +02:00
jaseg 454d587d79 svg-flatten: Optimize output aperture count 2023-03-29 15:54:00 +02:00
jaseg 602e51ca10 svg_doc: Fix gerber mapping of strokes with skewed or non-uniform transforms 2023-03-29 15:45:14 +02:00
jaseg b4753e66e2 WIP 2023-03-26 00:40:43 +01:00
jaseg 6b0382ab77 WIP 2023-03-25 22:05:03 +01:00
jaseg a6adfe4d1d svg-flatten: Add input scaling 2023-03-22 23:27:12 +01:00
jaseg 1da5919d91 svg-flatten: fix dilation of new aperture tokens 2022-07-03 23:13:23 +02:00
jaseg e845888580 svg-flatten: Fix pattern aperture macro export 2022-06-24 13:04:25 +02:00
jaseg e76d257220 svg-flatten: fix failing tests 2022-06-21 16:23:09 +02:00
jaseg 0ecb612d59 svg-flatten: remove debug prints 2022-06-20 19:40:24 +02:00
jaseg d3204b1ede svg-flatten: Finish direct interpolation optimization 2022-06-20 19:37:33 +02:00
jaseg 2fc5d1d929 svg-flatten: outline mode WIP 2022-06-20 18:48:17 +02:00
jaseg e4a0c1ba4a Fix outline mode clip & flash handling 2022-06-20 18:30:34 +02:00
jaseg 9e9cc2bc01 svg-flatten: add export of patterns via aperture macros 2022-06-20 16:19:53 +02:00
jaseg d09cf6ef3b svg-flatten: Add 'complete pattern tiles only' switch
This is not part of the SVG spec, but it is useful for generating proto
boards using SVG patterns.
2022-06-20 10:24:26 +02:00
jaseg f58cca0ba6 svg-flatten: remove debug prints 2022-06-19 21:26:35 +02:00
jaseg 446c5e5901 svg-flatten: fix patterns with offset clip path 2022-06-19 21:25:10 +02:00
jaseg 676eff0a30 svg-flatten: Fix drills in patterns 2022-06-19 13:42:58 +02:00