MathGroup Archive 2008

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

Search the Archive

Re: Wacky Font Substitution in .eps Export

  • To: mathgroup at
  • Subject: [mg90600] Re: Wacky Font Substitution in .eps Export
  • From: ragfield <ragfield at>
  • Date: Tue, 15 Jul 2008 06:18:04 -0400 (EDT)
  • References: <g5f61t$rds$>

On Jul 14, 4:25 am, jfu... at wrote:
> Dear Mathematica Adepts,
> I am creating some graphics for Export to an .eps file.  It seems that
> font embedding is an issue discussed in the past on the forums.  What
> about suprious font substitutions?
> The following statement produces the expected simple graphic:
> Show@Graphics[{Text["abcdefghijklmnopqrstuvwxyz1234567890\nABCDEFGHIJKLMN=
> @#$%^&*()",{0,0},TextStyle->{FontFamily->"Times"}]}].
> It is sort of a sample of the keyboard, all in, one would expect, the
> common font, "Times".
> When this graphic is passed through the function, Export, as an .eps
> file, Export["deleteMe.eps", %], and opened in any other program, then
> some of the common special characters are missing, with blanks in
> their place:
> abcdefghijklmnopqrstuvwxyz1234567890
> At least one of the programs complained about a missing Mathematica
> font.  But why is a Mathematica font being used when I asked for
> Times?  How can I work around this?  I especially want to use bracket=
> in graphics.
> Thanks for any advice in advance.

By default Mathematica draws operators with Mathematica fonts.  Turn
off operator substitution to get an EPS file with only the Times
font.  For you example you could do this:

    "abcdefghijklmnopqrstuvwxyz1234567890\nABCDEFGHIJKLMNOP \
    @#$%^&*()", {0, 0},
    TextStyle -> {FontFamily -> "Times",
      PrivateFontOptions -> {"OperatorSubstitution" -> False}}]}]


  • Prev by Date: Re: Wacky Font Substitution in .eps Export
  • Next by Date: Re: Stop iteration iconstructing Table
  • Previous by thread: Re: Wacky Font Substitution in .eps Export
  • Next by thread: Re: Wacky Font Substitution in .eps Export