Closed Lycanic closed 6 months ago
Could you add a test for a PNG graphic, since the original issue said they behaved differently?
@christianp Do you want the PNG to have the same width-based test? It was presented as an example of a format which did not cause the error, so I'm not entirely sure what to test for with it.
@christianp I've updated the tests for this as we discussed! I would like you to test thest tests on your computer to ensure there's no difference in the way the pdf viewBox is encoded (particularly, I'm concerned that the decimal places could vary between operating systems).
Looks like it works OK on my linux laptop!
Test that images are put in correctly, and not as a snapshot of the entire slide as per #59
Uses the same diagram as in pdf2svg