Incorrect viewBox in case of documents with tables
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
dvisvgm |
Fix Released
|
Medium
|
Martin Gieseking |
Bug Description
Thank you for the great piece of software!
I've been using it to render math formulae on websites.
I've encountered following problem.
If document includes table, then viewBox's top coordinate is large than it should be.
This results in not showing top horizontal border of the table in viewers or when inserting SVG in browsers.
I've used latest dvisvgm 1.0.10 as well as 1.0.8. With TexLive and MikTex - same problem.
Attached example files for reproducing.
test.tex - source
test.svg - output from dvisvgm
test.png - raster image rendered by Inkscape from test.svg. With missing top border.
Besides Inkscape, I tried to render svg in Chrome, Firefox - same result.
If I decrease top in viewBox - it renders properly.
I would appreciate your help on this.
Thank you.
Changed in dvisvgm: | |
status: | Fix Committed → Fix Released |
milestone: | none → 1.0.11 |
Cmmand line for dvisvgm:
dvisvgm -n --bbox=min test.dvi