Mathematica 9 is now available
Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
2002
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*November
*December
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2002

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

Search the Archive

Specifying Nonstandard Font Familes in Graphics

  • To: mathgroup at smc.vnet.net
  • Subject: [mg34918] Specifying Nonstandard Font Familes in Graphics
  • From: "David Park" <djmp at earthlink.net>
  • Date: Wed, 12 Jun 2002 02:16:32 -0400 (EDT)
  • Sender: owner-wri-mathgroup at wolfram.com

Dear MathGroup,

If I try to specify a font family from the fonts on my Windows 98 system to
use in graphics TextStyle statements, I have no trouble if the font name
consists of one word.  For example,

Show[Graphics[
      {Text["A quick brown fox jumped...", {0, 0},
          TextStyle -> {FontFamily -> "Jokerman", FontSize -> 30}]}],
    ImageSize -> 500];

works find. But if I use a font family described by two or more words...

Show[Graphics[
      {Text["A quick brown fox jumped...", {0, 0},
          TextStyle -> {FontFamily -> "Freestyle Script", FontSize ->
30}]}],
    ImageSize -> 500];

not only does this not give the Freestyle Script font, but the spacing
between the words is totally messed up.

How does one specify fonts that have more than one word in their name?

There is also often a problem in graphics text with the spacing between
words. Sometimes the spacing is too wide, sometimes there is no spacing at
all. What is the source of this problem and what is the best way to work
around it?

David Park
djmp at earthlink.net
http://home.earthlink.net/~djmp/



  • Prev by Date: mathlink connections through firewalls
  • Next by Date: Re: Palette resizing
  • Previous by thread: mathlink connections through firewalls
  • Next by thread: Integrate using UnitStep[*]