|
From: | Auto mailings of changes to Lily Issues |
Subject: | [Lilypond-auto] [LilyIssues-auto] [testlilyissues:issues] #5033 LyricHyphen whiteout |
Date: | Sat, 04 Mar 2017 18:11:25 +0000 |
LyricHyphen whiteout
Issue 5033
A proper outline whiteout
would be ideal, but it is
not currently implemented.
The current code fails
because you need a relatively
large whiteout area for a
small object.
A brute force fix is to increase
the number of iterations, but
the result would be a pdf with
a high percentage of whiteout code.
There is the case where a long
melisma produces a single hyphen
event that generates a lot of
hyphens that cross a number of
mensuration lines.
Rectangular or roundedbox whiteout
will produce gaps in all
mensuration lines crossed, even
if there is no collision.
That's not acceptable.
http://codereview.appspot.com/312530043
[issues:#5033] LyricHyphen whiteout
Status: Started
Created: Mon Jan 16, 2017 01:13 PM UTC by Knut Petersen
Last Updated: Sat Mar 04, 2017 06:11 PM UTC
Owner: Knut Petersen
Attachments:
Whiteout for LyricHyphen grobs is seldom used - obviously the hyphen must not whiteout parts of the lyric syllables. But it is a vital feature if mensuration lines are used (old music, Distler, ...)
A proper outline whiteout would be ideal, but it is not implemented ... the current code fails because you need a relatively large whiteout area for a small object. A brute force fix is to increase the number of iterations, but the result would be a pdf with a high percentage of whiteout code.
And there is the case where a long melisma produces a single hyphen event that generates a lot of hyphens that cross a number of mensuration lines. Rectangular or roundedbox whiteout will produce gaps in all mensuration lines crossed, even if there is no collision. That's not acceptable.
Attached is a patch that solves the problem. It passes a full make, and make check does not identify any problem.
WhiteoutOrig.jpg: Current code
WhiteoutImproved.jpg: Brute-force-fix - more than 90% whiteout code in the pdf
WhiteoutEvenBetter-X.jpg: Proposed behaviour as implemented in the attached patch
Sent from sourceforge.net because address@hidden is subscribed to https://sourceforge.net/p/testlilyissues/issues/
To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/testlilyissues/admin/issues/options. Or, if this is a mailing list, you can unsubscribe from the mailing list.
------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________ Testlilyissues-auto mailing list address@hidden https://lists.sourceforge.net/lists/listinfo/testlilyissues-auto
[Prev in Thread] | Current Thread | [Next in Thread] |