lilypond-devel
[Top][All Lists]
Advanced

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

Re: [PATCH] no-outline-stencil backend property


From: David Kastrup
Subject: Re: [PATCH] no-outline-stencil backend property
Date: Tue, 24 Jan 2017 14:49:39 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux)

Knut Petersen <address@hidden> writes:

> Hi David!
>
>> What a steaming heap of something. So your code would likely have
>> worked in LilyPond 2.16. I think it would make sense to create a new
>> type of stencil expression explicitly intended to bypass
>> outlining. Probably by just containing _two_ stencils: one for
>> typesetting, one for outlining. That would make for a much more
>> transparent manner of programming things like that.
>
> There's no need for two stencils.

That's what you claim.  And then you use no-outline on your stencil, and
use \with-dimension in order to stack this with another stencil that has
just a box outline (one that survives into both dimensions as well as
outline).  I still count two.

> I propose to include the attached code.

Which completely _drops_ any outline.  So if you want a different
outline, you need to combine this with some stencil that has an outline
but no ink.  How do you remove the ink from arbitrary stencils?  You
can't.  So you are tied down to use this trick in connection with
stencils that insist on having an outline but no ink.

Really, that makes little sense.  If we are going to need two stencils
anyway in order to make use of dropping an outline (and the positioning
for stencils with _empty_ rather than point-stencil outline is _very_
weird), we might as well let our new stencil component take two
stencils.  One for the inking, one for the outline (and for the
resulting dimension, I would guess).

-- 
David Kastrup



reply via email to

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