[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: -dpreview doesn't take brackets into account
From: |
Janek Warchoł |
Subject: |
Re: -dpreview doesn't take brackets into account |
Date: |
Sun, 14 Apr 2013 17:31:10 +0200 |
2013/4/14 Federico Bruni <address@hidden>:
> As you can see in this example:
> http://lilypond.org/ly-examples/tab-example.png
>
> the bottom part of the bracket has been cut off because of -dpreview.
> Can you change -dpreview so that brackets are taken into account?
I think this isn't as simple as it looks, and it affects many other grobs.
As far as i know, the problem is that everything that sticks outside
grob's extent is ignored by LilyPond. For example, when you override
extent to be empty as in here
{ b4 b b }
\addlyrics {
\override LyricText #'X-extent = ##f
oeirg ergoi fooo
}
lyrics collide - because Lily ignores everythign outside the (empty in
this case) extent when calculating collisions.
Unfortunately, this cannot be solved by simply including everything in
extents. As far as i can see, the solution is to define two kinds of
extents (see here
http://lists.gnu.org/archive/html/lilypond-devel/2012-06/msg00230.html).
http://code.google.com/p/lilypond/issues/detail?id=3239 is a step in
that direction, but it's progressing slowly; more people discussing
code are needed to really move this forward.
However, currently our efforts should concentrate on preparing a
stable, and after that we could return to this thing.
best,
Janek