[bug] fix bug 80098

This commit is contained in:
Sergey Luzyanin
2026-02-16 13:34:05 +03:00
parent 3193468fb4
commit db6df6f4b0

View File

@ -3172,7 +3172,7 @@
this.TypeFont = name;
const loader = AscCommon.g_font_loader;
const fontinfo = g_fontApplication.GetFontInfo(name);
const fontinfo = AscFonts.g_fontApplication.GetFontInfo(name);
const _this = this;
const isAsync = loader.LoadFont(fontinfo, function() {
_this.Api.sync_EndAction(Asc.c_oAscAsyncActionType.Information, Asc.c_oAscAsyncAction.LoadFont);