Commit 423a3d6f authored by Boris Kocherov's avatar Boris Kocherov

change path to fonts

parent 7f4bd09b
......@@ -426,7 +426,7 @@ function CFontFileLoader(id)
//var _name = this.Id;
var _name = g_fontNamesEncoder.Encode(this.Id) + ".js";
xhr.open('GET', basePath + "odttf/" + _name, true); // TODO:
xhr.open('GET', basePath + "/" + _name, true); // TODO:
if (typeof ArrayBuffer !== 'undefined' && !window.opera)
xhr.responseType = 'arraybuffer';
......
......@@ -50,7 +50,7 @@
this.fonts_streams = [];
// теперь вся информация о всех возможных шрифтах. Они во всех редакторах должны быть одни и те же
this.fontFilesPath = "../../../../fonts/";
this.fontFilesPath = "fonts/ttf";
this.fontFiles = AscFonts.g_font_files;
this.fontInfos = AscFonts.g_font_infos;
this.map_font_index = AscFonts.g_map_font_index;
......
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