-
Notifications
You must be signed in to change notification settings - Fork 9
Verovio
Juliette Regimbal edited this page Jul 25, 2018
·
10 revisions
Neon's rendering and editing backbone is Verovio. Ultimately the fork used here tends to differ from the upstream version. Here are some tips for using Verovio in the context of developing for Neon.js:
Verovio is big, especially when built in javascript. There are two things that can reliably minimize the Verovio package: change optimizations and remove features unused in Neon. This means cutting out unused fonts and not building extra loaders for non-MEI formats and replacing the -O3
optimization in emscripten with -Os
.
Or, instead of building with
./buildToolkit -H
you build with
sed -i '' "s/-O3/-Os/" buildToolkit
./buildToolkit -x "Gootville,Leipzig" -DHPX
This can get the size down to 3.9 MB from 6.0 MB.
© 2018-2020 Distributed Digital Archives and Libraries Lab