Chinese fonts

I’m trying to view chinese fonts on an embedded system now.
/usr/photon/dict, the font configuration file in /etc/system/trap & the
contents of /usr/photon/font_repository have already been copied over but
I’m still unable to view chinese on the browser. Is there any environment
variables that I have to set or simply phfontFA can’t support viewing of
chinese fonts?(phfontFA is the only font server that I started in Photon)

WeN <xiaowen@axs.com.sg> wrote:

I’m trying to view chinese fonts on an embedded system now.
/usr/photon/dict, the font configuration file in /etc/system/trap & the
contents of /usr/photon/font_repository have already been copied over but
I’m still unable to view chinese on the browser. Is there any environment
variables that I have to set or simply phfontFA can’t support viewing of
chinese fonts?(phfontFA is the only font server that I started in Photon)

Do you have the /etc/system/config/font-traplist ?

If you copied your font_repository, it should work.

For Oriental support to function, you need:

/usr/photon/font_repository(*.ffs)
/usr/photon/font_repository/fontorient
/etc/system/config/font-traplist

If you are using your own Chinese font, ensure a substring of
the foundry name is located in fontorient. For example, if your
font is identified as “Big BobTC”, you could place the substring
“BobTC” in fontorient, so the font system will identify it as
a Oriental font.

Thank You.

<dleach@node318.org> wrote in message news:9068ag$mv5$1@inn.qnx.com

WeN <> xiaowen@axs.com.sg> > wrote:
I’m trying to view chinese fonts on an embedded system now.
/usr/photon/dict, the font configuration file in /etc/system/trap & the
contents of /usr/photon/font_repository have already been copied over
but
I’m still unable to view chinese on the browser. Is there any
environment
variables that I have to set or simply phfontFA can’t support viewing of
chinese fonts?(phfontFA is the only font server that I started in
Photon)

Do you have the /etc/system/config/font-traplist ?

No, I don’t even have a /etc/system/config folder… hee… but I have
another fontcfg-something file in /etc/system/trap.

If you copied your font_repository, it should work.

For Oriental support to function, you need:

/usr/photon/font_repository(*.ffs)
/usr/photon/font_repository/fontorient
/etc/system/config/font-traplist

It’s only the font-traplist file I’m missing then. I’ll try to find it
out… Thanx a lot!

If you are using your own Chinese font, ensure a substring of
the foundry name is located in fontorient. For example, if your
font is identified as “Big BobTC”, you could place the substring
“BobTC” in fontorient, so the font system will identify it as
a Oriental font.

Thank You.