Commit 7a90a8f7 authored by Oleg Korshul's avatar Oleg Korshul

.

parent 651a978d
......@@ -39,6 +39,8 @@
*/
function (window, undefined) {
var recalcSlideInterval = 30;
// Import
var CreateAscColor = AscCommon.CreateAscColor;
var g_oIdCounter = AscCommon.g_oIdCounter;
......
......@@ -2026,8 +2026,8 @@
this.GetKerning = function (unPrevGID, unGID)
{
var pDelta = new FT_Vector();
FT_Get_Kerning(this.m_pFace, unPrevGID, unGID, 0, pDelta);
var pDelta = new AscFonts.FT_Vector();
AscFonts.FT_Get_Kerning(this.m_pFace, unPrevGID, unGID, 0, pDelta);
return (pDelta.x >> 6);
}
......
......@@ -41886,4 +41886,6 @@ function FT_CMap_New(clazz, init_data, charmap)
window['AscFonts'].FT_Render_Glyph = FT_Render_Glyph;
window['AscFonts'].raster_memory = raster_memory;
window['AscFonts'].FT_Get_Charmap_Index = FT_Get_Charmap_Index;
window['AscFonts'].FT_Vector = FT_Vector;
window['AscFonts'].FT_Get_Kerning = FT_Get_Kerning;
})(window);
......@@ -83,7 +83,7 @@
this._callback_font_load = function()
{
if (undefined === embedded_fonts)
if (undefined === window.embedded_fonts)
return;
oThis.CurrentFindFileParse = 0;
......@@ -93,8 +93,8 @@
this.parse_font = function()
{
var __font_data_idx = g_fonts_streams.length;
g_fonts_streams[__font_data_idx] = CreateFontData2(embedded_fonts[oThis.CurrentFindFileParse], undefined);
embedded_fonts[oThis.CurrentFindFileParse] = "";
g_fonts_streams[__font_data_idx] = CreateFontData2(window.embedded_fonts[oThis.CurrentFindFileParse], undefined);
window.embedded_fonts[oThis.CurrentFindFileParse] = "";
oThis.font_files[oThis.CurrentFindFileParse].SetStreamIndex(__font_data_idx);
oThis.font_files[oThis.CurrentFindFileParse].Status = 0;
......
......@@ -43,8 +43,6 @@ var History = AscCommon.History;
var CreateUnifillSolidFillSchemeColor = AscFormat.CreateUnifillSolidFillSchemeColor;
var recalcSlideInterval = 30;
function SlideCopyObject(Slide, ImageUrl)
{
this.Slide = Slide;
......
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