Commit e8459f65 authored by Alexander.Trofimov's avatar Alexander.Trofimov

delete asc_SetFontsPath

route fonts by path "fonts/"
parent b799114d
...@@ -3310,7 +3310,6 @@ var editor; ...@@ -3310,7 +3310,6 @@ var editor;
prot = spreadsheet_api.prototype; prot = spreadsheet_api.prototype;
prot["asc_GetFontThumbnailsPath"] = prot.asc_GetFontThumbnailsPath; prot["asc_GetFontThumbnailsPath"] = prot.asc_GetFontThumbnailsPath;
prot["asc_SetFontsPath"] = prot.asc_SetFontsPath;
prot["asc_setDocInfo"] = prot.asc_setDocInfo; prot["asc_setDocInfo"] = prot.asc_setDocInfo;
prot["asc_getLocaleExample"] = prot.asc_getLocaleExample; prot["asc_getLocaleExample"] = prot.asc_getLocaleExample;
prot["asc_getLocaleCurrency"] = prot.asc_getLocaleCurrency; prot["asc_getLocaleCurrency"] = prot.asc_getLocaleCurrency;
......
...@@ -128,7 +128,7 @@ ...@@ -128,7 +128,7 @@
this.fonts_streams = []; this.fonts_streams = [];
// теперь вся информация о всех возможных шрифтах. Они во всех редакторах должны быть одни и те же // теперь вся информация о всех возможных шрифтах. Они во всех редакторах должны быть одни и те же
this.fontFilesPath = ""; this.fontFilesPath = "/fonts/";
this.fontFiles = AscFonts.g_font_files; this.fontFiles = AscFonts.g_font_files;
this.fontInfos = AscFonts.g_font_infos; this.fontInfos = AscFonts.g_font_infos;
this.map_font_index = AscFonts.g_map_font_index; this.map_font_index = AscFonts.g_map_font_index;
......
...@@ -190,9 +190,6 @@ baseEditorsApi.prototype.asc_setDocInfo = function(oDocInfo) { ...@@ -190,9 +190,6 @@ baseEditorsApi.prototype.asc_setDocInfo = function(oDocInfo) {
window["AscDesktopEditor"]["SetDocumentName"](this.documentTitle); window["AscDesktopEditor"]["SetDocumentName"](this.documentTitle);
} }
}; };
baseEditorsApi.prototype.asc_SetFontsPath = function(path) {
this.FontLoader.fontFilesPath = path;
};
baseEditorsApi.prototype.asc_enableKeyEvents = function(isEnabled) { baseEditorsApi.prototype.asc_enableKeyEvents = function(isEnabled) {
}; };
// Copy/Past/Cut // Copy/Past/Cut
......
...@@ -5076,7 +5076,6 @@ asc_docs_api.prototype['asc_getEditorPermissions'] = asc_docs_api.prototype.asc_ ...@@ -5076,7 +5076,6 @@ asc_docs_api.prototype['asc_getEditorPermissions'] = asc_docs_api.prototype.asc_
asc_docs_api.prototype['asc_setDocInfo'] = asc_docs_api.prototype.asc_setDocInfo; asc_docs_api.prototype['asc_setDocInfo'] = asc_docs_api.prototype.asc_setDocInfo;
asc_docs_api.prototype['asc_setLocale'] = asc_docs_api.prototype.asc_setLocale; asc_docs_api.prototype['asc_setLocale'] = asc_docs_api.prototype.asc_setLocale;
asc_docs_api.prototype['asc_LoadDocument'] = asc_docs_api.prototype.asc_LoadDocument; asc_docs_api.prototype['asc_LoadDocument'] = asc_docs_api.prototype.asc_LoadDocument;
asc_docs_api.prototype['asc_SetFontsPath'] = asc_docs_api.prototype.asc_SetFontsPath;
asc_docs_api.prototype['SetThemesPath'] = asc_docs_api.prototype.SetThemesPath; asc_docs_api.prototype['SetThemesPath'] = asc_docs_api.prototype.SetThemesPath;
asc_docs_api.prototype['CreateCSS'] = asc_docs_api.prototype.CreateCSS; asc_docs_api.prototype['CreateCSS'] = asc_docs_api.prototype.CreateCSS;
asc_docs_api.prototype['CreateComponents'] = asc_docs_api.prototype.CreateComponents; asc_docs_api.prototype['CreateComponents'] = asc_docs_api.prototype.CreateComponents;
......
...@@ -7574,7 +7574,6 @@ asc_docs_api.prototype['asc_getEditorPermissions'] = asc_docs_api.prototype.asc_ ...@@ -7574,7 +7574,6 @@ asc_docs_api.prototype['asc_getEditorPermissions'] = asc_docs_api.prototype.asc_
asc_docs_api.prototype['asc_setDocInfo'] = asc_docs_api.prototype.asc_setDocInfo; asc_docs_api.prototype['asc_setDocInfo'] = asc_docs_api.prototype.asc_setDocInfo;
asc_docs_api.prototype['asc_setLocale'] = asc_docs_api.prototype.asc_setLocale; asc_docs_api.prototype['asc_setLocale'] = asc_docs_api.prototype.asc_setLocale;
asc_docs_api.prototype['asc_LoadDocument'] = asc_docs_api.prototype.asc_LoadDocument; asc_docs_api.prototype['asc_LoadDocument'] = asc_docs_api.prototype.asc_LoadDocument;
asc_docs_api.prototype['asc_SetFontsPath'] = asc_docs_api.prototype.asc_SetFontsPath;
asc_docs_api.prototype['SetTextBoxInputMode'] = asc_docs_api.prototype.SetTextBoxInputMode; asc_docs_api.prototype['SetTextBoxInputMode'] = asc_docs_api.prototype.SetTextBoxInputMode;
asc_docs_api.prototype['GetTextBoxInputMode'] = asc_docs_api.prototype.GetTextBoxInputMode; asc_docs_api.prototype['GetTextBoxInputMode'] = asc_docs_api.prototype.GetTextBoxInputMode;
asc_docs_api.prototype['ChangeReaderMode'] = asc_docs_api.prototype.ChangeReaderMode; asc_docs_api.prototype['ChangeReaderMode'] = asc_docs_api.prototype.ChangeReaderMode;
......
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