From db6df6f4b0cfb3d3422ac546eb6d4a276f4b1995 Mon Sep 17 00:00:00 2001 From: Sergey Luzyanin Date: Mon, 16 Feb 2026 13:34:05 +0300 Subject: [PATCH] [bug] fix bug 80098 --- word/apiCommon.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/word/apiCommon.js b/word/apiCommon.js index 216cd0aee9..b0d0c311e7 100644 --- a/word/apiCommon.js +++ b/word/apiCommon.js @@ -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);