GNU bug report logs -
#77841
Some svg image's black color is replaced by emacs's theme foreground color
Previous Next
Full log
View this message in rfc822 format
Alan Third <alan <at> idiocy.org> writes:
>> Consider the attached svg image.
>> ...
>> Seemingly, background and foreground are inverted in the second case.
>>
>> What am I missing?
>
> The image draws a rectangle in the current foreground colour, black in
> the first case and red in the second, and then fills the text with
> "#fff".
>
> <g fill='#fff'>
This image was generated by dvisvgm.
It indeed explicitly draws a rectangle over the page, effectively
inverting background and foreground (Emacs has no reason to apply
background color to the rect object fill).
That's unfortunate, but explains the observed behavior.
Feel free to close this bug report.
--
Ihor Radchenko // yantar92,
Org mode maintainer,
Learn more about Org mode at <https://orgmode.org/>.
Support Org development at <https://liberapay.com/org-mode>,
or support my work at <https://liberapay.com/yantar92>
This bug report was last modified 7 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.