From owner-freebsd-current Mon Oct 7 16:59:23 1996 Return-Path: owner-current Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id QAA10746 for current-outgoing; Mon, 7 Oct 1996 16:59:23 -0700 (PDT) Received: from jack.colorado.edu (jack.Colorado.EDU [128.138.149.29]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id QAA10713 for ; Mon, 7 Oct 1996 16:59:16 -0700 (PDT) Received: from jack (localhost [127.0.0.1]) by jack.colorado.edu (8.7.6/8.7.3/CNS-4.0p) with SMTP id RAA20550; Mon, 7 Oct 1996 17:58:56 -0600 (MDT) Message-ID: <32599940.74B5@Colorado.EDU> Date: Mon, 07 Oct 1996 17:58:56 -0600 From: "Mark O'Lear" Organization: University of Colorado X-Mailer: Mozilla 3.0Gold (X11; I; SunOS 5.4 sun4m) MIME-Version: 1.0 To: Joerg Wunsch CC: FreeBSD-current users , andrew@why.whine.com, flaq@synwork.com, mark@hi-fi.com, Jake Hamby Subject: Re: Java,Netscape, & AccelX References: <199610061349.PAA07672@uriah.heep.sax.de> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-current@FreeBSD.org X-Loop: FreeBSD.org Precedence: bulk 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 \