cancel
Showing results for 
Search instead for 
Did you mean: 

font and color issues

Rick Garland
Honored Contributor

font and color issues

Hi all:

Working on converting my workstation from Windoze to Linux and I am almost complete except for a (I believe) a font and color issue.
I am trying to connect to NNM 6.1 on an HPUX 11.00 system from my RH7.0 Below are the errors I get.
==============================
ovw: Xt Warning: Cannot allocate colormap entry for default background.
ovw: Xt Warning: Cannot allocate colormap entry for "#ffa400"
ovw: Xt Warning: Cannot allocate colormap entry for "#ffff92920000"
ovw: Xt Warning: Cannot allocate colormap entry for "#ff8000"
ovw: Xt Warning: Cannot allocate colormap entry for "#aaaa6d6d5555"
ovw: Xt Warning: Cannot allocate colormap entry for "#ff80ff"
ovw: Xt Warning: Cannot allocate colormap entry for "#ffff9292aaaa"
ovw: Xt Warning: Cannot allocate colormap entry for "#ffbf66"
ovw: Xt Warning: Cannot allocate colormap entry for "#55559292ffff"
ovw: Xt Warning: Cannot allocate colormap entry for "#0080ff"
ovw: Xt Warning: Cannot allocate colormap entry for "#fff5e1"
ovw: Xt Warning: Cannot allocate colormap entry for "grey49"
ovw: Xt Warning: Cannot allocate colormap entry for "grey"
ovw: Xt Warning: Missing charsets in String to FontSet conversion
ovw: Xt Warning: Cannot convert string "-*-helvetica-medium-r-*-140-*" to type FontSet
ovw: Xt Warning: Missing charsets in String to FontSet conversion
ovw: Xt Warning: Unable to load any usable fontset
ovw: Xt Warning: Missing charsets in String to FontSet conversion
ovw: Xt Warning: Cannot convert string "-*-helvetica-medium-r-*-120-*" to type FontSet
ovw: Xt Warning: Missing charsets in String to FontSet conversion
ovw: Xt Warning: Unable to load any usable fontset
ovw: Xt Warning: Missing charsets in String to FontSet conversion
ovw: Xt Warning: Cannot convert string "-*-helvetica-medium-r-*-100-*" to type FontSet
ovw: Xt Warning: Missing charsets in String to FontSet conversion
ovw: Xt Warning: Unable to load any usable fontset
ovw: Xt Warning: Missing charsets in String to FontSet conversion
ovw: Xt Warning: Cannot convert string "-*-helvetica-medium-r-*-80-*" to type FontSet
ovw: Xt Warning: Missing charsets in String to FontSet conversion
ovw: Xt Warning: Unable to load any usable fontset
==============================

Any ideas?
Many thanks!

5 REPLIES
Rick Garland
Honored Contributor

Re: font and color issues

Got the font issue resolved with the xset +fp tcp/'HOSTNAME':7000 command.
NNM will now come up. But I still have problems with the colors. Listed below are the errors I get with the color issue.
==============================
ovw: Xt Warning: Cannot allocate colormap entry for default
background.
ovw: Xt Warning: Cannot allocate colormap entry for "#ffa400"
ovw: Xt Warning: Cannot allocate colormap entry for "#ffff92920000"
ovw: Xt Warning: Cannot allocate colormap entry for "#ff8000"
ovw: Xt Warning: Cannot allocate colormap entry for
"#aaaa6d6d5555"
ovw: Xt Warning: Cannot allocate colormap entry for "#ff80ff"
ovw: Xt Warning: Cannot allocate colormap entry for "#ffff9292aaaa"
ovw: Xt Warning: Cannot allocate colormap entry for "#ffbf66"
ovw: Xt Warning: Cannot allocate colormap entry for "#55559292ffff"
ovw: Xt Warning: Cannot allocate colormap entry for "#0080ff"
ovw: Xt Warning: Cannot allocate colormap entry for "#fff5e1"
ovw: Xt Warning: Cannot allocate colormap entry for "grey49"
ovw: Xt Warning: Cannot allocate colormap entry for "grey"

ovw: Cannot allocate 128 colors. Using monochrome images.

Warning: Cannot allocate colormap entry for "#ffff92920000"

Warning: Cannot allocate colormap entry for default background.

Warning: Cannot allocate colormap entry for default background.
=============================


Many thanks
Rick Garland
Honored Contributor

Re: font and color issues

Just to inform. Netscape is not running, I immediately telnet over to the HP system and rum the ovw command.

The PC I am using is the same PC that has both Linux RH7 and W2K installed and under W2K it works fine - show the 128 colors.

Just the Linux goes into monochrome.
Rick Garland
Honored Contributor

Re: font and color issues

An update -
Got the video and font issues resolved, lots of hacking with the XF86Config and XF86Config-4 files. So now I load the HPUX xfs stuff as well. However in the infinite wisdom of HP, the NNM will do all the colors and the OmniBack 4.0 will not - stuck at 256 colors. If I change the Linux color scheme to 256 colors I get the OmniBack 4.0 but the NNM is colorless. Why is HP being inconsistent with its products?
Robert Thorneycroft
Valued Contributor

Re: font and color issues

Sorry for the length of time in replying to your problem, I hope the following information will help.

Resolving the fonts issue:

It appears that HP provide all of the relevant fonts to run HP applications on Linux these can be found at http://www.hprc.external.hp.com/linux/HPFontsForLinux.tar . Login and Password for this site are xgraphic. I found that after installing this package Openview at least worked perfectly and I was able to stop using a HP9000 as a font server.

Resolving the colour issue:

Setting the DefaultColorDepth parameter within XF86Config-4 file to 32 should solve your colour problems as well, assuming your graphics card will run at the resolution you require in 32 bit colour of course :)
Unfortunately this leaves me with an issue on my machine in that glxinfo indicates the direct rendering is only active in 16 bit colour :( So if anyone has any ideas how to get colours displaying properly in 16 bit colour on a Linux box I would be interested to find out.

Kind regards,

Robert Thorneycroft
Robert Thorneycroft
Valued Contributor

Re: font and color issues

Ooops I should really check my own links before I post.

Correction to the above message the site is an ftp site and can be found at:
hprc.external.hp.com
Login: xgraphic
Password: xgraphic
cd /Linux
get HPFontsForLinux.tar

Hope this helps.