lilypond-auto
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Lilypond-auto] [LilyIssues-auto] [testlilyissues:issues] #5135 PecentRe


From: Auto mailings of changes to Lily Issues
Subject: [Lilypond-auto] [LilyIssues-auto] [testlilyissues:issues] #5135 PecentRepeat with small 'slope causes collisions
Date: Sun, 07 May 2017 20:42:54 +0000


[issues:#5135] PecentRepeat with small 'slope causes collisions

Status: New
Created: Sun May 07, 2017 08:42 PM UTC by Colin Campbell
Last Updated: Sun May 07, 2017 08:42 PM UTC
Owner: Thomas Morley
Attachments:

As reported by Harm:

the following code gives bad output (collisions) for PecentRepeat with
small 'slope

\repeat percent 2 { c'4 d' e' f' \override PercentRepeat #'slope = #0.2 }

This happens in all tested versions from 2.19.60 back to 2.12.3

My first thought was the stencil extents are not calculated correctly
though the code below seems to proof this wrong:

boxPercentRepeat =
  \once \override PercentRepeat #'after-line-breaking =
    #(lambda (grob)
      (ly:grob-set-property! grob 'stencil
        (stencil-with-color
          (box-stencil
            (ly:grob-property grob 'stencil)
            0.2 0.5)
          red)
          ))

slopePercentRepeat =
  \once \override PercentRepeat #'slope = #0.2

\repeat percent 2 {
  c'4 d' e' f'
  \boxPercentRepeat
  \slopePercentRepeat
}

Sent from sourceforge.net because address@hidden is subscribed to https://sourceforge.net/p/testlilyissues/issues/

To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/testlilyissues/admin/issues/options. Or, if this is a mailing list, you can unsubscribe from the mailing list.

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Testlilyissues-auto mailing list
address@hidden
https://lists.sourceforge.net/lists/listinfo/testlilyissues-auto

reply via email to

[Prev in Thread] Current Thread [Next in Thread]