bug-lilypond
[Top][All Lists]
Advanced

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

Withdrawn (was: What about the -dcrop option?)


From: Urs Liska
Subject: Withdrawn (was: What about the -dcrop option?)
Date: Mon, 16 Jul 2018 14:34:31 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.8.0

Ehm, consider me surprised.

My research found that the option should have been included in 2.19.66. But updating from 2.19.80 to 2.19.82 *did* make the issue go away ...

Sorry for the noise
Urs


Am 16.07.2018 um 14:15 schrieb Urs Liska:
I'm wondering if there's a bug or if I'm doing something wrong:

$ lilypond -dcrop --pdf crop.ly
GNU LilyPond 2.19.80
warning: no such internal option: crop
Processing »crop.ly«
Parsing...
Interpreting music...
Preprocessing graphical objects...
Finding the ideal number of pages...
Fitting music on 1 page...
Drawing systems...
Layout output to »crop«...
Converting to »crop.pdf«...
Deleting »/tmp/lilypond-e9uQnJ«...
Success: compilation successfully completed

When using -dcrop LilyPond complains about not having that option available, and the resulting PDF isn't cropped.
The option seems to have been added in 2.19.66

commit dcb458c225534895f69f4c05137809d20d6a79b9
Author: Étienne Beaulé <address@hidden>
Date:   Fri Aug 4 02:21:44 2017 -0300

    Add '-dcrop' option to ps and svg backends
        This change allows the output of scores in the format provided by the
    '-dpreview' option but including all systems, not just the first.
        This would allow for easier SVG use in HTML, without the need for
    cropping snippets. Further, SVG is an HTML standard, and its vector
    nature makes its use unparalleled for the web. This change would allow
    SVG use in 'lilypond-book' in the future.

and I didn't find any mention of the option in the newer Git history.

Is this a bug or can I do something more "correct" to get cropped SVG files?

Thanks
Urs
_______________________________________________
bug-lilypond mailing list
address@hidden
https://lists.gnu.org/mailman/listinfo/bug-lilypond




reply via email to

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