[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
When title = "" SVG output differs from PDF output
From: |
Paul |
Subject: |
When title = "" SVG output differs from PDF output |
Date: |
Wed, 14 Dec 2016 10:14:35 -0500 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.5.1 |
Hi all,
I found an inconsistency in SVG output vs PDF output. Took me awhile to
figure out what was adding the unwanted spacing to the SVG. (I've used
"title" for the example but the story is the same for "composer" etc.)
Thanks,
-Paul
\version "2.19.52"
\header {
% in pdf output, title = "" is the same as title = ##f or no title
(no space is added)
% in svg output they are not the same, "" inserts space but ##f and
no title do not
% seems like the svg behavior should be the same as the pdf behavior
title = ""
% title = ##f
}
\paper {
top-margin = 0 \cm
top-system-spacing.basic-distance = 0
top-system-spacing.minimum-distance = 0
top-system-spacing.padding = 0
}
% staff should be aligned to the top of the page/image
{ \clef bass c1 }
- When title = "" SVG output differs from PDF output,
Paul <=