home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.windows.x.motif
- Path: sparky!uunet!europa.eng.gtefsd.com!darwin.sura.net!udel!intercon!psinntp!tfd!afp!gna!lectra.fr!pierre
- From: pierre@lectra.fr (Pierre Ficheux)
- Subject: Re: Japanese characters for XmLabel
- Organization: Lectra Systemes, Cestas, France
- Date: Tue, 26 Jan 1993 09:52:01 GMT
- Message-ID: <1993Jan26.095201@lectra.fr>
- Keywords: Japan, Label, String
- References: <1j413oINN9r2@hal.com>
- Sender: pierre@lectra (Pierre Ficheux)
- Lines: 25
-
- In article <1j413oINN9r2@hal.com>, randolph@hal.COM (Randolph Bertin) writes:
- >
- > How can I display Japanese characters on an XmLabel (PushButton, etc)
- > widget? Ideally, I would like to be able to set up a Japanese version
- > of the resource file containing all of the label strings.
- >
-
- No problem. You just have to put the ascii string corresponding to the
- kanji character 16 bits code ==> example with the k14 font :
-
- *fontList: k14
- *label1*labelString: 0!
-
- It will display the first kanji charactere of the k14 font (code 0x3021 =>
- string 0!).
-
- --
- ._______________________________.__________________________.
- +-------------------------------'--------------------------'|
- | Pierre FICHEUX | tel : +33 56 68 80 00 ||
- | Lectra Systemes | fax : +33 56 78 88 31 ||
- | ZI Marticot 33610 CESTAS | E-mail: pierre@lectra.fr ||
- | FRANCE | ||
- `-------------------------------^--------------------------'
- Comment ? (Beethoven)
-