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