From: David Kastrup Date: Mon, 2 Sep 2013 13:27:57 +0000 (+0200) Subject: Issue 1523: Parenthesizing breath marks X-Git-Tag: release/2.17.27-1~40^2~19 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=8f9554e6f6371a557d7ac4e0a2bc577347f6c5d7;p=lilypond.git Issue 1523: Parenthesizing breath marks Parenthesizing breath marks didn't work as expected. The parentheses were next to the breath mark, not around it. It would appear that just giving ParenthesesItem a non-empty (but zero) extent is enough to let it be placed correctly. --- diff --git a/scm/define-grobs.scm b/scm/define-grobs.scm index 9a0576454e..040f3fc2dd 100644 --- a/scm/define-grobs.scm +++ b/scm/define-grobs.scm @@ -1716,6 +1716,10 @@ (padding . 0.2) (stencil . ,parentheses-item::print) (stencils . ,parentheses-item::calc-parenthesis-stencils) + ;; X-extent needs to be non-empty in order to allow proper + ;; horizontal attachment. ParenthesesItem does not reserve + ;; space of its own, however. + (X-extent . (0 . 0)) (meta . ((class . Item) (interfaces . (font-interface parentheses-interface))))))