--bbox=min bounding box too tight, cropping issue
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
dvisvgm |
Invalid
|
Undecided
|
Martin Gieseking |
Bug Description
when running the dvisvgm with the --bbox=min option,
Sometimes the resulting .svg file is cropped at the top and bottom. It depends on the font size and expression, for example, a mathematical formula.
In the attached example the top part of the digit 3 in the expression (-2)^3+2(-2^3) is cropped, unlike the 3 in the first expression.
changing the values in the generated .svg file viewBox='53.82 109.02 628.827 50.5117' to viewBox='53.82 108.02 628.827 50.5117'
moves the expression down, and the resulting .svg is not cropped.
The following expression was used to generate the example:
\begin{equation*}
\\lim_{
\end{equation*}
Changed in dvisvgm: | |
status: | Fix Released → Invalid |
assignee: | nobody → Martin Gieseking (martin-gieseking) |
The file bounding box problem.svg was added: Example of the --bbox=min cropping problem