[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Issue 1056 in lilypond: Pure-height of stems does not accurately est
From: |
lilypond |
Subject: |
Re: Issue 1056 in lilypond: Pure-height of stems does not accurately estimate height |
Date: |
Thu, 15 Apr 2010 21:32:28 +0000 |
Comment #6 on issue 1056 by shingarov: Pure-height of stems does not
accurately estimate height
http://code.google.com/p/lilypond/issues/detail?id=1056
Hi Neil,
The extent of a transparent grob is exactly the same as if it were
visible:
it still takes up space, so you'd expect both invisible.ly
(with Stem #'length = 0 disabled) to look the same as visible.ly.
I stepped through the execution of both Stem::pure_height() and
Stem::height() in the
debugger. It is not true that the vertical extent of a transparent stem is
the same
as the height of a visible stem. In the "visible.ly"/"invisible.ly"
examples, the
extent of the visible stem is (-4.18:-6.5), invisible is (-4.0:-4.18). The
pure
extent of invisible stem is (-4.0:-6.5) -- exactly the same as in the
visible case.
(So the estimation is off by 14 times).
So as a temporary solution, I would try just looking at the "transparent"
property
inside Stem::pure_height(), and return an empty Interval, or I guess better
a
zero-length Interval at whereever the translation happens to be.
Any suggestion on what the more permanent / more correct fix would be?
--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings
- Re: Issue 1056 in lilypond: Pure-height of stems does not accurately estimate height, lilypond, 2010/04/06
- Message not available
- Re: Issue 1056 in lilypond: Pure-height of stems does not accurately estimate height,
lilypond <=
- Message not available
- Re: Issue 1056 in lilypond: Pure-height of stems does not accurately estimate height, lilypond, 2010/04/15
- Message not available
- Re: Issue 1056 in lilypond: Pure-height of stems does not accurately estimate height, lilypond, 2010/04/15
- Message not available
- Re: Issue 1056 in lilypond: Pure-height of stems does not accurately estimate height, lilypond, 2010/04/15
- Message not available
- Re: Issue 1056 in lilypond: Pure-height of stems does not accurately estimate height, lilypond, 2010/04/15
- Message not available
- Re: Issue 1056 in lilypond: Pure-height of stems does not accurately estimate height, lilypond, 2010/04/16
- Message not available
- Re: Issue 1056 in lilypond: Pure-height of stems does not accurately estimate height, lilypond, 2010/04/16