You are viewing a plain text version of this content. The canonical link for it is here.
Posted to general@xmlgraphics.apache.org by David Thielen <da...@windward.net> on 2017/05/13 09:32:13 UTC

Building a EPS file, but it seems to be wrong

Hi all;

I have a program that creates a Graphics2D and it outputs fine to a bitmap and SVG. When I use the XML Graphics Commons it creates what looks like a valid EPS file. However...

When trying to display it in http://www.ofoct.com/viewer/eps-viewer-online.html and http://www.fviewer.com/view-eps - it shows a blank page (should show the text Hello World).

When I look at it in a text editor, it appears valid (starts with "%!PS-Adobe-3.0 EPSF-3.0"). But the text "hello world" is nowhere in the file. And lines 214 - 588 (of 590) are numbers like "2435.152 1458.469 2435.527 1457.773 QT"

Is there something basic I'm not understanding?

Thanks - dave