| Author |
Message |
|
|
Post subject: Photon and phfont problems
Posted: Mar 16, 2007 - 10:10 AM
|
|
New Member
Joined: Mar 16, 2007
Posts: 3
|
|
Hello,
I need to code a simple script which only run Photon in a CFC.
What libraries and executables I need?
I have an error when I run the script in rc.local:
---------------------
# Inicializacion de aplicaciones
echo Inicializacion de servicios de red
inetd &
echo Depuracion IDE
qconn &
echo Librerias PATH
export HOME=/home
export PHOTON_PATH=/phembed
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/phembed/lib:/lib:/lib/dll/font
export PATH=$PATH:/phembed/bin
echo Starting Photon
##Photon &
##waitfor /dev/photon 10
Photon &
echo Starting Input
devi-hid mouse kbd &
echo Starting Graphics
io-graphics -di810 -v=0x8086 -pphoton hwcursor &
echo Starting Fonts
fontsleuth -d /phembed/font_repository
phfont -d /phembed/font_repository
------------------
I have the followin errors in sloginfo:
----
phfont_init
phfontXX started OK
FatalError
No render engines loade, io-font
Unable to launch Photon Font Server main.
Unable to open font DLL
Process fontsleuth initilized.
----------
Thanks a lot. |
|
|
| |
|
|
|
 |
|
|
Post subject: RE: Photon and phfont problems
Posted: Mar 16, 2007 - 02:12 PM
|
|
QNX Master
Joined: Sep 01, 2002
Posts: 2831
|
|
| There is a section in the manual about embedding photon. |
|
|
| |
|
|
|
 |
|
|
Post subject: RE: Photon and phfont problems
Posted: Apr 17, 2007 - 02:20 AM
|
|
Active Member
Joined: Apr 17, 2007
Posts: 12
|
|
I am guessing this is QNX 6.3.0 or some derivation of it. Here are a few things:
- Don't start Photon or io-graphics with an "&". They whille put themselves in the background when registered so you should not need a waitfor.
- If you run io-graphics before a font manager it will load a dll for the fonts and you don't need phfont, the dll is called phfont.so. This DLL must be in your CS_LIBPATH (use setconf for this).
- Also I would not run fontsleuth, it is usally there so you can drop fonts in on the fly which you probably won't do.
- As far as the libs for the font's go check out the above doc, but I bet it is the phfont.so.
Brian |
|
|
| |
|
|
|
 |
|
|
Post subject:
Posted: Apr 24, 2007 - 06:22 AM
|
|
New Member
Joined: Mar 16, 2007
Posts: 3
|
|
Thank you, the problem was that I have to define my libraries in CS_LIBPATH with setconf like you said.
Thanx.  |
|
|
| |
|
|
|
 |
|
|
Powered by PNphpBB2 © 2003-2007 The PNphpBB Group Credits |
|
|