From 8f9554e6f6371a557d7ac4e0a2bc577347f6c5d7 Mon Sep 17 00:00:00 2001 From: David Kastrup Date: Mon, 2 Sep 2013 15:27:57 +0200 Subject: [PATCH] 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. --- scm/define-grobs.scm | 4 ++++ 1 file changed, 4 insertions(+) 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)))))) -- 2.39.5