LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   fonts problem (https://www.linuxquestions.org/questions/linux-newbie-8/fonts-problem-587923/)

binary_0011 09-28-2007 02:11 AM

fonts problem
 
Hi, I have this problem when i run an application. If i managed to get the fonts, where should i copy it? See below for errors, thanks.

$ opc &
[1] 20661
$ [W: X Toolkit Warning: Missing charsets in String to FontSet conversion]
[W: X Toolkit Warning: Cannot convert string "-dt-interface user-medium-r-normal-m*-*-*-*-*-*-*-*-*" to type FontSet]
[W: X Toolkit Warning: Missing charsets in String to FontSet conversion]
[W: X Toolkit Warning: Cannot convert string "-dt-interface system-medium-r-normal-m sans-*-*-*-*-*-*-*" to type FontSet]
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

binary_0011 10-01-2007 04:05 AM

can someone provide a step by step guide on how to solve this problem?

Thanks.

matthewg42 10-01-2007 04:58 AM

What is opc?

binary_0011 10-01-2007 09:25 AM

Quote:

Originally Posted by matthewg42 (Post 2909151)
What is opc?

HP openview

matthewg42 10-01-2007 10:52 AM

Quote:

Originally Posted by binary_0011 (Post 2909344)
HP openview

Is it running on HP-UX?

binary_0011 10-02-2007 11:59 AM

Quote:

Originally Posted by matthewg42 (Post 2909428)
Is it running on HP-UX?

yes, it is , but i was using a RHEL and ssh into that hpux.

matthewg42 10-02-2007 04:29 PM

If I understand correctly, you log in locally to a RHEL machine, and then ssh to the HPUX host and run the program, which is displayed on your RHEL display.

If this is the case, it's not a problem on the RHEL machine - that is just acting as a display for the software, which is actually running on the HPUX machine. If this is correct, I think you would get the same error if you were connecting using an XServer running on Windows (e.g. Exceed) or anything else.

I've used HP-UX, but never administrated it, and I have never used HP Openview. Maybe some people here have experience with this problem but I would recommend seeking support from HP directly if you have a support contract.

binary_0011 10-02-2007 11:32 PM

Quote:

Originally Posted by matthewg42 (Post 2910988)
If I understand correctly, you log in locally to a RHEL machine, and then ssh to the HPUX host and run the program, which is displayed on your RHEL display.

If this is the case, it's not a problem on the RHEL machine - that is just acting as a display for the software, which is actually running on the HPUX machine. If this is correct, I think you would get the same error if you were connecting using an XServer running on Windows (e.g. Exceed) or anything else.

I've used HP-UX, but never administrated it, and I have never used HP Openview. Maybe some people here have experience with this problem but I would recommend seeking support from HP directly if you have a support contract.

If I use ReflectionX on windows , I don't have that display problem :-) .

Anyway, there are lot of fonts directory in my Linux, I dont know which one to copy to , i dont mind trying.

matthewg42 10-03-2007 04:45 AM

Quote:

Originally Posted by binary_0011 (Post 2911322)
If I use ReflectionX on windows , I don't have that display problem :-) .

Anyway, there are lot of fonts directory in my Linux, I dont know which one to copy to , i dont mind trying.

If it's just a matter of missing fonts (I didn't recognise that from the initial error message, but google suggests it is), then you might be able to use a font server. X servers can be configured to take fonts from a remote machine - a font server.

Of course this solution relies on there being a font server which you can use, and which has the required fonts available. Hopefully the remote machine which you are using does this (it is fairly common - I've done this myself in the past and was pleasantly surprised to find a big ugly Solaris machine happily serving fonts to those tried, in spite of the fact that it was not usual for clients to be configured to use it).

You should configure your local XServer to include the tcp/machine.address.com:xxxx in the fontpath. Where xxxx is the port to connect to, and is typically 7100.


This goes in the Files section as a Fontpath item (in addition to the pre-existing stuff), i.e.

Code:

Section "Files"
  Fontpath "tcp/machine.address.com:7100"
  ...
EndSection

If you're starting your Xserver from the command line, you can pass the -fp parameter to add to the Fontpath.

Another option is to try to install the required fonts. I would first check in your distros package manager to see if there are any font packs which are in the repos but not presently installed, and install those... this will be a lot less hassle than trying to install them manually.

edit:
Oh, one more thing... If you modify your XServer's configuration, you will need to re-start X for the changes to take effect.

binary_0011 10-03-2007 08:00 AM

Hi,

It is working already. I made a lot of changes, mostly like copying of fonts. I don't even know which solutions actually solve the problem.

So, if I am going to format my RHEL, i will not know which method actually help, i did a lot of search on the internet and just follow . :P

I didn't use your method but nevertheless, thanks for your helps, I really appreciate it.

:-)


All times are GMT -5. The time now is 12:29 AM.