SUMMARY:lost text with netscape and arcview apps

From: Thomas Walter (tbw@katahdin.hunter.cuny.edu)
Date: Wed Mar 18 1998 - 16:05:29 CST


I JUST READ THE MAIL/SUMMARY ABOUT QUESTION ASKERS WHO DON'T SUMMARIZE.
LET ME BE THE FIRST TO RECOGNIZE MYSELF AND REMEDY THE SITUATION......

ORIGINAL QUESTION:
>
> Dear Sunmanagers,
>
> I have a bunch of Sun SPARC 5's and Ultra's running Solaris 2.6. In the
> past two days I have had users tell me that when using netscape version
> 301 or 404, sometimes all text shows up as lines. I've had two reports of
> this happening with ArcView, a GIS we use.
>
> I have not been able to reproduce this although I have logged onto
> several machines as different users.
>
> Any thoughts as to the problem and/or solution?
>
> TIA
>
> Thomas Walter
> Director
> Spatial Analysis and Remote Sensing (SPARS) Laboratory
> Geography Department
> Hunter College of the City University of New York
> 695 Park Avenue
> New York, NY 10021
>
> (212)772-5457 Office
> (212)772-5268 Fax
> tbwalter@everest.hunter.cuny.edu
>
>
>
RESPONSES/SOLUTION

This is a known problem with Solaris 2.6 and some fonts. It
is also a known problem with netscape.

One solution sent by a reader did not work for me. He it is;

1. I used /usr/dt/bin/sdtfontadm as root. From that, I re-installed the
        "Type-1" fonts from the /usr/openwin/lib/fonts/Type1 directory. One of the
        menus allow you to install fonts...
                 
         If that doesn't fix the problem, procede to:
                  
2. Then I added these lines:
                        
                        xset +fp /usr/openwin/lib/X11/fonts/75dpi/
                        xset fp rehash
                                         
 In both .dtprofile and .xinitrc so I can login from Openwin and CDE.

I OPENED A CALL WITH SUN AND WAS TOLD TO DO THE FOLLOWING. IT DID NOT HELP.

m the pkginfo output you sent me, the fonts should have been loaded. The fix
I gave you over the phone,
 
 1. Edit the file /usr/openwin/lib/X11/fonts/Type1/fonts.dir and
                change the line
                 
                                FROM:
                                 
                                        Times-Roman.pfa -adobe-times-roman-r-normal--0-0-0-0-p-0-iso8859-1
                                                 
                                TO:
                                                                 
                                        Times-Roman.pfa -adobe-times-medium-r-normal--0-0-0-0-p-0-iso8859-1
                                                                                 
                                 NOTE: also make a similar change in fonts.scale file.
                                                                                  
  2. Kill and restart the X-Server in any convenient manner.
                                                                                        
                        tends to fix the font problems most of the time. Note that netscape has an open
                        bug 92843 (Netscape's number, not Sun's) that has to do with Netscape rendering
                        Adobe fonts.
                                                                 
                         You also might check the order of application start, ie: can arcview be started
                         prior to Netscape to see if Netscape is "chewing" on the fonts in the server.
                                                                                          
                  The Bug Id: 4108134 seems to be relevant to you instead of Bug Id: 4060341,
                  which is where I "borrowed" the above fix from. Note that from 4108134 the
                  workaround is to load the fonts you need prior to starting up any applications,
                                                                                                
                        xfd -fn utopia-bold (to load the utopia-bold font)
                                                                                                 
                 which can be a pain for apps that use a large number of fonts.

SO.... WHAT TO DO...... HAVE USERS CHANGE THEIR DEFAULT FONT IN NETSCAPE AND/OR
CHANGE DEFAULT FONT IN OPENWIN USING PROPERTIES.



This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:12:33 CDT