Red Hat Bugzilla – Bug 494643
Polypolygon records in an EMF (converted from EPS) incorrectly rejected as invalid
Last modified: 2009-05-15 19:32:29 EDT
That .eps doesn't contain a usable preview image so OOo gets pstoedit to create one for it to show on-screen. A final printed to .ps document would contain the original .eps.
So the evocation is effectively...
/usr/bin/pstoedit -f emf:-OO /tmp/demome.eps -o /tmp/output.emf
and the next fall-back is
convert -density 300x300 eps:/tmp/demome.eps png:/tmp/output.png
with the metafile one preferred over a bitmap.
So the output.emf in this case is attached, not sure what else we've got that can import .emf files to see if this .emf is in black-and-white and this is a bug/failure in pstoedit or if we're not able to import the .emf colours.
Created attachment 338593 [details]
what we end up rendering
Checking in word under wine shows that the .emf is shown with colours, so the .emf was converted fine by pstoedit, the problem lies in our emf handling
Ah, oversafe bounds test is working in terms of two longs for a point as in a OOo point, and not in terms of two 16bit shorts for a point as in EMF points.
Fixed filed upstream, checked into rawhide and F-10. Will be in
>= 3.0.1-15.4.f10 if there is another F-10 update
openoffice.org-3.0.1-15.4.fc10 has been submitted as an update for Fedora 10.
openoffice.org-3.0.1-15.4.fc10 has been pushed to the Fedora 10 testing repository. If problems still persist, please make note of it in this bug report.
If you want to test the update, you can install it with
su -c 'yum --enablerepo=updates-testing update openoffice.org'. You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F10/FEDORA-2009-4273
Sorry for the delay in testing. Yes, this package works fine now. Thanks!
openoffice.org-3.0.1-15.4.fc10 has been pushed to the Fedora 10 stable repository. If problems still persist, please make note of it in this bug report.