;;;; This file is part of LilyPond, the GNU music typesetter.
;;;;
-;;;; Copyright (C) 2004--2010 Jan Nieuwenhuizen <janneke@gnu.org>
+;;;; Copyright (C) 2004--2011 Jan Nieuwenhuizen <janneke@gnu.org>
;;;; Patrick McCarty <pnorcks@gmail.com>
;;;;
;;;; LilyPond is free software: you can redistribute it and/or modify
(module-define! (ly:outputter-module outputter) 'paper paper))
(dump (svg-begin page-width page-height
0 0 device-width device-height))
+ (if (ly:get-option 'svg-woff)
+ (module-remove! (ly:outputter-module outputter) 'paper))
(if (ly:get-option 'svg-woff)
(dump (woff-header paper (dirname filename))))
(dump (comment (format "Page: ~S/~S" page-number page-count)))
(module-define! (ly:outputter-module outputter) 'paper paper))
(dump (svg-begin svg-width svg-height
left-x (- top-y) device-width device-height))
- (if (ly:get-option svg-woff)
+ (if (ly:get-option 'svg-woff)
+ (module-remove! (ly:outputter-module outputter) 'paper))
+ (if (ly:get-option 'svg-woff)
(dump (woff-header paper (dirname filename))))
(ly:outputter-output-scheme outputter
`(begin (set! lily-unit-length ,unit-length)