An open API service indexing awesome lists of open source software.

https://github.com/modlfo/fixaffinitysvg

Fixes the SVG files exported by Affinity Designer to work with VCV Rack
https://github.com/modlfo/fixaffinitysvg

Last synced: 14 days ago
JSON representation

Fixes the SVG files exported by Affinity Designer to work with VCV Rack

Awesome Lists containing this project

README

          

# Fix Affinity SVG

Affinity Designer exports SVG files that do not load correctly in VCV Rack. The main problem is that the are placed at the end of the file when the renderer of Rack requires them in the beginning.

# Compile

Your require OCaml with at the library `xml-light` and `ocamlbuild`. You can install them using `opam`.

```
$ ocamlbuild -use-ocamlfind fixsvg.byte
```

# Run

To fix a single file:
```
$ fixsvg.byte file.svg
```

To fix all files in a directory

```
$ fixsvg.byte -dir /path/to/files
```