Re: Previewing an SVG generated by METAPOST
luigi scarso <[email protected]> Fri, 10 May 2019 21:19:33 +0200
| Newsgroups | gmane.comp.tex.metapost |
|---|---|
| Message-ID | <CAG5iGsAc2CgqCvGo4SN2XPHXFGvyfjvvH0kRm4mHsjpfn0uGJw@mail.gmail.com> |
Il Ven 10 Mag 2019, 21:16 Daniel H. Luecking <[email protected]> ha scritto: > > This is not true in MetaPost's postscript output, and the > > BoundingBox in EPS and SVG are the same to 5 decimals. > > > It seems to me that the path definition in SVG draws the path > > almost a point higher than it ought to be. This is assuming > > that in > > viewBox="0 0 63.410065 91.206802" > > the coordinates are supposed to represent the ulcorner > > and lrcorner of the picture. If that is the case, the initial > > moveto should be 0.25 90.87 (approx.) instead of 0.0 90.0 > > (with corresponding adjustments to other points in the path) > > so that the strokes (thickness and all) exactly fit in the > > viewBox. > > > Seems like a bug to me, but I have only a vague idea of the > > SVG format and how it is supposed to be dislayed. > > > > Ok I will give it a look. -- luigi -- http://tug.org/metapost/