Re: [Pgui-devel] A small bug in pgstr_utf8_seek

2004-04-28 Thread Raghu Ram Murthy
> > textbox widget doesn't have PG_WP_FONT property. I > > added this and tried with some UTF-8 characters. I > > found a small bug in pgstr_utf8_seek function in > > gcore/pgstring.c file. > > How did you implement PG_WP_FONT? The textbox was > designed with formatted text in mind, so a single >

Re: [Pgui-devel] A small bug in pgstr_utf8_seek

2004-04-28 Thread Micah Dowty
On Wed, Apr 28, 2004 at 10:16:21AM -0700, Raghu Ram Murthy wrote: > Hi all, > > textbox widget doesn't have PG_WP_FONT property. I > added this and tried with some UTF-8 characters. I > found a small bug in pgstr_utf8_seek function in > gcore/pgstring.c file. How did you implement PG_WP_FONT? The

[Pgui-devel] A small bug in pgstr_utf8_seek

2004-04-28 Thread Raghu Ram Murthy
Hi all, textbox widget doesn't have PG_WP_FONT property. I added this and tried with some UTF-8 characters. I found a small bug in pgstr_utf8_seek function in gcore/pgstring.c file. In the follwing block of code, in the else part, str->num_bytes should be there, rather than str->num_chars, becuas