bug-lilypond
[Top][All Lists]
Advanced

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

Re: more stems piercing text


From: Janek Warchoł
Subject: Re: more stems piercing text
Date: Sun, 21 Apr 2013 10:26:21 +0200

2013/4/19 Keith OHara <address@hidden>:
>> Another minimal example from
>> http://code.google.com/p/lilypond/issues/detail?id=2795#c16
>>
>> \paper { indent = 0\mm
>>   line-width = 41\mm
>>   ragged-right = ##f }
>> \score { << \new Staff { g1_"retaliate" }
>>      \new Staff << { e''4 e''' r2 } \\ e'1 >> >> }
>>
>> Workaround
>>   \override DynamicTextSpanner #'skyline-horizontal-padding = #0.5
>
> Oops, the correct override is
>     \override TextScript #'skyline-horizontal-padding = #0.2
> where 0.2 is the value Janek is considering.

+1, this value seems very reasonable.


2013/4/19 David Kastrup <address@hidden>:
> "Keith OHara" <address@hidden> writes:
>> David Kastrup <address@hidden>:
>>> Would it make sense if the "skyline horizontal padding" was only applied
>>> in inward direction and/or limited/clipped by the outward padding?  In
>>> that case, one could use comparatively larger values for stopping
>>> interleaving while not causing outward problems.
>>>
>> Not in this case, because the near-collision is just as disturbing if
>> the word ends at the 'i' "retali" and a stem comes within the usual
>> inter-letter space.
>
> Nobody precludes us from padding the full script with a regular padding
> as well.  I'd just think that usually we want larger horizontal padding
> inside than outside.  I mean, going between letters is really bad, but I
> also don't want stuff to fit in between the stems of "dd", for example.

Indeed, i've arrived at a similar conclusion: we need padding both
inwards and outwards, but they need different values.  I think it
would be a reasonable thing to do.

cheers,
Janek



reply via email to

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