Subject: Re: [nmr_sparky] Font display problem - Mac
From: Tom Goddard
Date: Sep 10, 2008

Previous: 526 Next: 528


Hi Krisztina,

Sparky uses variable size fonts provided by X windows on the Mac. I
guess the fonts simply are not available at certain sizes. I tried
Sparky 3.112 on my Mac 10.4.11 system and was not able to make peak
assignment labels in the spectrum window disappear. I tried by zooming
and I tried by adjusting label sizes with oz. They always worked for
me. I have heard of problems with other software where fonts with X
windows on Mac seem to work for some 10.4.11 systems and not with others.

I dont know of anything you can do about this other than use a zoom
level that works, or use a different computer, or try to add fonts on
your Mac. Sparky uses a scalable Courier font for labels. One other
possibility is edit the file

Sparky.app/Contents/Resources/lib/Sparky

changing line

Sparky.scalableFont: -family courier

to something like

Sparky.scalableFont: -family helvetica

or choose some other font name. Then restart Sparky. This line tells
Sparky what font to use for labels.

To see this file on the Mac you need to ctrl-click on the Sparky icon
and choose Show Package Contents from the popup menu.

Tom