Issue 19616 - Some embedded EMF files do not convert to PDF properly
Summary: Some embedded EMF files do not convert to PDF properly
Status: CLOSED FIXED
Alias: None
Product: gsl
Classification: Code
Component: code (show other issues)
Version: OOo 1.1 RC4
Hardware: PC All
: P3 Trivial (vote)
Target Milestone: OOo 1.1.1
Assignee: h.ilter
QA Contact: issues@gsl
URL:
Keywords:
: 27479 (view as issue list)
Depends on:
Blocks:
 
Reported: 2003-09-15 22:13 UTC by ajorge
Modified: 2004-04-06 09:20 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments
Page 1 is WMF; Page 2 is EMF (ugly) (148.27 KB, application/pdf)
2003-09-15 22:18 UTC, ajorge
no flags Details
The offending EMF file (160.23 KB, application/octet-stream)
2003-09-15 22:22 UTC, ajorge
no flags Details
The equivalent WMF file (174.42 KB, application/octet-stream)
2003-09-15 22:22 UTC, ajorge
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description ajorge 2003-09-15 22:13:50 UTC
If I convert an EPS file to EMF using Adobe Illustrator so I can import it into
OOo and then convert the document to PDF the graphic comes out looking funny,
like there are no curves, only straight edges.

The same EPS file converted by Illustrator to WMF works fine. The same EPS
converted to EMF by pstoedit seems to work just fine, so this may be considered
a bug in Illustrator, but I don't think so because OOo renders the EMF just fine
either way.
Comment 1 ajorge 2003-09-15 22:18:10 UTC
Created attachment 9350 [details]
Page 1 is WMF; Page 2 is EMF (ugly)
Comment 2 ajorge 2003-09-15 22:22:20 UTC
Created attachment 9351 [details]
The offending EMF file
Comment 3 ajorge 2003-09-15 22:22:53 UTC
Created attachment 9352 [details]
The equivalent WMF file
Comment 4 ajorge 2003-09-15 22:28:34 UTC
I've noticed that the "Windows Picture and Fax Viewer" says that the
resolution of the EMF file is 420x501 while the WMF is 1250x1472.
However since they are a vector format and OOo renders them as such
I'd expect the PDF export to render them the same way, with as little
loss as possible.

Perhaps the resolution is being used to define the frequency of
control points?
Comment 5 christof.pintaske 2003-09-16 09:06:44 UTC
cp->pl: hard to say what might be the reason for this. please have a
look / dispatch. 
Comment 6 philipp.lohmann 2003-10-06 11:58:52 UTC
pl->sj: seems to be a filter problem to me; if emf is not yours,
please dispatch further.
Comment 7 sven.jacobi 2003-10-08 08:00:26 UTC
Hi Thorsten,
Can you please takeover this bug.

Comment 8 thb 2003-10-17 16:11:44 UTC
Can confirm the problem. I'm pretty sure this is a bug in the PDF
writer, which fails to write bezier curves. Instead, only the control
polygon is exported.
Comment 9 thb 2003-10-17 16:13:25 UTC
Philipp, back to you, please have a look.
Comment 10 philipp.lohmann 2003-10-17 16:22:32 UTC
The reason seems to be that PDFWriter does not write Polygons with
Bezier curves. Oops, my fault after all.
Comment 11 philipp.lohmann 2003-10-20 10:38:25 UTC
adjusting OS and target
Comment 12 philipp.lohmann 2003-10-27 14:17:06 UTC
fixed in CWS vcl7pp1r3
Comment 13 philipp.lohmann 2003-11-13 09:52:42 UTC
pl->hi: please verify in CWS vcl7pp1r3
Comment 14 h.ilter 2003-11-18 11:13:35 UTC
Verified with cws = OK
Comment 15 h.ilter 2003-11-18 11:30:41 UTC
Set to Verified
Comment 16 h.ilter 2004-01-20 15:50:36 UTC
Verified with integrated and patch version 645m25_8733 = ok
Comment 17 philipp.lohmann 2004-04-06 09:20:44 UTC
*** Issue 27479 has been marked as a duplicate of this issue. ***