Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sdd.hp.com!hp-pcd!hpcvlx!whitty From: whitty@hpcvlx.cv.hp.com (Joe Whitty) Newsgroups: comp.windows.x.motif Subject: Re: Trouble using Motif's XmText widget with k14 Kanji Font Message-ID: <110630015@hpcvlx.cv.hp.com> Date: 16 Oct 90 20:17:27 GMT References: <1431@quintus.UUCP> Organization: Hewlett-Packard Co., Corvallis, OR, USA Lines: 27 > / hpcvlx:comp.windows.x.motif / dimitar@quintus.UUCP (Dimitar Bojantchev) / 4:14 pm Oct 5, 1990 / > > I am unable to display text in the XmText widget if I set the font to > k14, (two byte, Japanese font). Looking through the sources of the > text widget it seems that it should handle 16 bit characters, at least > there is code to invoke XDrawImageString16 to draw the text. It seems > that I am setting the right character codes because it works for me if > I invoke XDrawImageString16 directly. What am I doing wrong then? > > I am using Motif1.0 and Motif1.1 on SUN4/110. Sorry, you'll have to wait until Motif 1.2 to get 16-bit support. There is no way to get the code the execute the XDrawImageString16() call in Motif 1.0 or Motif 1.1. > Thanks, > > Dimitar > -- > Dimitar Bojantchev ARPANET: quintus!dimitar@SUN.COM > Quintus Computer Systems, Inc. ...sun!quintus!dimitar > 1310 Villa Street tel. (415) 965-7700 Ext. 314 (work) > Mountain View, CA 94041 (415) 964-4361 (home) ---------- Joe Whitty