Karthik Chikmagalur <karthikchikmaga...@gmail.com> writes:

>> It looks like on main dvisvgm is putting rectangle with no color
>> specification when we request black background - it is something Emacs
>> does display differently from other svg viewers. Will things on your
>> branch be different?
>
> I tested setting the :background to Black and other colors in the
> preview branch -- dvisvgm works as expected in all cases.  I'm not sure
> why it works differently on main.

I checked in more details. It looks like you fixed this issue on the
branch via `org-latex-preview--svg-make-fg-currentColor'.
Ironically, svgs generated on the branch, when opened in image-mode
(when you open the actual svg file in Emacs) are displayed with white
background.

So, this bug will be auto-fixed after merging the branch for Org's
purposes.

Emacs bug is another story and it might happen that we may revert the hack
after Emacs fixes bug#77841. We shall see.

-- 
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>

Reply via email to