-
Notifications
You must be signed in to change notification settings - Fork 108
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 Indentation with pgfsys-dvisvgm.def #1353
Comments
May be related to the Similar to #1296. Example showing
|
Yes, the example from #1296 also can be reproduced in my setup. Looks like it explains insufficient indentation on the right, but does not explain excessive indentation on the left on my first screenshot. I understand that But with it, the shadow indeed is hidden: It seems that |
Brief outline of the bug
I found a problem with border detection when using
pgfsys-dvisvgm.def
. In a MWE, enabling the dvisvgm option of documentclass results in excessive indentation on the left and insufficient indentation on the right:Minimal working example (MWE)
I use a document template like this on my service for online image rendering for https://upmath.me/. The documents are converted with commands like
latex
anddvisvgm in.dvi -o out.svg -n --exact -v0 --relative --zoom=1.25
.I have been contacted by users complaining about the lack of gradients. Enabling the dvisvgm option in documentclass helped with the gradients, but problems with extra indents appeared. Through several days of reserch and experimentation, I updated TexLive to the latest version 2024, found the pull-request #1276 and replaced the contents of pgfsys-dvisvgm.def from it, but there are still indentation issues in some cases. This is one of the two examples I have found so far.
I tried to compare the
dvitype
output when using different drivers, but I know nothing about the internals of the system and have not understood much about the cause of the problem and how to fix it. I hope you can help me with this.The text was updated successfully, but these errors were encountered: