lilypond-auto
[Top][All Lists]
Advanced

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

Re: [Lilypond-auto] Issue 2658 in lilypond: wrong stem rendering (incons


From: lilypond
Subject: Re: [Lilypond-auto] Issue 2658 in lilypond: wrong stem rendering (inconsistent thickness)
Date: Wed, 17 Apr 2013 09:47:10 +0000


Comment #34 on issue 2658 by address@hidden: wrong stem rendering (inconsistent thickness)
http://code.google.com/p/lilypond/issues/detail?id=2658

What are you trying to tell me with that commit id? The proposed code does not even issue a rectstroke. Never.

It turns out that a rectstroke with rounded corners does not work well with strokeadjust set on Ghostscript: the resulting shape tends to have bumps at the corners. Even without strokeadjustment on: a rectstroke will at least have a width of one pixel, so PostScript printers are _required_ to fatten a barline by (1-blotdiameter) pixels on average (and 0 to 2 pixels absolute) because of line thickness, and by another pixel (0 to 2 pixels absolute) when strokeadjustment is off. When strokeadjustment is on, it adds 0 pixels on average but unfortunately -1 to 1 pixel absolute thickness since it works independently on left and right sides of a rectstroke.

The proposed code is very careful to use strokes as intended whenever possible. For a rounded rectangle with a rounding diameter neither 0 nor maximum, strokeadjustment can't work directly, so the unadjusted shape is used as clip area and a rectangular adjusted stroke is drawn through it.

The results should exhibit quite less variation in thickness than the old code, actually even when strokeadjustment is turned off. But the use of a clip area is something that not every previewer appears to be happy with.

--
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



reply via email to

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