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: Tue, 07 May 2013 08:01:13 +0000


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

I've exchanged the arc operators (which don't have an exact representation in PDF) with the "standard" one-bezier quartercircle approximation where the points and control points are (0,r)..controls (4/3 r*(sqrt 2 - 1),r) and (r, 4/3 r *(sqrt 2 - 1)) .. (r,0) and, compared to the previous version, this changes the size of the PDF from a stem-intensive file with about 700kB of file size (as opposed to about 90kB previously) approximately 10 bytes.

I am not bothering to check that one in. I think I'll try one additional approach using a circular pen just to stroke top and bottom of a pen horizontally, then strike down with a vertical line. I'll do the whole thing without stroke adjustment: if strokeadjustment is _on_, I am assuming direct bitmap output and valid one-per-pixel device space coordinates and doing my own version of strokeadjustment on the whole stem construct including the rounded ends. In either case, a stem will be one top and bottom horizontal stroke with rounded ends and one vertical stroke with flat ends. This should keep the file size down and the stem width consistent, at the cost of some fattening of the ends in cairo-based previewers. And of course, I can make the direct bitmap output pretty good.

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