Some parts of this code builds upon code copied from other crates. In particular:
The following code snippets have been taken/adapted from resvg
,
available under the MPL license:
- The contents of the
content_draw_path
method. - The whole resvg test suite in
assets/svgs
.
The following code snippets have been taken/adapted from typst
,
available under the Apache 2 license:
- The
GroupByKey
struct. - The
SliceExt
trait. - The
Prehashed
struct. - The implementation of
SipHashable
. - The implementation of writing CID-keyed fonts.
- The implementation of writing PDF metadata.
The following code snippets have been taken/adapted from svg2pdf
,
available under the Apache 2 license:
- The whole implementation of the SVG conversion.
The following code snippets have been taken/adapted from vello
,
available under the Apache 2 license:
- The logic for bitmap glyphs in
bitmap.rs
.