From: Reinhold Kainhofer Date: Fri, 9 May 2008 15:45:54 +0000 (+0200) Subject: MusicXML: Use indentation in PostScript for better structuring X-Git-Tag: release/2.11.46-1~19^2 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=53b1b7d4de672d28cba0dda1ba0618ebfb4f730a;hp=2e561be35adfe2c3f7d1a297d4507beab56b36a5;p=lilypond.git MusicXML: Use indentation in PostScript for better structuring Signed-off-by: Reinhold Kainhofer --- diff --git a/scripts/musicxml2ly.py b/scripts/musicxml2ly.py index 6346b5e419..5b2a59ccb6 100644 --- a/scripts/musicxml2ly.py +++ b/scripts/musicxml2ly.py @@ -55,24 +55,23 @@ additional_definitions = { '(-0.1 . 0.1) '(0.1 . 1))) 0.7 X))))""", "eyeglasses": """eyeglassesps = #"0.15 setlinewidth -% 255 0 0 setrgbcolor --0.9 0 translate -1.1 1.1 scale -1.2 0.7 moveto -0.7 0.7 0.5 0 361 arc -stroke -2.20 0.70 0.50 0 361 arc -stroke -1.45 0.85 0.30 0 180 arc -stroke -0.20 0.70 moveto -0.80 2.00 lineto -0.92 2.26 1.30 2.40 1.15 1.70 curveto -stroke -2.70 0.70 moveto -3.30 2.00 lineto -3.42 2.26 3.80 2.40 3.65 1.70 curveto -stroke" + -0.9 0 translate + 1.1 1.1 scale + 1.2 0.7 moveto + 0.7 0.7 0.5 0 361 arc + stroke + 2.20 0.70 0.50 0 361 arc + stroke + 1.45 0.85 0.30 0 180 arc + stroke + 0.20 0.70 moveto + 0.80 2.00 lineto + 0.92 2.26 1.30 2.40 1.15 1.70 curveto + stroke + 2.70 0.70 moveto + 3.30 2.00 lineto + 3.42 2.26 3.80 2.40 3.65 1.70 curveto + stroke" eyeglasses = \markup { \with-dimensions #'(0 . 4.4) #'(0 . 2.5) \postscript #eyeglassesps }""" }