|
From: | Simon Albrecht |
Subject: | Re: No blot in custom bar line |
Date: | Mon, 23 Nov 2015 23:37:57 +0100 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0 |
On 23.11.2015 23:02, David Nalesnik wrote:
Hi Simon,On Mon, Nov 23, 2015 at 3:40 PM, Simon Albrecht <address@hidden <mailto:address@hidden>> wrote:Hello, I’ve defined a custom bar line, following the examples in scm/bar-line.scm. Now I would have expected the whole ‘blot’ business to give me round edges, at least with \override Staff.BarLine.rounded = ##t, but it doesn’t. Why?The value for blot that you end up using is tiny. (I get a value of 0.016.) Try substituting 0.08 for a better appearance. I'm not sure at the moment how you'd go about *calculating* a more reasonable value.
After quite some scouring I found the source for this small value: scm/paper.scm, lines 91f. read:
;; sync with feta (setm! 'blot-diameter (* 0.4 pt))It works to just replace (layout-blot-diameter grob) in the definition for calc-blot by 0.1. Thus, there’s still the safety that a smaller value will be chosen for either very thin or very short bar-lines – OTOH, when is that supposed to happen? :-)
Yours, Simon
[Prev in Thread] | Current Thread | [Next in Thread] |