xvnc Mathematica menu fonts
- To: mathgroup at smc.vnet.net
- Subject: [mg70097] [mg69532] xvnc Mathematica menu fonts
- From: "Chris Chiasson" <chris at chiasson.name>
- Date: Tue, 3 Oct 2006 06:16:52 -0400 (EDT)
It appears xvnc/tightvnc has switched from using comma delimited paths to colon delimited paths. My distribution's startup script was still using the commas. Once I switched it over to colons, Mathematica at least showed letters in the menus instead of the square outlines. However, Mathematica now starts up with a dialog box that must be handled by the user, which I quote: Unable to find font family Times with requested face (weight Plain, slant Plain). Substituting closest match. Exit. Continue. After making the switch, I also found I could now delete the symlinks (I think I'm using X.org) from /usr/share/fonts/ to /usr/lib/X11/fonts /usr/ to /usr/X11R6 that the (presently outdated) Gentoo wiki xvnc howto recommends. However, that doesn't help with the dialog box. The dialog box is bad because I need for Mathematica to execute unattended. On 10/2/06, Arturas Acus <acus at itpa.lt> wrote: > Dear Chris, recenly you posted question about Mathematica menu fonts. > The solution I found was to explicitly define fontPath in vncserver > startup script. In particularry the following line in vncserver script > resolved my problems on slamd64 linux distribution: > > $fontPath = > "/usr/X11R6/lib/X11/fonts/misc/:/usr/X11R6/lib/X11/fonts/Type1/:/usr/X11R6/lib/X11/fonts/TTF/:/usr/X11R6/lib/X11/fonts/75dpi/:/usr/X11R6/lib/X11/fonts/100dpi/"; > > (if the first folder was set not to fonts/misc, then the problem > remained). > > If the solution will work for You, please forward it to Mathematica group list. > > > Sincerely, > -- > Arturas Acus <acus at itpa.lt> > > > -- > Arturas Acus <acus at itpa.lt> > -- http://chris.chiasson.name/