;;;;
;;;; source file of the GNU LilyPond music typesetter
;;;;
-;;;; (c) 2003--2006 Han-Wen Nienhuys <hanwen@xs4all.nl>
+;;;; (c) 2003--2007 Han-Wen Nienhuys <hanwen@xs4all.nl>
(define-public (stack-stencils axis dir padding stils)
"Stack stencils STILS in direction AXIS, DIR, using PADDING."
(- (list-ref bbox 2) (list-ref bbox 0))
(- (list-ref bbox 3) (list-ref bbox 1))
))
- (factor (exact->inexact (/ size bbox-size)))
+ (factor (if (< 0 bbox-size)
+ (exact->inexact (/ size bbox-size))
+ 0))
(scaled-bbox
(map (lambda (x) (* factor x)) bbox))
(clip-rect-string (ly:format