From: handa Date: Fri, 17 Aug 2007 04:24:18 +0000 (+0000) Subject: *** empty log message *** X-Git-Url: http://git.chise.org/gitweb/?a=commitdiff_plain;h=5874715dc84df54920e22fc1eaa12fc2253c4207;p=m17n%2Fm17n-test.git *** empty log message *** --- diff --git a/flt.c b/flt.c index d79cfec..1461243 100644 --- a/flt.c +++ b/flt.c @@ -130,8 +130,15 @@ close_font (MFLTFont *font) int flt (MText *mt, int from, int to, MFLTFont *font, char *flt_name) { + MDrawControl control; + + memset (&control, 0, sizeof (MDrawControl)); + control.two_dimensional = 1; + control.enable_bidi = 1; + control.anti_alias = 1; + /*control.disable_caching = 1;*/ mtext_put_prop (mt, from, to, Mfont, font->font); - mdraw_text_extents (frame, mt, from, to, NULL, NULL, NULL, NULL); + mdraw_text_extents (frame, mt, from, to, &control, NULL, NULL, NULL); return 0; }