MathGroup Archive 1995

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

Search the Archive

Using other fonts on graphics...

  • To: mathgroup at smc.vnet.net
  • Subject: [mg2083] Using other fonts on graphics...
  • From: rmarimon at leland.stanford.edu (Ricardo Marimon)
  • Date: Fri, 29 Sep 1995 01:12:56 -0400
  • Organization: Stanford University

Hi,

I would like to use different fonts in the graphics output of
mathematica.  For example, why is not possible to write this:

Show[
   Graphics[
      Text[FontForm["a", {"ZapfDingbats", 10.0}], {10, 10}, {0, 0}]
]]

and get the font in the graphics.  It works just fine with {"Times", 10.0}
but not with "ZapfDingbats".  I'm working on a mac and I have the
ZapfDingbats font as a TrueType font.  If I print the output of the Show
to a postsript printer the graphics comes out right (with the right font),
but I would like to see it on the screen also.

I want to do this because I'm writing a graphics package to do plot
multiple lists in one graphic.  I would like to use the ZapfDingbats
characters as the point markers for the different lists.  Very much in the
spirit of MultipleListPlot, but without those ugly looking marks that
scale very big if you print the graphics landscape on a letter sized
paper.

The nice thing about using a font is that it does not scale with the
graphics and I can then get nice markers at any scale.

By the way, does anybody know about a nice legends package.  I think that
the one that comes with Mathematica is very bad...

Thanks for the help..

- Ricardo Marimon
  rmarimon at leland.stanford.edu


  • Prev by Date: Re: Solving inequation
  • Next by Date: Re: Direction Fields
  • Previous by thread: Re: Direction Fields
  • Next by thread: strange Integrate[] behavior