On 2014-04-07 18:28, David Kastrup wrote:
Peter Bjuhr <[email protected]> writes:
(In the SVG definition I read:
The supported length unit identifiers are: em, ex, px, pt, pc, cm,
mm, in, and percentages.
I guess relational units as em or even % could equal staff spaces in
this case...)
LilyPond's pt is 1/72.27in while PostScript's (and likely SVG's) pt is
1/72in. This may also affect pc which is usually defined as 12pt.
Thanks David!
I've now learnt some more about this. The units of the elements in the
SVG file is likely the same as in LilyPond but they're scaled by the
viewBox element. So when you set a different staff-size only the scaling
in the viewBox is adjusted and the unit of the other elements are
intact. I've only tested markup elements so far so I may need to add a
little reservation here.
Judging from this could we assume that the unit is LilyPond pt:s which
are scaled to fit a particular container element?
Best
Peter
_______________________________________________
lilypond-devel mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/lilypond-devel