Re: Bad parentheses in exported eps
- To: mathgroup at smc.vnet.net
- Subject: [mg37342] Re: [mg37318] Bad parentheses in exported eps
- From: John Fultz <jfultz at wolfram.com>
- Date: Thu, 24 Oct 2002 02:55:40 -0400 (EDT)
- Sender: owner-wri-mathgroup at wolfram.com
On Wed, 23 Oct 2002 02:56:54 -0400 (EDT), Will Todd G wrote:
>
>
>I have understood that parentheses "( )" are displayed as "HL" in
>exported postscript due to the fact that postscript viewers are not
>accessing the Mathematica Fonts that encode "( )". I thought I
>could avoid this problem by specifying a different font, in this
>case Courier for the parentheses. This didn't work. Is there a
>related idea that will work?
>
>parenGraphic = Show[Graphics[{ Text[ StyleForm["(", FontFamily ->
>"Courier", FontWeight -> "Plain"] , {0, 0}]
>}]];
>
>Export["parenGraphic.eps", parenGraphic]
>
>
>Todd Will UW-LaCrosse
Try this instead...
parenGraphic =
Show[Graphics[{Text[
StyleForm["(",
PrivateFontOptions -> {"OperatorSubstitution" -> False}],
{0, 0}]}]];
(and actually you don't need to make a separate graphic out of this, you
can just throw this in the TextStyle option for the whole graphic)
You can also set the "OperatorSubstitution" option to False at the global
level using the Option Inspector, which would affect all uses of parens,
brackets, etc., in Mathematica...in input and output cells as well as
graphics. Of course, you'll still need to include the Mathematica fonts
for those characters which have no corresponding characters in the regular
fonts, like Greek letters and radicals.
Sincerely,
John Fultz
jfultz at wolfram.com
User Interface Group
Wolfram Research, Inc.