protected override void Apply(TextLayout layout, bool enable, int slice) { var res = layout.SetFontStyle(this.style[slice], new TextRange(ffrom[slice], fto[slice])); layout.SetFontWeight(this.w[slice], new TextRange(ffrom[slice], fto[slice])); layout.SetFontStretch(this.s[slice], new TextRange(ffrom[slice], fto[slice])); }