Public bug reported: Creating any dia file, then trying to convert it to embedded postscript with "dia -t eps-builtin -e bug.eps bug.dia" (dia 0.97.2), produces a result that is unreadable by evince, ghostscript, or epstopdf (ghostscript 9.10).
I suspect this is a bug in ghostscript, since I can use dia 0.97 on another (ScientificLinux 6) system to create eps files which work on that system but fail on Ubuntu 14.04, and I can take the eps files which cannot successfully be read on Ubuntu 14.04 and successfully read them on SL6 (ghostscript 8.70). It may be that dia is producing invalid postscript but earlier ghostscript versions are being less strict about it. The error from ghostscript is the only one which looks informative: $ ghostscript bug.eps GPL Ghostscript 9.10 (2013-08-30) Copyright (C) 2013 Artifex Software, Inc. All rights reserved. This software comes with NO WARRANTY: see the file PUBLIC for details. Loading NimbusRomNo9L-Regu font from /usr/share/fonts/type1/gsfonts/n021003l.pfb... 3896292 2357397 4095992 2612040 2 done. Loading NimbusRomNo9L-ReguItal font from /usr/share/fonts/type1/gsfonts/n021023l.pfb... 4180076 2735706 4129304 2741763 2 done. Loading NimbusRomNo9L-Medi font from /usr/share/fonts/type1/gsfonts/n021004l.pfb... 4700628 3200736 4243352 2891867 2 done. Loading NimbusRomNo9L-MediItal font from /usr/share/fonts/type1/gsfonts/n021024l.pfb... 5197780 3642322 4438136 3055017 2 done. Can't find (or can't open) font file /usr/share/ghostscript/9.10/Resource/Font/AvantGarde-Gothic. Can't find (or can't open) font file AvantGarde-Gothic. Querying operating system for font files... Error: /typecheck in /findfont Operand stack: AvantGarde-Gothic-latin1 AvantGarde-Gothic Execution stack: %interp_exit .runexec2 --nostringval-- --nostringval-- --nostringval-- 2 %stopped_push --nostringval-- --nostringval-- --nostringval-- false 1 %stopped_push 1916 1 3 %oparray_pop 1915 1 3 %oparray_pop --nostringval-- 1899 1 3 %oparray_pop 1787 1 3 %oparray_pop --nostringval-- %errorexec_pop .runexec2 --nostringval-- --nostringval-- --nostringval-- 2 %stopped_push --nostringval-- 1868 2 3 %oparray_pop Dictionary stack: --dict:1171/1684(ro)(G)-- --dict:0/20(G)-- --dict:113/200(L)-- Current allocation mode is local Current file position is 4276 GPL Ghostscript 9.10: Unrecoverable error, exit code 1 ProblemType: Bug DistroRelease: Ubuntu 14.04 Package: dia 0.97.2-15ubuntu1 ProcVersionSignature: Ubuntu 3.13.0-24.47-generic 3.13.9 Uname: Linux 3.13.0-24-generic x86_64 NonfreeKernelModules: nvidia ApportVersion: 2.14.1-0ubuntu3 Architecture: amd64 CurrentDesktop: XFCE Date: Sat May 10 11:39:41 2014 InstallationDate: Installed on 2012-11-09 (547 days ago) InstallationMedia: Xubuntu 12.10 "Quantal Quetzal" - Release amd64 (20121017.1) SourcePackage: dia UpgradeStatus: Upgraded to trusty on 2014-04-30 (9 days ago) ** Affects: ghostscript (Ubuntu) Importance: Undecided Status: New ** Tags: amd64 apport-bug third-party-packages trusty ** Package changed: dia (Ubuntu) => ghostscript (Ubuntu) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1318211 Title: dia -t eps-builtin produces unreadable output To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/ghostscript/+bug/1318211/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs