GNOME Bugzilla – Bug 111364
pdf hates dia's exported eps files.
Last modified: 2004-12-22 21:47:04 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.
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.
*** Bug 114372 has been marked as a duplicate of this bug. ***
*** Bug 119547 has been marked as a duplicate of this bug. ***
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.