Download this file
| 1 | # Acknowledgements |
| 2 | |
| 3 | Some parts of this code builds upon code copied from other crates. In particular: |
| 4 | |
| 5 | ## `resvg` |
| 6 | |
| 7 | The following code snippets have been taken/adapted from [`resvg`](https://github.com/RazrFalcon/resvg), |
| 8 | available under the [MPL license](https://github.com/RazrFalcon/resvg/blob/master/LICENSE.txt): |
| 9 | |
| 10 | - The contents of the `content_draw_path` method. |
| 11 | - The whole resvg test suite in `assets/svgs`. |
| 12 | |
| 13 | ## `typst` |
| 14 | |
| 15 | The following code snippets have been taken/adapted from [`typst`](https://github.com/typst/typst), |
| 16 | available under the [Apache 2 license](https://github.com/typst/typst/blob/main/LICENSE): |
| 17 | |
| 18 | - The `GroupByKey` struct. |
| 19 | - The `SliceExt` trait. |
| 20 | - The `Prehashed` struct. |
| 21 | - The implementation of `SipHashable`. |
| 22 | - The implementation of writing CID-keyed fonts. |
| 23 | - The implementation of writing PDF metadata. |
| 24 | |
| 25 | ## `svg2pdf` |
| 26 | |
| 27 | The following code snippets have been taken/adapted from [`svg2pdf`](https://github.com/typst/svg2pdf), |
| 28 | available under the [Apache 2 license](https://github.com/typst/svg2pdf/blob/main/LICENSE-APACHE): |
| 29 | |
| 30 | - The whole implementation of the SVG conversion. |
| 31 | |
| 32 | ## `vello` |
| 33 | |
| 34 | The following code snippets have been taken/adapted from [`vello`](https://github.com/linebender/vello), |
| 35 | available under the [Apache 2 license](https://github.com/linebender/vello/blob/main/LICENSE-APACHE): |
| 36 | |
| 37 | - The logic for bitmap glyphs in `bitmap.rs`. |
| 38 | |