|
From: | Vivian Barty-Taylor |
Subject: | Lilypond SVG output in 2.12.1 |
Date: | Tue, 3 Feb 2009 14:02:22 +0100 |
I investigated the svg file, and found that the unicode values of all grobs (a three digit, hexadecimal value) has been offset by 15. Thus a quarter-note NoteHead has a unicode value of 136 in Lilypond generated SVG, and this needs to be corrected to 127. A G-clef, which has a unicode value of 1a7 in Lilypond SVG needs to be corrected to 197. The previous corrections relating to font-names also need to be made - see thread http://lists.gnu.org/archive/html/lilypond-user/ 2007-09/msg00029.html (Lilypond incorrectly names Century Schoolbook and Emmentaler fonts.)
I've had a look at making this correction using a sed script, but can't find anything in the documentation relating to the handling of hexadecimal numbers. Does anyone have any ideas, before I write a script manually correcting each grob? Does anyone know where the SVG output is generated and in what language? I might be able to fiddle with the source code too, as it seems to be quite a straightforward adjustment.
Thanks in advance for any tips. Cheers, Vivian.
[Prev in Thread] | Current Thread | [Next in Thread] |