Re: questions about xset



On my Mac
mkfontdir .fonts
ln -s /usr/local/Mathematica/7.0/SystemFiles/Fonts .fonts
ls -sal .fonts
8 lrwxr-xr-x 1 mad staff 44 Oct 25 15:16 .fonts ->
/usr/local/Mathematica/7.0/SystemFiles/Fonts
gc166-mad:~ mad$ ls -sal /usr/local/Mathematica/7.0/SystemFiles/Fonts
total 0
0 drwxr-xr-x 7 root wheel 238 Oct 21 09:20 .
0 drwxr-xr-x 4 root wheel 136 Oct 25 15:15 ..
0 drwxr-xr-x 66 root wheel 2244 Oct 25 13:25 AFM
0 drwxr-xr-x 655 root wheel 22270 Oct 25 13:25 BDF
0 drwxr-xr-x 30 root wheel 1020 Oct 21 09:20 SVG
0 drwxr-xr-x 40 root wheel 1360 Oct 21 09:20 TTF
0 drwxr-xr-x 78 root wheel 2652 Oct 25 13:25 Type1

xset +fp .fonts
xset: bad font path element (#1149), possible causes are:
Directory does not exist or has wrong permissions
Directory missing fonts.dir
Incorrect font server address or syntax
gc166-mad:~ mad$ xset +fp .fonts/BDF
xset: bad font path element (#1149), possible causes are:
Directory does not exist or has wrong permissions
Directory missing fonts.dir
Incorrect font server address or syntax
gc166-mad:~ mad$ xset +fp .fonts/BDF/font.dir
xset: bad font path element (#1149), possible causes are:
Directory does not exist or has wrong permissions
Directory missing fonts.dir
Incorrect font server address or syntax

This is the same problem that I have on the head node:


ls -sal /share/apps/Mathematica7.0/SystemFiles/Fonts
total 60
4 drwxr-xr-x 7 root root 4096 Oct 21 09:20 .
4 drwxr-xr-x 18 root root 4096 Oct 25 15:10 ..
4 drwxr-xr-x 2 root root 4096 Oct 25 13:25 AFM
36 drwxr-xr-x 2 root root 36864 Oct 25 13:25 BDF
4 drwxr-xr-x 2 root root 4096 Oct 21 09:20 SVG
4 drwxr-xr-x 2 root root 4096 Oct 21 09:20 TTF
4 drwxr-xr-x 2 root root 4096 Oct 25 13:25 Type1

[root@ted Fonts]# xset +fp /share/apps/Mathematica7.0/SystemFiles/Fonts/BDF
xset: bad font path element (#1149), possible causes are:
Directory does not exist or has wrong permissions
Directory missing fonts.dir
Incorrect font server address or syntax

Although xfs is running on the head node:
xfs 5359 1 0 Oct25 ? 00:00:00 xfs -droppriv -daemon

It was not running on the mac. I started the process on the mac and tried
the xset again.

sudo /usr/X11/bin/xfs &
[1] 7770
gc166-mad:~ mad$ xset +fp .fonts/BDF
xset: bad font path element (#1149), possible causes are:
Directory does not exist or has wrong permissions
Directory missing fonts.dir
Incorrect font server address or syntax




On Wed, Oct 26, 2011 at 4:45 AM, Nigel Wade <nmw@xxxxxxxxxxxx> wrote:

On 25/10/11 18:50, Doll, Margaret Ann wrote:

As root I edited

/etc/X11/fs/config to add the lines on the head node of the cluster

/share/apps/Mathematica7.0/**SystemFiles/Fonts/Type1,
/share/apps/Mathematica7.0/**SystemFiles/Fonts/BDF,
/share/apps/Mathematica7.0/**SystemFiles/Fonts/AFM

I restarted xfs on the head node

service xfs restart

I checked my firewall on the head node of the computer clustrer

netstat -nlp | grep 7100
unix 2 [ ACC ] STREAM LISTENING 9788554
5359/xfs /tmp/.font-unix/fs7100

I then logged into the head node from my Mac using "ssh -Y"

As a regular user, my xset path does not contain the Mathematica fonts.
And Mathematica still gives me the "bad font message"

My local computer is a Mac, 10.6.


After doing that did you add the font server to the font path on your Mac?
If you don't then your X server doesn't know anything about the font server
you've just set up.


--
Nigel Wade, System Administrator, Space Plasma Physics Group,
University of Leicester, Leicester, LE1 7RH, UK
E-mail : nmw@xxxxxxxxxxxx
Phone : +44 (0)116 2523548, Fax : +44 (0)116 2523555

--
redhat-list mailing list
unsubscribe mailto:redhat-list-request@**redhat.com<redhat-list-request@xxxxxxxxxx>
?subject=unsubscribe
https://www.redhat.com/**mailman/listinfo/redhat-list<https://www.redhat.com/mailman/listinfo/redhat-list>

--
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list