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


_______________________________________________
lilypond-devel mailing list
lilypond-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-devel

Reply via email to