An easy workaround for this on Solaris is to create a file in Xsession.d which removes that font from the font path. For example:

cat /usr/dt/config/Xsession.d/0200.fontpath
#!/bin/ksh
/usr/openwin/bin/xset -fp /usr/X11/lib/X11/fonts/Type1/sun/
/usr/openwin/bin/xset fp+ /usr/X11/lib/X11/fonts/Type1/sun/

In this case, I add the fontpath back in at the end just in case I have users running Xsun and incase they might need some font from that directory.

I only tried this on a cmdtool that I happened to have lying around from S8 testing, but have not tried it with other OpenLook apps. (The background color of the cmdtool is still bright magenta, though...)


                                jeremy
                                Solaris Desktop Sustaining
                                Sun Microsystems

On 02/07/09 15:44, Sean Walmsley wrote:
We've installed SRSS 4.1 on a test machine and have been having
display problems with older Openlook applications. For example,
if we open up a 4.1 Sunray session, ssh into a Solaris 8 box
and launch a command tool (cmdtool) it is completely unusable
as it displays only gibberish characters.

The problem appears to be related to the Xnewt font path which
defaults to:

/usr/X11/lib/X11/fonts/TrueType/,/usr/X11/lib/X11/fonts/Type1/,/usr/X11/lib/X11/
fonts/F3bitmaps/,/usr/X11/lib/X11/fonts/misc/,/usr/X11/lib/X11/fonts/75dpi/,/usr
/X11/lib/X11/fonts/100dpi/

If we modify this by removing the ".../Type1/sun" directories and
swapping the order of the 75 and 100 dpi fonts then our Openlook apps
display properly:

/usr/X11/lib/X11/fonts/TrueType/,/usr/X11/lib/X11/fonts/Type1/,/usr/X11/lib/X11/
fonts/F3bitmaps/,/usr/X11/lib/X11/fonts/misc/,/usr/X11/lib/X11/fonts/75dpi/,/usr
/X11/lib/X11/fonts/100dpi/

Speculating, we're thinking that the Type1/sun fonts may be Postscript
fonts which the Xnewt server doesn't understand due to the lack of
display Postscript capability.

We did try using the XSun server rather than Xnewt, but this caused
other issues with the Sun keyboard "Back/Front" and "Copy/Paste"
keys not working properly.

We realize that Openlook has been deprecated in Solaris 10, but
Sun has always prided itself on maintaining backwards compatibility.
Until we get rid of all of our Solaris 8 machines this is a show
stopper for us.

Has anyone else run into font related issues with SRSS 4.1? How would
one specify a font path for Xnewt, and would this be a good idea?

Thanks for any assistance you can provide.

=================================================================
Sean Walmsley        sean at fpp . nuclearsafetysolutions dot com


_______________________________________________
SunRay-Users mailing list
[email protected]
http://www.filibeto.org/mailman/listinfo/sunray-users
_______________________________________________
SunRay-Users mailing list
[email protected]
http://www.filibeto.org/mailman/listinfo/sunray-users

Reply via email to