]> git.donarmstrong.com Git - lilypond.git/commit
Issue 3880: bad number formatting in svg path output
authorDavid Kastrup <dak@gnu.org>
Sat, 5 Apr 2014 14:29:57 +0000 (16:29 +0200)
committerDavid Kastrup <dak@gnu.org>
Sun, 13 Apr 2014 17:20:47 +0000 (19:20 +0200)
commit0b4a6579d13603db4c786c8ecbde2ae52b1c6050
tree8f9809599f99639b2b0f9ed75fcfed59570c2ab2
parent423deeb9913f9ded5aebac5223fdea1db59a0254
Issue 3880: bad number formatting in svg path output

This uses ly:format with "~4f" format string rather than format with
"~S" for formatting point lists.  Note that "~4f" has a different
meaning in ly:format as compared to plain format.  This is consistent
with other number formatting.  Also does this for output of color.

The previous output was problematic when the number was an exact
fraction.
scm/output-svg.scm