Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sizing issues on MacOS with dvisvgm option --bbox=preview #14

Open
karthink opened this issue Jan 4, 2024 · 0 comments
Open

Sizing issues on MacOS with dvisvgm option --bbox=preview #14

karthink opened this issue Jan 4, 2024 · 0 comments
Labels
visuals Related to the visuals/appearance of preview images

Comments

@karthink
Copy link
Collaborator

karthink commented Jan 4, 2024

There are two options for dvisvgm to determine the bounding box of the preview image in the DVI.

  • --bbox=preview, reading info provided by preview.sty: Works fine everywhere except for MacOS. On MacOS there is some slight clipping, < 10 px.

-- --exact-bbox, not sure how this works: This used to be slightly wrong everywhere but broke significantly in dvisvgm 3.1+.

I think it's clear we want to stick with --bbox=preview, but it would be nice if we could tweak increase the size of the bounding box a tiny bit on MacOS systems. I'm not sure how to do this yet.

@karthink karthink added the visuals Related to the visuals/appearance of preview images label Jan 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
visuals Related to the visuals/appearance of preview images
Projects
None yet
Development

No branches or pull requests

1 participant