[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Lilypond-auto] Issue 3259 in lilypond: Patch: report a programming erro
From: |
lilypond |
Subject: |
[Lilypond-auto] Issue 3259 in lilypond: Patch: report a programming error when trying to align on empty parent |
Date: |
Mon, 18 Mar 2013 14:10:22 +0000 |
Status: Started
Owner: address@hidden
Labels: Type-Enhancement Patch-new
New issue 3259 by address@hidden: Patch: report a programming error
when trying to align on empty parent
http://code.google.com/p/lilypond/issues/detail?id=3259
report a programming error when trying to align on empty parent
To align grobs, we look at their extents (which are basically
grob dimensions in respective axes) and offset them according
to these extents. If a grob's extent is empty (undefined),
we cannot calculate the offset required to achieve desired
alignment of this grob, so we report a "programming error:
cannot align on self: empty element".
It is acceptable to align a grob which dimension is 0 (for
example its stencil is just a point), but in that case its
extent should be a zero interval, not an undefined value
(i.e. (0 . 0), not #f).
If we want to align a grob on its parent, the required offset
is calculated based on extents of both the grob and the
parent, so the parent's extent shouldn't be empty as well.
This patch makes LilyPond report a programming error if
parent's extent is empty (until now such situations were just
silently ignored).
http://codereview.appspot.com/7533046
--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings
- [Lilypond-auto] Issue 3259 in lilypond: Patch: report a programming error when trying to align on empty parent,
lilypond <=
- Re: [Lilypond-auto] Issue 3259 in lilypond: Patch: report a programming error when trying to align on empty parent, lilypond, 2013/03/18
- Re: [Lilypond-auto] Issue 3259 in lilypond: Patch: report a programming error when trying to align on empty parent, lilypond, 2013/03/18
- Re: [Lilypond-auto] Issue 3259 in lilypond: Patch: report a programming error when trying to align on empty parent, lilypond, 2013/03/18
- Re: [Lilypond-auto] Issue 3259 in lilypond: Patch: report a programming error when trying to align on empty parent, lilypond, 2013/03/18
- Re: [Lilypond-auto] Issue 3259 in lilypond: Patch: report a programming error when trying to align on empty parent, lilypond, 2013/03/19
- Re: [Lilypond-auto] Issue 3259 in lilypond: Patch: report a programming error when trying to align on empty parent, lilypond, 2013/03/19
- Re: [Lilypond-auto] Issue 3259 in lilypond: Patch: report a programming error when trying to align on empty parent, lilypond, 2013/03/19
- Re: [Lilypond-auto] Issue 3259 in lilypond: Patch: report a programming error when trying to align on empty parent, lilypond, 2013/03/20
- Re: [Lilypond-auto] Issue 3259 in lilypond: Patch: report a programming error when trying to align on empty parent, lilypond, 2013/03/23
- Re: [Lilypond-auto] Issue 3259 in lilypond: Patch: report a programming error when trying to align on empty parent, lilypond, 2013/03/24