MathGroup Archive 1999

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: trouble with greek letter output to EPS

  • To: mathgroup at smc.vnet.net
  • Subject: [mg18646] Re: trouble with greek letter output to EPS
  • From: paulh at wolfram.com (P.J. Hinton)
  • Date: Thu, 15 Jul 1999 01:45:41 -0400
  • Organization: Wolfram Research, Inc.
  • References: <7m6igl$2g8@smc.vnet.net> <7mel3n$9k7@smc.vnet.net>
  • Sender: owner-wri-mathgroup at wolfram.com

In article <7mel3n$9k7 at smc.vnet.net>, "Martin Rommel" <rommel at semitest.com> writes:

> You have to download the Math fonts to your PS printer before you print!
> Only when you print from within Mathematica it sends the needed characters
> with the job. There might be a way to specify to use the font Symbol which
> is standard on PS printers.

There is a way to eke this out, but it is not pretty.  On an X 
front end, one can evaluate something like this.

Show[Graphics[
    Text[StyleForm["q", FontFamily -> "Symbol", 
        CharacterEncoding -> "FontSpecific"], {0, 0}]]]

The PostScript generated by the Mathematica 4 kernel uses the
appropriate glyph from the Symbol font, but the front end will
grumble about not being able to find an encoding file.

On more complicated examples, this can create some burdensome
syntax.

Plot[Sin[x], {x, 0, 2 \[Pi]}, 
  AxesLabel -> {StyleForm["q", FontFamily -> "Symbol", 
        CharacterEncoding -> "FontSpecific"], 
      SequenceForm["sin(", 
        StyleForm["q", FontFamily -> "Symbol", 
          CharacterEncoding -> "FontSpecific"], ")"]}, 
  TextStyle -> {FontFamily -> "Times", FontSize -> 12}]

Further complicating this problem is that the kernel specifies
that the parentheses be drawn with extensible characters from
Math2.

In the long run, it's just better to set up the printer/PostScript
viewer to access the Math fonts when needed.  The text will look
better because the Math fonts are designed to compliment common fonts
like Courier and Times, and less time will be spent trying to come
up with band-aid solutions such as these.

--
P.J. Hinton	
Mathematica Programming Group		paulh at wolfram.com
Wolfram Research, Inc.
Disclaimer: Opinions expressed herein are those of the author alone.


  • Prev by Date: Re: Kronecker product of matrices
  • Next by Date: Re: "At long last, Sir, have you no shame?"
  • Previous by thread: Re: trouble with greek letter output to EPS
  • Next by thread: Re: trouble with greek letter output to EPS