lilypond-devel
[Top][All Lists]
Advanced

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

Re: Enhance the -dpreview method for SVG output (issue 326960043 by addr


From: beauleetienne0
Subject: Re: Enhance the -dpreview method for SVG output (issue 326960043 by address@hidden)
Date: Thu, 03 Aug 2017 19:52:25 -0700

In PS2, an implementation of the '-dcrop' argument was added to the 'ps'
backend. My implementation has also been revamped to *work* and be more
elegant. Letting James upload the patchset.


https://codereview.appspot.com/326960043/diff/1/Documentation/usage/running.itely
File Documentation/usage/running.itely (right):

https://codereview.appspot.com/326960043/diff/1/Documentation/usage/running.itely#newcode683
Documentation/usage/running.itely:683: @tab Match the size of the normal
output to the typeset image for SVGs.
On 2017/08/01 12:22:02, Carl wrote:
This should be placed in alphabetical order (about line 532)

I would prefer to see the description be something like

Match the size of the normal output to the typeset image (currently
only
implemented for svg backend).

Actually, I'd even more prefer to have the crop function work on the
pdf backend
as well as the svg backend.  Have you investigated whether your code
could work
on PDF as well?

Also, the placement of crop in this file causes reading problems,
because it's
placed in the middle of preview, and the text below says "This option
is
supported by all backends", which applies to preview, but not to crop.

Done.

https://codereview.appspot.com/326960043/diff/1/scm/framework-svg.scm
File scm/framework-svg.scm (right):

https://codereview.appspot.com/326960043/diff/1/scm/framework-svg.scm#newcode173
scm/framework-svg.scm:173: (define (dump-page-crop paper filename page
page-number page-count stensil)
On 2017/08/01 12:22:02, Carl wrote:
Hmm -- the argument here is spelled "stensil"

Acknowledged.

https://codereview.appspot.com/326960043/diff/1/scm/framework-svg.scm#newcode178
scm/framework-svg.scm:178: (x-extent (ly:stencil-extent stencil X))
On 2017/08/01 12:22:02, Carl wrote:
But here it is spelled "stencil"

How does this work?  Perhaps the stencil argument is unnecessary and
not doing
anything here?  I'm confused.

Function removed in PS2.

https://codereview.appspot.com/326960043/diff/1/scm/lily.scm
File scm/lily.scm (right):

https://codereview.appspot.com/326960043/diff/1/scm/lily.scm#newcode341
scm/lily.scm:341: (crop
On 2017/08/01 12:22:02, Carl wrote:
This should be put in the proper alphabetical order (up at line 231),
rather
than placed under preview

Done.

https://codereview.appspot.com/326960043/



reply via email to

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