Fonts garbled on remote X display
Hi: I have Mathematica 4.2 running on Suse 8.1 Linux. I have the font server installed and running, and have placed the following lines in the font server config file: /usr/local/mathematica/SystemFiles/Fonts/X, /usr/local/mathematica/SystemFiles/Fonts/Type1 MMA runs fine on this machine. However, I want to use this machine only to run MMA, but display on a different machine. From the remote machine (tong), I telnet to this machine (ting), and do the following (I have already set up xhost permissions OK): $ export DISPLAY=tong:0 $ mathematica& The result is that mathematica begins to display its splash screen on tong, as desired. But then it displays the error dialog: "Startup Error: The mathematica fonts are not properly installed on your system. ... " (see note below) I click continue. Next is another dialog: "Startup Warning: Unable to find font with family Math1, weight Plain, slant Plain, and size 12. Substituting Courier." I click continue. The MMA notebook and a palette appear. The notebook works, except that the special fonts for mathematical characters such as integrals, radicals, etc., are all appearing as jibberish in the palette and if I try to use them in the notebook. Basically, MMA is substituting Courier for every MathN font request, even though the MMA fonts are available to the ting Xserver. For instance, $ xlsfonts|grep wri-|wc -l 346 Note that the error about "fonts are not properly installed" can also occur on a single machine, without making a fix to one of Mathematica's files. I have already fixed this error so that MMA doesn't complain when displaying on ting, but the error appears when displaying on tong. Does anybody have an idea about how to fix this? Thanks. -- _____________________ Christopher R. Carlen crobc@earthlink.net Suse 8.1 Linux 2.4.19
Chris Carlen
I have Mathematica 4.2 running on Suse 8.1 Linux. I have the font server installed and running, and have placed the following lines in the font server config file:
/usr/local/mathematica/SystemFiles/Fonts/X, /usr/local/mathematica/SystemFiles/Fonts/Type1 ...
"Startup Error: The mathematica fonts are not properly installed on your
I don't know how to fix this problem. In the past, I just copied the Fonts directory to the computer where the X server was running and added it into the font search path: xset fp+ /usr/local/mathematica/SystemFiles/Fonts/X xset fp+ /usr/local/mathematica/SystemFiles/Fonts/Type1 This somehow worked for Mathematica 4.2.1 on SuSE Linux 8.2. (Now I mostly use Mathematica 5.0 on SUSE Linux 9.0 locally.) -- A.M.
Alexandr Malusek wrote:
Chris Carlen
writes: I have Mathematica 4.2 running on Suse 8.1 Linux. I have the font server installed and running, and have placed the following lines in the font server config file:
/usr/local/mathematica/SystemFiles/Fonts/X, /usr/local/mathematica/SystemFiles/Fonts/Type1 ...
"Startup Error: The mathematica fonts are not properly installed on your
I don't know how to fix this problem.
In the past, I just copied the Fonts directory to the computer where the X server was running and added it into the font search path:
xset fp+ /usr/local/mathematica/SystemFiles/Fonts/X xset fp+ /usr/local/mathematica/SystemFiles/Fonts/Type1
This somehow worked for Mathematica 4.2.1 on SuSE Linux 8.2. (Now I mostly use Mathematica 5.0 on SUSE Linux 9.0 locally.)
-- A.M.
Note that there are two different issues. One is that MMA gives the "Startup Error: The mathematica fonts are not properly installed on your system..." dialog. This error is annoying, but doesn't adversely affect the operation of MMA. It can be fixed by following these instructions: http://support.wolfram.com/mathematica/systems/linux/interface/fonterrors.ht... However, the problem that I am experiencing relates only to the failure of the MMA fonts to properly display on a remote X display. This problem remains unresolved. Hopefully I will get some response from Wolfram on the matter, in which case I can report the fix here. Unless someone on the list can offer a solution before that. Good day! -- ____________________________________ Christopher R. Carlen Principal Laser/Optical Technologist Sandia National Laboratories CA USA crcarle@sandia.gov
Chris Carlen
In the past, I just copied the Fonts directory to the computer where the X server was running and added it into the font search path: xset fp+ /usr/local/mathematica/SystemFiles/Fonts/X xset fp+ /usr/local/mathematica/SystemFiles/Fonts/Type1
However, the problem that I am experiencing relates only to the failure of the MMA fonts to properly display on a remote X display.
This problem remains unresolved.
I see the solution which I used doesn't work in your case. Actually, I have many problems with Mathematica. E.g. the notebook interface in MMA 5.0 freezes when the ListPlot[l] command is used and the list l contains small numbers (e.g. 1e-7); the graphics window displayed by "math" in 5.0 is black and the produced graphical output is not visible on SuSE 8.2, ... I had many problems with older versions of Mathematica too, mostly related to X. I must say I don't like the WRI license agreement: <cite> WRI, its distributors and dealers shall not be responsible under any circumstances for providing information on or corrections to errors and omissions discovered at any time in the product, whether or not they are aware of the errors or omissions. </cite> -- A.M.
participants (3)
-
Alexandr Malusek
-
Chris Carlen
-
Chris Carlen