mossr/BeautifulAlgorithms.jl

code images corrupted

SimonEnsemble opened this issue · 8 comments

very cool!
but to me, many of the images appear corrupted.

image

mossr commented

Yeah...SVG is funny sometimes. Is this on mobile by any chance?

👀
this is on Firefox, Linux Mint.

I experience the same thing (Firefox, Linux). But when opening the image in a separate tab, it displays properly.

The problem only appears on line breaks

It also happens on Firefox, Windows10.

left-> firefox
right -> chrome

firefox_TTAZ4tN9Rp

I'm also getting on Firefox Dev. Edition latest. Not ideal, but is it possible to switch to PNGs?

Yeah...SVG is funny sometimes. Is this on mobile by any chance?

And yeah, to add another data point, for me on Android mobile many of the characters don't render:

Screenshot_20210711-101943

(which of course is related to the fact that the original source doesn't contains characters android won't display as well):
Screenshot_20210711-102115

The suggestion to somehow convert the sources to pixels before uploading the images would be nice, yeah.

mossr commented

Simple answer was just to use the PNGs I was already creating (instead of the SVGs). Fixed via 2d28624