openlilylib / snippets

A place to store useful pieces of LilyPond code - custom functions, engravers, hacks, templates, examples etc.
Other
119 stars 39 forks source link

custom-music-fonts/smufl bravura SVG conversion broken #174

Open tehunk opened 4 years ago

tehunk commented 4 years ago

Hi,

I noticed that the given snippet custom-music-fonts works great for creating a PDF score with Bravura, but SVG is broken. Is there any way to fix it?

Environment:

Issue:

SVG output is broken. Screen Shot 2020-02-20 at 17 17 32 This SVG was rendered on Firefox. It's equivalently broken on Chrome.

Reproduction step:

  1. Installed the Bravura SVG font in lilypond/2.18.2/fonts/svg
  2. Lilypond input file written (attached as 'test.ly')
  3. Executed lilypond command lilypond -I <snippet-path> -dbackend=svg -o test-bravura test.ly

I've attached the pdf output as well for reference. bravura-svg.zip

Thanks in advance