Skip to content

SVG files rendered at a completely wrong size on Sphinx 9 #132

@dkonigsberg

Description

@dkonigsberg

When I run SimplePDF on Linux, the SVG graphics in the output all look fine. However, when I run it on macOS, those same graphics are sized wildly wrong.

Here's one side-by-side comparison, with Linux on the top and macOS on the bottom:

Image

I've also attached the raw SVG here for reference:
Image

This is not the worst example, but it is the easiest one to show in a simple side-by-side comparison.

Now I'm pretty sure the actual underlying libraries used to do the rendering aren't the same between both platforms, so if there's anything you'd like me to run/check to provide more information I certainly can. But I suspect this may be a case where Linux is scaling it as appropriate to the document and macOS is scaling it based on some metadata in the SVG file.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions