Message-ID: <3A2FF36B.F412D18A@acm.org> From: Eric Sosman X-Mailer: Mozilla 4.72 [en] (Win95; U) X-Accept-Language: en MIME-Version: 1.0 Newsgroups: comp.os.msdos.djgpp Subject: Re: Problem with GrDrawString References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Lines: 18 Date: Fri, 08 Dec 2000 01:30:04 GMT NNTP-Posting-Host: 12.78.199.209 X-Complaints-To: abuse AT worldnet DOT att DOT net X-Trace: bgtnsc07-news.ops.worldnet.att.net 976239004 12.78.199.209 (Fri, 08 Dec 2000 01:30:04 GMT) NNTP-Posting-Date: Fri, 08 Dec 2000 01:30:04 GMT Organization: AT&T Worldnet To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Finlay Scott wrote: > > Hi, > I am using grx and have a small problem when writing text to the screen > using GrDrawString. For some reason it does not write the full text string > but, weirdly, every other letter. > > Does anyone have any suggestions as to why this might be? (or more to the > point, how do I solve it?) Thanks. What value have you set in the txo_chrtype field of your GrTextOption structure? It sounds as though you might be using GR_WORD_TEXT or GR_ATTR_TEXT, whereas what you probably want is GR_BYTE_TEXT. -- Eric Sosman esosman AT acm DOT org