X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=src%2Fbitmap%2Ffontink.c;h=f4898da10c68fbf6b225ec0f5ff49bf2aa18b70a;hb=3e1969f2133dfd2fac68f01b2b2aa460d86174d7;hp=ad7091fa6b7a5662663baa3bb1e811feb703ad5e;hpb=45d55832022c5ce693e99f8de99480ab968e5ff0;p=framework%2Fuifw%2Fxorg%2Flib%2Flibxfont.git diff --git a/src/bitmap/fontink.c b/src/bitmap/fontink.c old mode 100755 new mode 100644 index ad7091f..f4898da --- a/src/bitmap/fontink.c +++ b/src/bitmap/fontink.c @@ -98,7 +98,7 @@ FontCharInkMetrics(FontPtr pFont, CharInfoPtr pCI, xCharInfo *pInk) found_ascent: pInk->ascent = vpos - descent + 1; - p = ((unsigned char *) pCI->bits) + bitmapByteWidthPadded * + p = ((unsigned char *) pCI->bits) + bitmapByteWidthPadded * (descent + ascent - 1) + bitmapByteWidth; for (vpos = descent + ascent; --vpos >= 0;) {