https://bugs.documentfoundation.org/show_bug.cgi?id=106344
Bug ID: 106344
Summary: Wrong coordinates of EMF blobs in VSS file
Product: libvisio
Version: unspecified
Hardware: x86-64 (AMD64)
OS: Linux (All)
Status: UNCONFIRMED
Severity: normal
Priority: medium
Component: General
Assignee: [email protected]
Reporter: [email protected]
Hello,
I maintain a small tool called libvisio2svg:
https://github.com/kakwa/libvisio2svg
This tool glues together libvisio/librevenge, libwmf and libemf2svg (another
conversion library I maintain). This tool uses libvisio/librevenge to convert
VSS and VSD file to SVG(s), and then, in a second pass, converts the EMF/WMF
blobs commonly found in the output of libvisio/librevenge.
A user of mine had some issues with the following stencils:
- http://arcitura.com/system/application/visio/CCP_Visio_Stencil.zip
- https://www.veeam.com/vmware-esx-stencils-download.html#
With the CCP_Visio_Stencil the content is mostly one big EMF blob, and the
coordinates seems wrong. For example, using vss2raw, I get for the first
stencil:
- dimensions: "svg:height: 0.5377in, svg:width: 0.5370in"
- dimensions and position of the EMF blob: "svg:height: 0.5377in, svg:width:
0.5370in, svg:x: 48.0000in, svg:y: -10.5000in"
The EMF blob position (svg:x: 48.0000in, svg:y: -10.5000in) is weird, it places
the blob well outside the borders of the image.
This problem affects all images of this VSS file.
It's a bit less systematic with the VEEAM stencils, but most of the coordinates
are wrong to:
- dimension: "svg:height: 0.2613in, svg:width: 1.0018in"
- first point in path: 1.0016in, svg:y: -22.3309in
I also had some issues, with positions being slightly off with stencils like
the Visiocafe HP ones
- http://www.visiocafe.com/downloads/hp/HPE-ProLiant.zip
(For example "DL20 Gen9 SFF front" where the height should be ~2 times what it
is).
--
You are receiving this mail because:
You are the assignee for the bug._______________________________________________
Libreoffice-bugs mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs