-
Notifications
You must be signed in to change notification settings - Fork 60
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
Wrong output size when generating a SVG (on Mac) #39
Comments
I think this is due to the fact that the equation is converted to SVG. |
Hi! Are you using version 1.60.1 or newer? There should no longer be a big margin around the equation when generating a "Bitmap" (which on Mac is actually a PDF...). For you last example with colors, was that a "vector graphics" display? Those are indeed SVGs. The scale does look very strange... |
Aaaaaaah! Everything's perfect now. |
I agree, "Bitmap" is not a good term, it is used because that's what it is under Windows (PNG). The PDF ("Bitmap") displays on Mac also cannot have their paths edited or individual components tweaked independently, as the "Vector" displays can, so they are closer to the PNGs on Windows in that regard. I'll have to think about how to handle this. |
See reference. Vector graphics does not have anything to do with editability. I'd suggest having the user choosing between "SVG", "PDF", and "PNG". A PDF is a container. It can contain both a raster and / or a vector image. |
Reopening this because the bug persists, although it no longer affects me (as in I'm perfectly fine with generating PDFs instead of SVGs). So, the reported size is most of the time 100% × 100%. A workaround is generating a PDF first and then converting it to SVG (although it says sometimes it's 112% × 100%). About the version, I'm not sure. I don't see it written anywhere. |
IguanaTeX output (top) is 87% × 97% while LaTeXiT's (bottom) is 100% × 100%.
The text was updated successfully, but these errors were encountered: