MathGroup Archive 1998

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

Search the Archive

Re: remote FrontEnd fonts problem leads to core dump


  • To: mathgroup@smc.vnet.net
  • Subject: [mg11060] Re: remote FrontEnd fonts problem leads to core dump
  • From: "P.J. Hinton" <paulh@wolfram.com>
  • Date: Wed, 18 Feb 1998 20:32:14 -0500
  • Organization: Wolfram Research, Inc.
  • References: <6cbebr$8dk$2@dragonfly.wolfram.com>

On 17 Feb 1998, M A Lewis wrote:
 
> anyone know how to solve this problem??
> 
> I have Mathematica for Students Linux 3.0.0 installed.... I have
> installed the Mathematica fonts on a Digital Unix 4.0A system running
> CDE...
> 
> 
> on the Alpha system, 
> xset +fp /usr/local/lib/mathematica/X xset +fp
> /usr/local/lib/mathematica/Type1 xset fp rehash
> 
> then I telnet to Linux machine and start mathematica Front End comes up
> ok...palette has correct fonts.... Plot3D[Sin[x y],{x,-6,6},{y,-6,6}]
> looks good....
> 
> However, when I try Help->Find in Help Browser
> 
> [mlewis@tristan radiation_physics]$ mathematica Warning: Cannot convert
> string "-dt-interface user-medium-r-normal-l*-*-*- *-*-*-*-*-*" to type
> FontSet
> Warning: Unable to load any usable fontset Warning: Cannot convert
> string "-dt-interface user-medium-r-normal-l*-*-*- *-*-*-*-*-*" to type
> FontList
> Warning: Cannot convert string "-dt-interface
> user-medium-r-normal-l*-*-*- *-*-*-*-*-*:" to type FontList
> Segmentation fault (core dumped)
> [mlewis@tristan radiation_physics]$ 

This is a known problem under CDE.  The front end is having trouble with
the default fonts (dt foundry) of CDE, and this leads to a seg fault.

You can fix the problem by overriding the font selection with the
following X resource:

XMathematica*fontList: <some font here>

where the font name follows the X logical font description convention:

http://www.it.umd.edu/unix.help/Utilities/X-windows/XFont_Fields.html 

The resource line should be added to your .Xdefaults file in your home
directory.  If this file doesn't exist, create a new file by this name
with the above line it it.

I use Helvetica-Medim 12 pt in my work, so the resource setting I use
is:

XMathematica*fontList:
-adobe-helvetica-medium-r-normal--*-120-*-*-*-*-*-*

However, any font available on your X server will suffice.  You can get
a list of the fonts by issuing the command:

	xlsfonts | more

in a shell on your Digital Unix machine.

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




  • Prev by Date: Re: Active Plots
  • Next by Date: Re: Tools/User set up
  • Prev by thread: remote FrontEnd fonts problem leads to core dump
  • Next by thread: ListPlots, sizing