After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 111364 - pdf hates dia's exported eps files.
pdf hates dia's exported eps files.
Status: RESOLVED FIXED
Product: dia
Classification: Other
Component: exports
0.91
Other Linux
: Normal normal
: ---
Assigned To: Dia maintainers
Dia maintainers
: 114372 119547 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2003-04-22 17:20 UTC by Johan
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Johan 2003-04-22 17:20:10 UTC
I use DIA extensively to produce diagrams for my phd thesis (thanks, guys!).

Upgrading to 0.91 (from 0.90) was in many respects a very good upgrade, but
for some reason, pdf really doesn't like the eps files I export from 0.91.

I layout the document using LaTeX, and see the following behavior (all eps
from dia): 

View eps fig directly:  looks fine
Preview in xdvi:        figs are pixelated
generate postscript:    looks find on preview, haven't printed yet
Go to PDF via postscript: figs pixelated again
Go to PDF via dvipdfm:  also pixelated.

Using 0.90, and the oldstyle X fonts, every way came out looking good.

Since more people can view pdf than ps, I'd really prefer to generate good
pdf. So, on the one hand DIA appears to be off the hook (I can preview eps
just fine), but since this has so-far only occurred using eps from dia, I'm
wondering whether you do something non-standard in your output (like
perhaps you generate an embedded preview pixmap, which is what I'm managing
to use in the pdf?)

Any thoughts at all? I'd be happy to provide both eps, ps, and pdf files
for your comparison.
Comment 1 Lars Clausen 2003-04-22 17:26:05 UTC
We did indeed do something unorthodox between 0.90
and 0.91:  We dump the outlines of characters instead
of using standard fonts.  This is mostly laziness -- there
was code available to do outlines from pango (paps),
but nothing to do proper font output from pango.  Once
pangopdf is stable enough, we will go to that, which will
allow both ps and pdf to be output in high quality.
Comment 2 Hans Breuer 2004-01-11 23:10:14 UTC
*** Bug 114372 has been marked as a duplicate of this bug. ***
Comment 3 Hans Breuer 2004-01-11 23:10:52 UTC
*** Bug 119547 has been marked as a duplicate of this bug. ***
Comment 4 Lars Clausen 2004-02-23 13:51:34 UTC
We have added a different exporter that just uses the built-in fonts.  
This should help with your problems.

Now all we need is to be able to embed appropriate font information in
the file, too.