From 5874715dc84df54920e22fc1eaa12fc2253c4207 Mon Sep 17 00:00:00 2001 From: handa Date: Fri, 17 Aug 2007 04:24:18 +0000 Subject: [PATCH] *** empty log message *** --- flt.c | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) 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; } -- 1.7.10.4