Project Home
Project Home
Trackers
Trackers
Documents
Documents
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
Forum Topic - invoking phfont gives PfAttachServerDll() error: (11 Items)
   
invoking phfont gives PfAttachServerDll() error  
Hi,

I'm trying to invoke phfont, but when I issue the command I get this message 

PfAttachServerDll(): Invalid argument

Why am I not able to invoke phfont and why is this message displayed?

Thanks in advance,
Lakshminarayanan.R
Re: invoking phfont gives PfAttachServerDll() error  
1. What does sloginfo say?
2. Check that the LD_LIBRARY_PATH contains /lib/dll in it.
3. Do you have io-graphics running? If you do, it probably ran the phfont server already.

Re: invoking phfont gives PfAttachServerDll() error  
1) Ths sloginfo says this:
phfont: init...
phfont: initialized.
phfont: unable to set up resource manager /dev/phfont

2) LD_LIBRARY_PATH has /lib/dll as one of the paths.

3) I just tried ps and I don't find io-graphics running. Is there any other way to check that?
Re: invoking phfont gives PfAttachServerDll() error  
pidin
ls -l /dev/phfont*
Re: invoking phfont gives PfAttachServerDll() error  
1) pidin doesn't show entry for phfont
2) /dev/phfont, /dev/phfont32, /dev/phfont64

Re: invoking phfont gives PfAttachServerDll() error  
In one of the previous emails I referred to io-graphics running phfont(.so):

pidin -P io-graphics mem

will show the phfont.so in it, because the /dev/phfont* entries exist.

Re: invoking phfont gives PfAttachServerDll() error  
You are correct, I could find the DLL phfont.so loaded. 

But, how can I reload it? Just giving phfont doesn't work!
Re: invoking phfont gives PfAttachServerDll() error  
I am not sure why you want to "reload" it. 
Take a look at this doc that contains details about the font system configuration: http://www.qnx.com/developers/docs/6.
4.0/photon/prog_guide/embed.html#configuring_fonts
Re: invoking phfont gives PfAttachServerDll() error  
I have the system up and running and I have to set the anti-aliasing option for fonts now so that I could visualize it. 


If you look at 6.3.2 there used to be an option in the shelf itself as font admin. But, my eyes couldn't catch one in 6.
4.0 for which I'm trying to do that from command line using phfont -A option.
Re: invoking phfont gives PfAttachServerDll() error  
In 6.4.0 the /usr/photon/font_repository/fontopts should have in it:
[io-font]
-A



Re: invoking phfont gives PfAttachServerDll() error  
It works, thanks! 

Any thoughts on why fontadmin is not there in 6.4.0?