Menu

#2567 \balloonGrobText does not work properly with slurs

Accepted
nobody
None
Crash
2013-10-15
2012-05-26
Anonymous
No

Originally created by: *anonymous

Originally created by: d8val...@gmail.com

The image shows what happens when \balloonGrobText is used with a slur.
Uncommenting the \override demonstrates a possible workaround. I tried
this code in 2.14.2 with the same result.

\version "2.15.39"

\new Voice \with { \consists "Balloon_engraver" }
\relative c'' {
% uncommenting the following line is a possible workaround
%\override BalloonTextItem #'X-extent = ##f
\balloonGrobText #'Slur #'(0 . 2) \markup { "I'm a slur!" }
c( d e f)
}

1 Attachments

Discussion

  • Google Importer

    Google Importer - 2012-05-28

    Originally posted by: colingh...@gmail.com

    (No comment was entered for this change.)

    Labels: Type-Ugly

     
  • Google Importer

    Google Importer - 2012-05-29

    Originally posted by: mts...@gmail.com

    I don't think balloons were ever meant to go on spanners - is there a way this can be indicated in the docs? I'm pretty sure that what's happening is that balloons are triggering slur position calculations before horizontal spacing is finished, which causes a weird slur to be printed.

     
  • Google Importer

    Google Importer - 2013-10-15

    Originally posted by: thomasmo...@gmail.com

    I changed the label to type-crash because with 2.17.25 up to 2.17.28 the initial code returns a segfault.

    Here are some more examples for Stem and Beam:

    %% tested with all major- and some devel-versions from
    \version "2.12.3"
    %% up to
    \version "2.17.28"

    %% Only for better viewing:
    \layout {
      \context {
        \Voice
        \override Beam #'color = #red
        \override Beam #'layer = #5
      }
    }

    %%%% balloonGrobText for Stem under Beam

    %%%% Same for automatic/manual Beams
    \new Voice  \with { \consists "Balloon_engraver" }
      \relative c'' {
        %% 2.12.3, 2.14.2: ok
        %% 2.16.2, 2.17.28: text and balloon is printed, no real Beam
        %% Note the very small displaced Beam
        \balloonGrobText #'Stem #'(3 . 3) \markup { "Stem" }
        a8 a a a
      }

    %%%% balloonGrobText for Beam

    %%%% Automatic Beams
    %% 2.12.3, 2.14.2, 2.16.2, 2.17.28: Beam is printed, no text or balloon
    \new Voice  \with { \consists "Balloon_engraver" }
      \relative c'' {
        \balloonGrobText #'Beam #'(3 . 3) \markup { "Beam" }
        a8 a a a
      }

    %%%% Manual Beams
    %% 2.12.3: ok
    %% 2.14.2, 2.16.2: text and balloon is printed, no real Beam
    %% 2.17.25/26/27/28: Segfault
    \new Voice  \with { \consists "Balloon_engraver" }
      \relative c'' {
        \balloonGrobText #'Beam #'(3 . 3) \markup { "Beam" }
        a8[ a a a]
      }

    Labels: -Type-Ugly Type-Crash

     
MongoDB Logo MongoDB