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

Incorrect viewBox in case of documents with tables #33

Closed
mgieseki opened this issue Jul 20, 2014 · 4 comments
Closed

Incorrect viewBox in case of documents with tables #33

mgieseki opened this issue Jul 20, 2014 · 4 comments
Assignees
Labels
Milestone

Comments

@mgieseki
Copy link
Owner

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.

Launchpad Details: #LP948713 Pavel Holoborodko - 2012-03-07 07:03:13 +0100

@mgieseki
Copy link
Owner Author

Cmmand line for dvisvgm:

dvisvgm -n --bbox=min test.dvi

Launchpad Details: #LPC Pavel Holoborodko - 2012-03-07 07:04:48 +0100

@mgieseki
Copy link
Owner Author

Pavel, thank you for reporting this bug. I've committed a patch to the hg repository at SourceForge that should fix the issue. I'll also add it to the next release of dvisvgm.

Launchpad Details: #LPC Martin Gieseking - 2012-03-07 11:07:12 +0100

@mgieseki
Copy link
Owner Author

Thank you Martin for the quick fix!

@i'll also add it to the next release of dvisvgm.

Any ideas on next release date?

I try to avoid installing software from sources directly - using package manager instead.

Launchpad Details: #LPC Pavel Holoborodko - 2012-03-08 02:06:10 +0100

@mgieseki
Copy link
Owner Author

I'm going to publish a point release (1.0.11) in the next couple of days. It will fix all issues that have been reported in the last months.

Launchpad Details: #LPC Martin Gieseking - 2012-03-08 12:50:22 +0100

@mgieseki mgieseki self-assigned this Jul 20, 2014
@mgieseki mgieseki added bug and removed medium labels Jul 20, 2014
@mgieseki mgieseki added this to the 1.0.11 milestone Jul 15, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant