[cairo-bugs] [Bug 13433] Cairo generated postscript files, fail to load under Adobe Illustrator (CS2)

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Sun Jul 20 10:48:19 PDT 2008


http://bugs.freedesktop.org/show_bug.cgi?id=13433


Charles Doutriaux <doutriaux1 at llnl.gov> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |doutriaux1 at llnl.gov




--- Comment #8 from Charles Doutriaux <doutriaux1 at llnl.gov>  2008-07-20 10:48:17 PST ---
I had additional info about his from one of our users i'm attaching the eps
next but here are his comments

--->>>>

I've dug up some info re the font problem.

1. From a web page having to do with Illustrator and problem eps files:

"If an EPS file [with an embedded font] is opened using Adobe Illustrator® on
a computer that does not have the font installed, the font will be substituted.
This is to prevent illegal use of the embedded font.

"Linking means to not incorporate the font information directly into the file,
but to reference the font file as a separate component outside of the source
file. This is not recommended because it requires that separate font files
travel with the source file.

"Outlining, in general terms, turns a font into a set of paths... technically
making it no longer a font (problem solved!). Outlining fonts typically will
not result in a noticeable loss of quality, therefore this is the preferred way
to handle fonts prior to saving an
EPS file." [But the font can then not be edited.]

2. The attached eps, generated with Matplotlib (i.e., Python), has
Illustrator-editable text -- not in the form of outlines. But I don't believe
the font is embedded and it also may not be TrueType. When I open the file in
Illustrator I first get a similar error to what I reported before:

Font problems. Helvetica-Narrow: Default font substituted for missing font,
etc.

In the CDAT case the font was identified as "f-0-0" and the figure opened with
garbage characters. But with this figure the font substitution actually works.
However, if I set the font in CDAT to Helvetica (x.setdefaultfont(4)) it is
still identified by Illustrator (and in the eps file) as "f-0-0" and the figure
opens with all the text stripped out, despite the "font substitution." Could
there be a font naming issue?

Also, is it possible to specify a font without embedding it? One of the
"standard" ps fonts might have to be used, but these might be more readily
recognized and accepted by other programs such as Illustrator.

Hope this is helpful, and thanks (as usual!) for the assistance
<<<<------


-- 
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.


More information about the cairo-bugs mailing list