]> git.donarmstrong.com Git - lilypond.git/blobdiff - input/regression/backend-svg.ly
Merge branch 'master' into dev/texi2html
[lilypond.git] / input / regression / backend-svg.ly
index 823016e85bcce00c2607d69591ffbd5ecc8f195e..59cef068bce4b3a4e9e99182471f4c5ed0233e2a 100644 (file)
@@ -1,11 +1,11 @@
-
+%{
 #(ly:set-option 'backend 'svg)
 #(set! output-count 1)
 
 
 \include "typography-demo.ly"
 
-\version "2.11.16"
+\version "2.11.51"
 
 #(define outname (ly:parser-output-name parser))
 
 %% LD_LIBRARY_PATH is necesssary, otherwise, it doesn't build in GUB.
 %% LD_LIBRARY_PATH is part of the start-environment but should be switched off
 %% for external inkscape.
-#(ly:system (format #f "LD_LIBRARY_PATH= inkscape -T -E ~a-inkscape.eps ~a-1.svg" outname outname)
+#(let*
+  ((cmd (format #f
+       "LD_LIBRARY_PATH= inkscape --without-gui --export-text-to-path --export-eps ~a-inkscape.eps ~a-1.svg" outname outname)))
+  (ly:progress "Running ~a" cmd)
+  (ly:system cmd)
   (cons
    (format #f "FONTCONFIG_FILE=~a/fonts/fonts.conf" (ly:effective-prefix))
    (ly:start-environment)))
@@ -40,3 +44,4 @@
     }
   }
 }
+%}