Displaying Japanese characters

I am having trouble getting Japanese characters to display. All I get are
boxes in place of the chars. I checked the encoding and it has the proper
UTF-8 encoding. The strings are read in from a translated file in wchar_t
strings, converted to UTF-8 strings, and applied to widget resources. I can
correctly display German and English traslations of these strings, but not
Japanese. All of my configuration files seem correct as far as I can tell
from the documentation. I am using a true type font (Prima Sans BTS). Does
anyone have experience displaying Asian characters, or a working set of
configuration files that might help me out. I have been in contact with QNX
support, and even received a set of supposedly working configuratuion files,
but no change in the result.

Thanks,
Brian Curran

I am having trouble getting Japanese characters to display. All I get are

Have you installed the font itself?

Multibyte fonts are BIG so they aren’t installed by default.

kabe

Sorry, I originally just replyed to kabe instead of the group. Here is my
reply.

I have not. I thought that this happened when the application started by the
font server (phfontFF). Doesn’t the fact that the English and German
characters display correctly say that the font is installed? I saw that
there is an option to load the fonts when the font server starts, but I
thought this was just for speed when launching applications.



Brian


<kabe@sra-tohoku.co.jp> wrote in message
news:194415200306.400731@sra-tohoku.co.jp.msgid

I am having trouble getting Japanese characters to display. All I get
are

Have you installed the font itself?

Multibyte fonts are BIG so they aren’t installed by default.

kabe

BDC <bcurran@tainst.com> wrote:

Sorry, I originally just replyed to kabe instead of the group. Here is my
reply.

I have not. I thought that this happened when the application started by the
font server (phfontFF). Doesn’t the fact that the English and German
characters display correctly say that the font is installed? I saw that
there is an option to load the fonts when the font server starts, but I
thought this was just for speed when launching applications.



Brian

German and English are in the base font set. You need to install the
Japanese supplement in order to get Japanese symbols.

Oh, wait. Are you saying that the English and German from your Japanese
font is being displayed? If so, you may need to add a keyword in the fontorient
file, or run fontadmin, and go to the Asian Identification tab. So, if your
Japanese font was named “BigBobJapan McT”, you could add “BobJap”, or “BigBobJapan” as
a keyword. I am assuming you are using rtp 6.x …

Regards.


kabe@sra-tohoku.co.jp> > wrote in message
news:> 194415200306.400731@sra-tohoku.co.jp.msgid> …
I am having trouble getting Japanese characters to display. All I get
are

Have you installed the font itself?

Multibyte fonts are BIG so they aren’t installed by default.

kabe

QNX support finally pointer me to the answer. I was missing the
/etc/system/config/font-traplist file. Here is an excerpt from the QNX
support response.
“Do you have an /etc/system/config/font-traplist file? I talked to the guy
who develops out fonts here and he says that English and Latin ( which is
what the
german fonts use ) do not need to have there extensions published, but
Japanese does. This sounds like the nature of your problem.”

Thanks for all who responded.

Brian Curran


“Derek Leach” <dleach@node318.ott.qnx.com> wrote in message
news:bf3m92$nm5$1@inn.qnx.com

BDC <> bcurran@tainst.com> > wrote:
Sorry, I originally just replyed to kabe instead of the group. Here is
my
reply.

I have not. I thought that this happened when the application started by
the
font server (phfontFF). Doesn’t the fact that the English and German
characters display correctly say that the font is installed? I saw that
there is an option to load the fonts when the font server starts, but I
thought this was just for speed when launching applications.



Brian

German and English are in the base font set. You need to install the
Japanese supplement in order to get Japanese symbols.

Oh, wait. Are you saying that the English and German from your Japanese
font is being displayed? If so, you may need to add a keyword in the
fontorient
file, or run fontadmin, and go to the Asian Identification tab. So, if
your
Japanese font was named “BigBobJapan McT”, you could add “BobJap”, or
“BigBobJapan” as
a keyword. I am assuming you are using rtp 6.x …

Regards.


kabe@sra-tohoku.co.jp> > wrote in message
news:> 194415200306.400731@sra-tohoku.co.jp.msgid> …
I am having trouble getting Japanese characters to display. All I
get
are

Have you installed the font itself?

Multibyte fonts are BIG so they aren’t installed by default.

kabe

BDC <bcurran@tainst.com> wrote:

QNX support finally pointer me to the answer. I was missing the
/etc/system/config/font-traplist file. Here is an excerpt from the QNX
support response.
“Do you have an /etc/system/config/font-traplist file? I talked to the guy
who develops out fonts here and he says that English and Latin ( which is
what the
german fonts use ) do not need to have there extensions published, but
Japanese does. This sounds like the nature of your problem.”

Thanks for all who responded.

Brian Curran

Cool, glad you got it working.

Regards.


“Derek Leach” <> dleach@node318.ott.qnx.com> > wrote in message
news:bf3m92$nm5$> 1@inn.qnx.com> …
BDC <> bcurran@tainst.com> > wrote:
Sorry, I originally just replyed to kabe instead of the group. Here is
my
reply.

I have not. I thought that this happened when the application started by
the
font server (phfontFF). Doesn’t the fact that the English and German
characters display correctly say that the font is installed? I saw that
there is an option to load the fonts when the font server starts, but I
thought this was just for speed when launching applications.



Brian

German and English are in the base font set. You need to install the
Japanese supplement in order to get Japanese symbols.

Oh, wait. Are you saying that the English and German from your Japanese
font is being displayed? If so, you may need to add a keyword in the
fontorient
file, or run fontadmin, and go to the Asian Identification tab. So, if
your
Japanese font was named “BigBobJapan McT”, you could add “BobJap”, or
“BigBobJapan” as
a keyword. I am assuming you are using rtp 6.x …

Regards.


kabe@sra-tohoku.co.jp> > wrote in message
news:> 194415200306.400731@sra-tohoku.co.jp.msgid> …
I am having trouble getting Japanese characters to display. All I
get
are

Have you installed the font itself?

Multibyte fonts are BIG so they aren’t installed by default.

kabe