Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 07 Oct 1996 17:58:56 -0600
From:      "Mark O'Lear" <Mark.Olear@Colorado.EDU>
To:        Joerg Wunsch <joerg_wunsch@uriah.heep.sax.de>
Cc:        FreeBSD-current users <freebsd-current@FreeBSD.org>, andrew@why.whine.com, flaq@synwork.com, mark@hi-fi.com, Jake Hamby <jehamby@lightside.com>
Subject:   Re: Java,Netscape, & AccelX
Message-ID:  <32599940.74B5@Colorado.EDU>
References:  <199610061349.PAA07672@uriah.heep.sax.de>

next in thread | previous in thread | raw e-mail | index | archive | help
J Wunsch wrote:
> 
> As Jake Hamby wrote:
> 
> > Note: If Java applets fail to display.  Type this as root:
> >                 cd /usr/X11R6/lib/X11/fonts/misc
> >                 /usr/X11R6/bin/mkfontdir
> >                 chmod 444 fonts.dir
> >       And then exit and restart your X server.
> >
> > I tried that, and lo and behold, it worked!  It seems that Netscape needs
> > particular font aliases that for some reason XFree86 didn't define
> > properly.
> 
> mkfontdir doesn't define anything new unless someone has installed new
> fonts before.  In the latter case however, the someone who has been
> installing them is also responsible for running mkfontdir afterwards.
> 
> Aliases are kept in fonts.alias anyway, and are not affected by
> mkfontdir at all.
> 
> All of this is kinda moot for people running font servers.  (You gotta
> reload the fontserver after installing the fonts.)
> 
> --
> cheers, J"org
> 
> joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE
> Never trust an operating system you don't have sources for. ;-)

The file /usr/X11R6/lib/X11/fonts/misc/fonts.dir is definately
messed up in at least one of the XF86312[DEFGS] distributions.
The /usr/X11R6/lib/X11/fonts/misc/fonts.dir file that is messed
up has the following definitions, but no fonts (there may be other
differences, but this is what I noticed):

heb6x13.pcf.Z
-misc-fixed-medium-r-semicondensed--13-120-75-75-c-60-iso8859-8
heb8x13.pcf.Z -misc-fixed-medium-r-normal--13-120-75-75-c-80-iso8859-8
hanglg16.pcf.Z
-daewoo-gothic-medium-r-normal--16-120-100-100-c-160-ksc5601.1987-0
hanglm16.pcf.Z
-daewoo-mincho-medium-r-normal--16-120-100-100-c-160-ksc5601.1987-0
jiskan24.pcf.Z
-jis-fixed-medium-r-normal--24-230-75-75-c-240-jisx0208.1983-0
hanglm24.pcf.Z
-daewoo-mincho-medium-r-normal--24-170-100-100-c-240-ksc5601.1987-0
jiskan16.pcf.Z
-jis-fixed-medium-r-normal--16-150-75-75-c-160-jisx0208.1983-0
k14.pcf.Z
-misc-fixed-medium-r-normal--14-130-75-75-c-140-jisx0208.1983-0
gb16st.pcf.Z -isas-song
ti-medium-r-normal--16-160-72-72-c-160-gb2312.1980-0
gb24st.pcf.Z -isas-song
ti-medium-r-normal--24-240-72-72-c-240-gb2312.1980-0
gb16fs.pcf.Z -isas-fangsong
ti-medium-r-normal--16-160-72-72-c-160-gb2312.1980-0

So if you can find heb6x13.pcf.Z in the file
/usr/X11R6/lib/X11/fonts/misc/fonts.dir, but do not have
the file /usr/X11R6/lib/X11/fonts/misc/heb6x13.pcf.Z, my guess
is that java will not work for you (just a generalization,
I don't actually know which font mapping is the culpret).

My java was "broken" until I did the above mkfontdir sequence.
You don't actually need to restart your X server though, just
type 'xset fp rehash'.
-- 
Mark O'Lear             \    e-mail: Mark.Olear@Colorado.EDU
University of Colorado   \   phone:  (303) 492-3798
Telecomm. Svcs. (CB 313)  \  fax:    (303) 492-5105
Boulder, CO  80309         \



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?32599940.74B5>