Update of /cvsroot/q-lang/q/modules/ggi
In directory sc8-pr-cvs1:/tmp/cvs-serv22675
Modified Files:
ggi.c
Log Message:
bug fix in bbox calculation
Index: ggi.c
===================================================================
RCS file: /cvsroot/q-lang/q/modules/ggi/ggi.c,v
retrieving revision 1.7
retrieving revision 1.8
diff -C2 -d -r1.7 -r1.8
*** ggi.c 20 Dec 2003 17:25:45 -0000 1.7
--- ggi.c 20 Dec 2003 17:34:36 -0000 1.8
***************
*** 1540,1547 ****
error = FT_Get_Glyph(face->glyph, &glyph->image);
if (error) continue;
- if (!previous) {
- pen_x -= face->glyph->metrics.horiBearingX;
- glyph->pos.x = pen_x;
- }
FT_Glyph_Transform(glyph->image, 0, &glyph->pos);
pen_x += face->glyph->advance.x;
--- 1540,1543 ----
|