Commit c2a3beca authored by Boris Kocherov's avatar Boris Kocherov

change path to fonts

parent ca75fff5
...@@ -424,7 +424,7 @@ DocsAPI.DocEditor.version = function() { ...@@ -424,7 +424,7 @@ DocsAPI.DocEditor.version = function() {
sockjs: '../vendor/sockjs/sockjs.min', sockjs: '../vendor/sockjs/sockjs.min',
jsziputils: '../vendor/jszip-utils/jszip-utils.min', jsziputils: '../vendor/jszip-utils/jszip-utils.min',
jsrsasign: '../vendor/jsrsasign/jsrsasign-latest-all-min', jsrsasign: '../vendor/jsrsasign/jsrsasign-latest-all-min',
allfonts: '../sdkjs/common/AllFonts', allfonts: '../fonts/AllFonts',
sdk: '../sdkjs/' + sdkPath + '/sdk-all-min', sdk: '../sdkjs/' + sdkPath + '/sdk-all-min',
api: 'api/documents/api', api: 'api/documents/api',
core: 'common/main/lib/core/application', core: 'common/main/lib/core/application',
......
...@@ -55,8 +55,8 @@ define([ ...@@ -55,8 +55,8 @@ define([
isRetina = window.devicePixelRatio > 1, isRetina = window.devicePixelRatio > 1,
thumbCanvas = document.createElement('canvas'), thumbCanvas = document.createElement('canvas'),
thumbContext = thumbCanvas.getContext('2d'), thumbContext = thumbCanvas.getContext('2d'),
thumbPath = './sdkjs/common/Images/fonts_thumbnail.png', thumbPath = './fonts/Images/fonts_thumbnail.png',
thumbPath2x = './sdkjs/common/Images/fonts_thumbnail@2x.png', thumbPath2x = './fonts/Images/fonts_thumbnail@2x.png',
listItemHeight = 36; listItemHeight = 36;
if (typeof window['AscDesktopEditor'] === 'object') { if (typeof window['AscDesktopEditor'] === 'object') {
......
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