Commit 44d140be authored by Alexey.Golubev's avatar Alexey.Golubev Committed by Alexander.Trofimov

Используем js-шрифты, если работаем в десктопном приложении.

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@47997 954022d7-b5bf-4e40-9824-e11837661b57
parent 64d2676c
......@@ -62,7 +62,11 @@ function CFontFileLoader(id)
this.LoadFontAsync = function(basePath, _callback)
{
if (ASC_DOCS_API_USE_FONTS_ORIGINAL_FORMAT && this.CanUseOriginalFormat && bIsSupportOriginalFormatFonts)
if (ASC_DOCS_API_USE_FONTS_ORIGINAL_FORMAT && // проставляется в true на этапе сборки
this.CanUseOriginalFormat && // false if load embedded fonts
bIsSupportOriginalFormatFonts && // false if work on ie9
!window["qtDocBrige"] && // document editor desktop version
!window["scriptBrige"]) // table editor desktop version
{
this.LoadFontAsync2(basePath, _callback);
return;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment