2 releases

0.1.1 Sep 18, 2020
0.1.0 Sep 18, 2020

#20 in #below

Apache-2.0

145KB
4K SLoC

C 2.5K SLoC // 0.1% comments Java 761 SLoC // 0.1% comments Rust 405 SLoC // 0.0% comments Automake 101 SLoC // 0.0% comments M4 15 SLoC // 0.8% comments Shell 3 SLoC // 0.4% comments

Contains (obscure autoconf code, 12KB) libspiro/configure.ac

Rust binding to libspiro

This is the low-level binding built with bindgen.

build.rs builds libspiro from the Git submodule (GitHub fontforge/libspiro).

TODO: Safe Rust wrapper.

Note: LICENSE file refers only to my build.rs. Refer to libspiro for C code licensing and authorship.

Example

Please see tests/spiro_to_beziers.rs, which outputs an SVG path for the below shape.

Dependencies

~0–300KB