what's /usr/photon/bin/do_font doing?

Hi,

I want to manually install some International Bitstream Font into imbedded
system, I almost copy all the files in language supplement package, but it
is not working, so I do the same thing in QNX 6.0, it is not working too.

I finally watch what is the package_manager doing, I fond it fork a shell to
execute /usr/photon/bin/font_install, after I execute font_install manually
on QNX 6.0, then QNX 6.0 start to recognize the font, but it is not fully
function in my imbedded system. When font_install shell script executes
do_font, I got an error like “no default font_repository fontdir can be
load…”, and I manually execute do_font and pass what it needs, I got same
error, does anyone know what I am missing? or some can explain what is
do_font doing especially on it’s input and output files’ path and spec.

Thanks very much

David

Hello David

do_font is used by the fontsleuth to update some of the font information.
You shouldn’t need to run it in order to get your font reconized.

Here is what you want to do:

  1. On a desktop system, put all the fonts that you want to use on your
    embedded system in to the directory /usr/photon/font_repository.
    ( move all the fonts that you don’t want to some other system.

  2. Now boot your desktop system in to Photon and all the necessary
    configuration should be setup for you.

  3. Copy the font files over to your embedded system as well as the file
    “/etc/system/config/font-traplist”.

This should be all you need to do in order to get the fonts that you want
on to your embedded system.

Thanks
Rodney




david <davidlah@yahoo.com> wrote:

Hi,

I want to manually install some International Bitstream Font into imbedded
system, I almost copy all the files in language supplement package, but it
is not working, so I do the same thing in QNX 6.0, it is not working too.

I finally watch what is the package_manager doing, I fond it fork a shell to
execute /usr/photon/bin/font_install, after I execute font_install manually
on QNX 6.0, then QNX 6.0 start to recognize the font, but it is not fully
function in my imbedded system. When font_install shell script executes
do_font, I got an error like “no default font_repository fontdir can be
load…”, and I manually execute do_font and pass what it needs, I got same
error, does anyone know what I am missing? or some can explain what is
do_font doing especially on it’s input and output files’ path and spec.

Thanks very much

David

OOPS…I really need a copy. For some reason I thought this was a four
step program. Also, the font files that I speak off, is the
/usr/photon/font_repository directory.

Sorry about the misnumbering.

Rodney

Gui Group <gui@qnx.com> wrote:

Hello David

do_font is used by the fontsleuth to update some of the font information.
You shouldn’t need to run it in order to get your font reconized.

Here is what you want to do:

  1. On a desktop system, put all the fonts that you want to use on your
    embedded system in to the directory /usr/photon/font_repository.
    ( move all the fonts that you don’t want to some other system.

  2. Now boot your desktop system in to Photon and all the necessary
    configuration should be setup for you.

  3. Copy the font files over to your embedded system as well as the file
    “/etc/system/config/font-traplist”.

This should be all you need to do in order to get the fonts that you want
on to your embedded system.

Thanks
Rodney



david <> davidlah@yahoo.com> > wrote:
Hi,

I want to manually install some International Bitstream Font into imbedded
system, I almost copy all the files in language supplement package, but it
is not working, so I do the same thing in QNX 6.0, it is not working too.

I finally watch what is the package_manager doing, I fond it fork a shell to
execute /usr/photon/bin/font_install, after I execute font_install manually
on QNX 6.0, then QNX 6.0 start to recognize the font, but it is not fully
function in my imbedded system. When font_install shell script executes
do_font, I got an error like “no default font_repository fontdir can be
load…”, and I manually execute do_font and pass what it needs, I got same
error, does anyone know what I am missing? or some can explain what is
do_font doing especially on it’s input and output files’ path and spec.

Thanks very much

David