lilypond-devel
[Top][All Lists]
Advanced

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

Re: GSoC Proposal - SVG Export


From: Paul Morris
Subject: Re: GSoC Proposal - SVG Export
Date: Tue, 4 Dec 2018 09:39:11 -0500
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.2.1

On 12/3/18 10:07 AM, Richard Shann wrote:

what seems strange is that there seems to be no concept of "backgound
color" in SVG (logical in a way as SVG is about things you can draw)
allowing for the possibility of drawing white on white.


Easily setting a background color would be a nice option to have.  There's this snippet, and it works for SVG (but there's room for improvement):

http://lsr.di.unimi.it/LSR/Item?id=699


yes, you add stuff to the LilyPond input to color everything explicitly
black. IIRC you can specify extra stuff to be included from the command
line too.


Ah, right, like this: http://lsr.di.unimi.it/LSR/Item?id=443

That wraps everything in <g> tags with a color property, like so:

<g color="rgb(0%, 0%, 100%)">
  <rect fill="currentColor" />
</g>


Would probably be better if it did this instead:

<rect fill="rgb(0%, 0%, 100%)" />


Cheers,
-Paul




reply via email to

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