On Tue, Sep 17, 2013 at 10:54:22AM -0400, Dan Espen wrote:
D> > D> Do "list".
D> > D> Print fws, *fws, comb_chars, i.
D> >
D> > (gdb) list
D> > 1978 while(comb_chars[i].c.byte1 != 0 &&
comb_chars[i].c.byte2 != 0)
D> > 1979 {
D> > 1980 /* draw composing character on top of
corresponding
D> > 1981 "real" character */
D> > 1982 FlocaleWinString tmp_fws = *fws;
D> > 1983 int offset =
pixel_pos[comb_chars[i].position];
D> > 1984 char *buf2;
D> > 1985 int out_len;
D> > 1986 curr_len =
FlocaleChar2bOneCharToUtf8(comb_chars[i].c,
D> > 1987 buf);
D> > Current language: auto; currently minimal
D> > (gdb) p fws
D> > $1 = (FlocaleWinString *) 0x80482aec0
D> > (gdb) p *fws
D> > $2 = {str = 0x804a0f230 "Shells", e_str = 0x804a37850 "Shells", str2b =
0x0,
D> > gc = 0x80482f840, colorset = 0x804a13410, win = 18874669, x = 3, y = 33,
D> > len = 0, clip_region = 0x0, flags = {text_rotation = 0, has_colorset =
1,
D> > has_clip_region = 0}}
D> > (gdb) p comb_chars
D> > $3 = (superimpose_char_t *) 0x804a37850
D> > (gdb) p i
D> > $4 = 0
D> > (gdb)
D>
D> p pixel_pos
D> p *comb_chars
D> p char_len
(gdb) p pixel_pos
$1 = (int *) 0x804a48420
(gdb) p *comb_chars
$2 = {position = 1818585171, c = {byte1 = 108 'l', byte2 = 115 's'}}
(gdb) p char_len
$3 = 6
--
Totus tuus, Glebius.