When I compile this
\version "2.19.25"
{ c'4 \tempo Adagio 4=72  d'4 e' \tempo Presto 4=168  f'4 g' }

with lilypond I get a nice PDF (evince screenshot attached) but when I
use

lilypond -dbackend=svg junk.ly

or 

lilypond -dbackend=svg junk.ly

then I see the text badly rendered (inkscape screenshot attached).

I copied the fonts from the LilyPond installation to ~/.fonts like the
documentation said
http://www.lilypond.org/doc/v2.18/Documentation/usage/command_002dline-usage

but this made no difference, the 2.19 Documentation says more - that

\paper  {
  #(define fonts
    (make-pango-font-tree "TeX Gyre Schola"
                          "TeX Gyre Heros"
                          "TeX Gyre Cursor"
                          (/ staff-height pt 20)))
}

needs to be added, but again this made no difference, perhaps it wasn't
meant literally? I see these fonts are installed on my (Debian Jessie)
system. And they do make it into the output svg as

<text transform="translate(5.6906, 2.8453)" font-family="TeX Gyre Schola" 
font-size="2.2001" text-anchor="start" fill="black">

where I have changed the fill color to "black" as currentColor causes
problems rendering with Gtk/Cairo.

Anybody on top of this?

Richard






_______________________________________________
lilypond-user mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to