aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2024-09-23svg-flatten: tests: Adjust vectorizer image comparison thresholdsmainjaseg1-3/+7
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-23Add regression test for github issue #48jaseg1-2/+22
This bug caused a hang when deholing certain concave polygons
2024-09-23svg-flatten: Fix pattern stroke renderingjaseg1-1/+1
We applied a transform backwards
2024-09-23svg-flatten: Fix uniformity calculationjaseg2-228/+69
Previously, the uniformity check miscalculated the worst-case absolute deviation
2024-09-23svg-flatten: Fix hang in dehole_polytreejaseg1-6/+64
previously, dehole_polytree could hang for certain inputs containing concave holes.
2024-07-05Bump version to v3.1.9v3.1.9jaseg2-2/+2
2024-07-05Add regression test for large attr issue (#46)jaseg1-0/+75
The test processes an SVG file of ~36MB with about 500k points per layer, so it's a bit slow.
2024-07-05Improve svg-flatten document scale error messagesjaseg2-0/+2
2024-07-05Move from bs4 to etreejaseg1-7/+14
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-06-26Bump version to v3.1.8v3.1.8jaseg2-2/+2
This version adds compatibility with resvg/usvg v0.42.0
2024-06-26svg-flatten: Fix handling of missing viewBoxjaseg1-3/+27
This makes svg-flatten compatible with usvg v0.42.0, which changed its viewbox/width/height output. Closes #47
2023-11-14Bump version to v3.1.7v3.1.7jaseg2-2/+2
2023-11-14Bump required gerbonara version to v1.2.0jaseg1-1/+1
gerbonara v1.2.0 lands a fix for extremely broken aperture macro parsing at certain cheap PCB fab houses.
2023-11-14Fix failing unit testjaseg1-2/+2
2023-11-14Fix infinite loop bug in dehole_polytreejaseg1-8/+31
Closes #43. Thanks to github users @Altomare for reporting this one, and @fstark for suggesting a fix.
2023-10-27Bump version to v3.1.6v3.1.6jaseg1-1/+1
2023-10-27ci: Disable tests for nowjaseg1-63/+63
2023-10-27Work around pip now needing a new feature switch for no good reasonjaseg2-3/+5
...except to break every CI pipeline in existence, that is.
2023-10-27Bump required gerbonara and svg-flatten-wasi versionsjaseg1-1/+1
2023-10-26Update all svg-flatten dependenciesjaseg7-5/+7
2023-10-26svg-flatten: Add cubic bezier support for newer usvg versionsjaseg5-4/+144
2023-06-21Make warning messages in color handling code easier to understandjaseg3-2/+10
2023-06-21Fix build on newer gccjaseg2-0/+1
2023-04-19README: Add note on resvg-wasijaseg1-1/+3
2023-04-19Add bs4 dependencyjaseg1-1/+1
2023-04-16Bump version to v3.1.5v3.1.5jaseg1-1/+1
2023-04-16ci: Use system twine in svg-flattenjaseg1-1/+1
2023-04-16Bump version to v3.1.4v3.1.4jaseg1-1/+1
2023-04-16svg-flatten: Remove trace of legacy usvg command linejaseg1-1/+1
2023-04-16svg-flatten: Improve error handling in Makefilejaseg1-1/+1
2023-04-16svg-flatten: Fix broken math in transform inversionjaseg1-4/+4
2023-04-16svg-flatten: Fix pattern clipping for rotated/skewed transformsjaseg1-9/+9
2023-04-16svg-flatten: Fix extraneous fill in SVG stroke outputjaseg1-1/+1
2023-04-16Move CI to the new container namesjaseg1-14/+14
2023-04-16Bump version to v3.1.3v3.1.3jaseg1-1/+1
2023-04-16CI: Disable failing debian buildsjaseg1-11/+12
2023-04-16Bump version to v3.1.2v3.1.2jaseg1-1/+1
2023-04-16svg-flatten: Bump WASI SDK to v20 and fix buildjaseg4-3/+6
2023-04-16Bump version to v3.1.1v3.1.1jaseg1-1/+1
2023-04-16Fix clang build and warningsjaseg3-4/+2
2023-04-11Bump version to v3.1.0v3.1.0jaseg1-0/+2
2023-04-11Remove resvg-wasi dependency for nowjaseg1-1/+1
2023-04-11Fix failing testsjaseg2-4/+4
2023-04-10Update TODOjaseg1-4/+4
2023-04-02Remove debug printsjaseg1-9/+0
2023-04-02Don't apply dilation scripts in convert, add paste testjaseg16-69/+33885
2023-03-31Fix failing testsjaseg4-11/+13
2023-03-31Fix remaining commands for layer reworkjaseg3-87/+128
2023-03-31Fix drill layer handling for latest changes in gerbonarajaseg2-4/+5
2023-03-30Fix scale of drill mapping testjaseg3-305/+445