Commit 24712030 authored by Oleg.Korshul's avatar Oleg.Korshul Committed by Alexander.Trofimov

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@55789 954022d7-b5bf-4e40-9824-e11837661b57
parent 756c17c5
......@@ -2,4 +2,4 @@
cd /D %~dp0
@echo on
call grunt.cmd --no-color
\ No newline at end of file
call grunt.cmd --no-color build_webword
\ No newline at end of file
......@@ -242,6 +242,8 @@ function CFontManager()
this.m_oLibrary = new Object();
this.Initialize = function(){};
};
window["use_native_fonts_only"] = true;
// -------------------------------------------------
// declarate unused methods and objects
......
......@@ -219,9 +219,12 @@ function CFontFileLoader(id)
this.LoadFontNative = function()
{
// all font engine now native
this.Status = 0;
return;
if (window["use_native_fonts_only"] === true)
{
// all font engine now native
this.Status = 0;
return;
}
var __font_data_idx = g_fonts_streams.length;
var _data = window["native"]["GetFontBinary"](this.Id);
......
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