dataWithEPSInsideRect and fonts
dataWithEPSInsideRect and fonts
- Subject: dataWithEPSInsideRect and fonts
- From: Karl Kraft <email@hidden>
- Date: Fri, 7 Mar 2003 12:50:16 -0800
I'm using dataWithEPSInsideRect to convert a view to EPS so it can be
embedded in a later PostScript file.
I'm having some issues with the font. The only font used is
Helvetica-Bold, which we use in the drawing routine by placing in an
attributes dictionary passed to the methods in
NSString(NSStringDrawing)
The resulting file, instead of putting Helvetica in a %%DocumentFonts:
header in the EPS, is trying to embed a font called
XXXXXX+Helvetica-Bold., where the X's are replaced with random capital
letters. Anyone know what the idea being expressed here is? Is there
any way to turn this off?
%RBIBeginFontSubset: NPLSLR+Helvetica-Bold
%!PS-TrueTypeFont-1.0000-1.0000-2
I could try to remove it after the fact, but all the strings have been
encoded (probably to match the font substitution) in the EPS like this:
(!")[ 7.000000 7.000000 ] xS
(!#)[ 7.000000 7.000000 ] xS
(!$)[ 7.000000 7.000000 ] xS
Those are 09, 07, and 05.
When importing these files into AI, about half the time it complains
about the font being missing, and about half not.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.