1 May 2006 01:31
Re: Backend and non-backend (was Re: Stencil bounding box)
Han-Wen Nienhuys <hanwen <at> lilypond.org>
2006-04-30 23:31:59 GMT
2006-04-30 23:31:59 GMT
David Feuer wrote: > On 4/27/06, Han-Wen Nienhuys <hanwen <at> lilypond.org> wrote: > >> Frankly, I'm a bit mystified why you're spending so much time on >> building the ultimate postscript backend. The backend is not a >> performance bottleneck. If you think the current PS code is inefficient, >> then you should have a look at the rest of LilyPond. > > Could you suggest something else to work on that would be reasonably > easy to understand? there's one idea that I've been toying in my head with for a bit. One of the major problems is that we don't have a reliable way to test LilyPond automatically: the output is a PDF file, and changes in formatting may subtly alter PDF files between versions, which throws off a diff or cmp with a reference file. However, I think it should be possible to generate a "signature" of the output from within the backend, and use that to detect changes in formatting. The idea is that the output is characterized by the set of grobs used for the output. Each grob is characterized by : * its name * its bounding box * its stencil output expression The output expression contains a lot of floating point numbers, which(Continue reading)
RSS Feed