]> git.donarmstrong.com Git - lilypond.git/blobdiff - ps/lilyponddefs.ps
Fix some bugs in the dynamic engraver and PostScript backend
[lilypond.git] / ps / lilyponddefs.ps
index 9672572c99e6b4e59a6486225efe5c24bef8fde5..442ae200466f76dfac890400a8ef34d3bf28886a 100644 (file)
 
 
 /set-ps-scale-to-lily-scale {
-       lily-output-units output-scale mul
-       lily-output-units output-scale mul scale
+       lily-output-units output-scale mul dup scale
 } bind def
 
 
 /init-paper {
        gsave
        clippath pathbbox newpath
-       /vsize exch def
-       /hsize exch def pop pop pop
+       /paper-height exch def
+       /paper-width exch def pop pop pop
        % FIXME
        /top-margin 2 def
-       hsize line-width sub 2 div /left-margin exch def
+       paper-width line-width sub 2 div /left-margin exch def
        grestore
 } bind def