home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / windows / x / motif / 8859 < prev    next >
Encoding:
Text File  |  1993-01-27  |  1.4 KB  |  38 lines

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