Index: gr_UnixGraphics.cpp =================================================================== RCS file: /cvsroot/abi/src/af/gr/unix/gr_UnixGraphics.cpp,v retrieving revision 1.116 diff -u -r1.116 gr_UnixGraphics.cpp --- gr_UnixGraphics.cpp 2001/07/23 17:49:28 1.116 +++ gr_UnixGraphics.cpp 2001/07/24 02:18:41 @@ -608,7 +608,7 @@ GlobalFontInfo * gfsi = pSingleByte->getMetricsData()->gfi; UT_ASSERT(gfsi); UT_uint32 ascsingle = (UT_uint32) ( (double) gfsi->fontBBox.ury * (double) hndl->getSize() /1000.); - UT_uint32 ascmulti = (UT_uint32) pMultiByte->get_CJK_Ascent(); + UT_uint32 ascmulti = (UT_uint32) ( (double) pMultiByte->get_CJK_Ascent() * (double) hndl->getSize() /1000.); return MAX(ascsingle,ascmulti); } } @@ -644,7 +644,7 @@ GlobalFontInfo * gfsi = pSingleByte->getMetricsData()->gfi; UT_ASSERT(gfsi); UT_uint32 dsingle = (UT_uint32) ( -(double) gfsi->fontBBox.lly * (double) hndl->getSize() /1000.); - UT_uint32 dmulti = (UT_uint32) pMultiByte->get_CJK_Ascent(); + UT_uint32 dmulti = (UT_uint32) ( (double) pMultiByte->get_CJK_Descent() * (double) hndl->getSize() /1000.); return MAX(dsingle,dmulti); } }