Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
sdkjs
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Boris Kocherov
sdkjs
Commits
7a90a8f7
Commit
7a90a8f7
authored
May 04, 2017
by
Oleg Korshul
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
.
parent
651a978d
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
9 additions
and
7 deletions
+9
-7
common/Drawings/Format/Format.js
common/Drawings/Format/Format.js
+2
-0
common/FontsFreeType/FontFile.js
common/FontsFreeType/FontFile.js
+2
-2
common/FontsFreeType/font_engine.js
common/FontsFreeType/font_engine.js
+2
-0
common/GlobalLoaders.js
common/GlobalLoaders.js
+3
-3
slide/Editor/Format/Presentation.js
slide/Editor/Format/Presentation.js
+0
-2
No files found.
common/Drawings/Format/Format.js
View file @
7a90a8f7
...
...
@@ -39,6 +39,8 @@
*/
function
(
window
,
undefined
)
{
var
recalcSlideInterval
=
30
;
// Import
var
CreateAscColor
=
AscCommon
.
CreateAscColor
;
var
g_oIdCounter
=
AscCommon
.
g_oIdCounter
;
...
...
common/FontsFreeType/FontFile.js
View file @
7a90a8f7
...
...
@@ -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
);
}
...
...
common/FontsFreeType/font_engine.js
View file @
7a90a8f7
...
...
@@ -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);
common/GlobalLoaders.js
View file @
7a90a8f7
...
...
@@ -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
;
...
...
slide/Editor/Format/Presentation.js
View file @
7a90a8f7
...
...
@@ -43,8 +43,6 @@ var History = AscCommon.History;
var
CreateUnifillSolidFillSchemeColor
=
AscFormat
.
CreateUnifillSolidFillSchemeColor
;
var
recalcSlideInterval
=
30
;
function
SlideCopyObject
(
Slide
,
ImageUrl
)
{
this
.
Slide
=
Slide
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment