]> git.donarmstrong.com Git - lilypond.git/commitdiff
Fix ugly output from make-parenthesis-stencil for increased thickness
authorThomas Morley <thomasmorley65@gmail.com>
Fri, 31 Jul 2015 22:19:02 +0000 (00:19 +0200)
committerThomas Morley <thomasmorley65@gmail.com>
Sat, 8 Aug 2015 12:09:31 +0000 (14:09 +0200)
issue 4532

This was caused by the fix for issue 3930. Small and very small
object were focused by 3930 and it did the job.
Though, obviously increasing the thickness for make-bezier-sandwich-stencil
should have been limited.

scm/stencil.scm

index e64cc2b91c8662fad2736fd71d5fc56bb5a0ca48..f73b08163052b0567d0f2628887bbd8bd552dd19 100644 (file)
@@ -159,7 +159,7 @@ the more angular the shape of the parenthesis."
       upper-end-point
       ;; Step 1: move to lower end point.
       lower-end-point)
-     (* 2 half-thickness)
+     (min (* 2 half-thickness) line-width)
      (interval-widen x-extent (/ line-width 2))
      (interval-widen y-extent (/ line-width 2)))))