[Oberon] Fonts in Oberon V4. Was (invalid case in CASE statement).

peter at easthope.ca peter at easthope.ca
Sun Dec 27 17:52:35 CET 2020


From:	"Skulski, Wojciech" <skulski at pas.rochester.edu>
Date:	Sun, 27 Dec 2020 03:28:22 +0000
> http://olymp.idle.at/~tanis/oberon.linux.html

Good.  That provides oberon-1.7.02.tar.gz
Installed it parallel to the earlier oberon-1.5.01.glibc.tar.gz.

Execution opens the Oberon display for at least a microsecond. =8~)
These notes are left in the invoking terminal.

peter at joule:~$ sob      
xset:  bad font path element (#1), possible causes are:
    Directory does not exist or has wrong permissions
    Directory missing fonts.dir
    Incorrect font server address or syntax

X Error of failed request:  BadName (named color or font does not exist)
  Major opcode of failed request:  45 (X_OpenFont)
  Serial number of failed request:  198
  Current serial number in output stream:  199

 From:	Pablo Cayuela <pablo.cayuela at gmail.com>
Date:	Sun, 27 Dec 2020 01:37:37 -0300
> I did some minor changes to the guide by Robert Lichtenberger (one of its
> maintainers) in order to work in my system:

Similar procedure here.  Reviewed the INSTALL file with attention to this.

>    I have found that in some cases it may be neccessary to re-run mkfontdir
> and/or to zip the fonts.
> 
>         cd /usr/local/oberon-<version>/xfonts
>         rm fonts.dir
>         gzip fonts.dir
>         mkfontdir .
>         xset +fp /usr/local/oberon/xfonts ; xset fp rehash

rm fonts.dir
gzip fonts.dir
Makes no sense.  Of course it gives this.

root at joule:/usr/local/oberon-1.7.02/xfonts# rm fonts.dir
root at joule:/usr/local/oberon-1.7.02/xfonts# gzip fonts.dir
gzip: fonts.dir: No such file or directory

In fact I tried this.
root at joule:/usr/local/oberon-1.7.02/xfonts# mv fonts.dir fonts.dir.origin
root at joule:/usr/local/oberon-1.7.02/xfonts# xset +fp /usr/local/oberon/xfonts
xset: unable to open display ""

"... in some cases it may be neccessary to re-run mkfontdir ..."

What cases?  What exactly is the problem?  Instructions should 
lead to a positive result.  "If it doesn't work try ..." is 
sloppyness.

root at joule:/usr/local/oberon-1.5.01/xfonts# ls -ld Oberon.Times8i*
-rw-rw-r-- 1 509 users 2238 Apr  8  2000 Oberon.Times8i.Scn.pcf.gz

root at joule:/usr/local/oberon-1.7.02/xfonts# ls -ld Oberon.Times8i*
-rw-rw-r-- 1 peter users 2238 Nov  5  2004 Oberon.Times8i.Scn.pcf.gz

I don't understand X and font usage well enough to recognize the 
fault.  Should fonts belong to 509 rather than peter?  Can anyone 
correct the instructions in INSTALL?

Thanks,                ... P. L.







-- 
Tel: +1 604 670 0140            Bcc: peter at easthope. ca



More information about the Oberon mailing list