2006-03-20 Han-Wen Nienhuys <hanwen@xs4all.nl>
+ * VERSION (PATCH_LEVEL): bump version.
+
* input/test/instrument-name-align.ly: new file.
* scm/define-markup-commands.scm (hcenter-in): add hcenter-in.
PACKAGE_NAME=LilyPond
MAJOR_VERSION=2
MINOR_VERSION=7
-PATCH_LEVEL=39
+PATCH_LEVEL=40
MY_PATCH_LEVEL=
Grob *s = stems[LEFT] ? stems[LEFT] : stems[RIGHT];
return -get_grob_direction (s);
}
-
+ else if (int p = get_position (me))
+ return Direction (sign (p));
+
return UP;
}
(let* ((scale (ly:output-def-lookup paper 'output-scale))
(box (map
(lambda (x)
- (inexact->exact
- (round (/ (* x scale) (ly:bp 1))))) mmbox)))
-
+ (if (or (nan? x) (inf? x))
+ 0
+ (inexact->exact
+ (round (/ (* x scale) (ly:bp 1)))))) mmbox)))
+
(list (car box)
(cadr box)
(max (1+ (car box)) (caddr box))