From: handa Date: Fri, 15 Jan 2010 12:15:41 +0000 (+0000) Subject: (run_flt): Set mflt_try_otf to rfont->driver->try_otf. X-Git-Tag: merge-to-XML~11 X-Git-Url: http://git.chise.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0a77713e8fd62b29e23676ec4d9d02644dc6ba41;p=m17n%2Fm17n-lib.git (run_flt): Set mflt_try_otf to rfont->driver->try_otf. (mdraw__init): Set mflt_enable_new_feature to 1. --- diff --git a/src/draw.c b/src/draw.c index 83c1e22..7fdb90c 100644 --- a/src/draw.c +++ b/src/draw.c @@ -274,6 +274,7 @@ run_flt (MGlyphString *gstring, int from, int to, MRealizedFace *rface) font.rfont = rfont; mflt_font_id = font_id; mflt_iterate_otf_feature = rfont->driver->iterate_otf_feature; + mflt_try_otf = rfont->driver->try_otf; for (i = 0; i < 3; i++) { to = mflt_run (&flt_gstr, from, to, &font.font, flt); @@ -1759,6 +1760,8 @@ mdraw__init () M_kinsoku_bol = msymbol ("kb"); M_kinsoku_eol = msymbol ("ke"); + mflt_enable_new_feature = 1; + return 0; }