[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Issue 3330: redo much of the stencil stacking/spacing/empty-check (i
From: |
k-ohara5a5a |
Subject: |
Re: Issue 3330: redo much of the stencil stacking/spacing/empty-check (issue 8869044) |
Date: |
Sun, 28 Apr 2013 20:04:30 +0000 |
You are struggling because the code recursively combines the tail of a
sequence of stencils, before adding the first.
Presumably we want the first line to overstrike, and the second to
\markup{ "A" \hspace #-2.5 "--- the end" }
\markup{ "A" \center-column {"up" "down"}}
but both attach the "A" to tails with the same shape
[.A] [ . ]
One way to distinguish the cases is to remember a cursor position, the
extent-start of the most-recently-added element in the tail, rather than
use the extent-start of the combined tail. (More easily thought of in a
loop implementation, rather than recursion.)
https://codereview.appspot.com/8869044/
- Re: Issue 3330: redo much of the stencil stacking/spacing/empty-check (issue 8869044), janek . lilypond, 2013/04/28
- Re: Issue 3330: redo much of the stencil stacking/spacing/empty-check (issue 8869044), dak, 2013/04/28
- Re: Issue 3330: redo much of the stencil stacking/spacing/empty-check (issue 8869044),
k-ohara5a5a <=
- Re: Issue 3330: redo much of the stencil stacking/spacing/empty-check (issue 8869044), janek . lilypond, 2013/04/28
- Re: Issue 3330: redo much of the stencil stacking/spacing/empty-check (issue 8869044), k-ohara5a5a, 2013/04/28
- Re: Issue 3330: redo much of the stencil stacking/spacing/empty-check (issue 8869044), dak, 2013/04/28
- Re: Issue 3330: redo much of the stencil stacking/spacing/empty-check (issue 8869044), dak, 2013/04/28
- Re: Issue 3330: redo much of the stencil stacking/spacing/empty-check (issue 8869044), k-ohara5a5a, 2013/04/28
- Re: Issue 3330: redo much of the stencil stacking/spacing/empty-check (issue 8869044), janek . lilypond, 2013/04/29
- Re: Issue 3330: redo much of the stencil stacking/spacing/empty-check (issue 8869044), janek . lilypond, 2013/04/29
- Re: Issue 3330: redo much of the stencil stacking/spacing/empty-check (issue 8869044), k-ohara5a5a, 2013/04/29
- Re: Issue 3330: redo much of the stencil stacking/spacing/empty-check (issue 8869044), dak, 2013/04/29
- Re: Issue 3330: redo much of the stencil stacking/spacing/empty-check (issue 8869044), dak, 2013/04/29