]> git.donarmstrong.com Git - lilypond.git/blobdiff - scm/output-ps.scm
Imported Upstream version 2.19.48
[lilypond.git] / scm / output-ps.scm
index 70b13848e4aa6ad898bac04f79d33c80dfdaf838..6d3ab63c2fcf30dd78370cd7cb97e9b458abbe0e 100644 (file)
              (scm framework-ps)
              (lily))
 
-;;; helper functions, not part of output interface
-;;;
-
-
-;; ice-9 format uses a lot of memory
-;; using simple-format almost halves lilypond cell usage
-
-(define (str4 num)
-  (if (or (nan? num) (inf? num))
-      (begin
-        (ly:warning (_ "Found infinity or nan in output.  Substituting 0.0"))
-        (if (ly:get-option 'strict-infinity-checking)
-            (exit 1))
-        "0.0")
-      (ly:number->string num)))
-
-(define (number-pair->string4 numpair)
-  (ly:format "~4l" numpair))
-
 ;;;
 ;;; Lily output interface, PostScript implementation --- cleanup and docme
 ;;;