]> git.donarmstrong.com Git - lilypond.git/blobdiff - tex/lily-ps-defs.tex
patch::: 1.5.43.jcn1
[lilypond.git] / tex / lily-ps-defs.tex
index c1ff2b18ed2c70ed1740f6d872570b045a4a586b..ed2eeb4af890c13a55fd4847d14501930f1b3f4c 100644 (file)
@@ -9,17 +9,25 @@
 %
 % escape the colon with \string to avoid problems with french babel
 %
+\def\PSsetTeXdimen#1{\expandafter\special{! /#1 (\csname #1\endcsname) set_tex_dimen}}
 \def\lilySpace{ }
+
+% PostScript PT/IN: 72/25.4
+\def\scaletounit{ 2.834645 mul }
+
+% for true printers points to postscript points: 
+%\def\scaletounit{1.00375}
 \def\turnOnPostScript{%
         % This sets CTM so that you get to the currentpoint
         % by executing a 0 0 moveto
         \def\embeddedps##1{%
                 \special{ps\string: @beginspecial @setspecial
-                        \lilypondpaperoutputscale\lilySpace 
-                        \lilypondpaperoutputscale\lilySpace scale 
-                        ##1 @endspecial}%
+                        \lilypondpaperoutputscale\lilySpace\scaletounit
+                        \lilypondpaperoutputscale\lilySpace\scaletounit
+                        % FUCKING REDHAT XDVI -- ARG!
+                        skeel ##1 @endspecial}%
         }
+        \PSsetTeXdimen{lilypondpaperblotdiameter}
 }
-
 \def\turnOnExperimentalFeatures{}