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
6e8ba84a
Commit
6e8ba84a
authored
Apr 22, 2016
by
Alexander.Trofimov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
common/FontsFreeType/font_engine to function-closure
parent
cb62fd90
Changes
15
Hide whitespace changes
Inline
Side-by-side
Showing
15 changed files
with
76 additions
and
1 deletion
+76
-1
cell/model/ConditionalFormatting.js
cell/model/ConditionalFormatting.js
+2
-0
cell/model/Serialize.js
cell/model/Serialize.js
+1
-0
cell/model/Workbook.js
cell/model/Workbook.js
+2
-0
cell/native/native.js
cell/native/native.js
+3
-0
common/CollaborativeEditingBase.js
common/CollaborativeEditingBase.js
+2
-0
common/Drawings/Format/Shape.js
common/Drawings/Format/Shape.js
+2
-0
common/FontsFreeType/FontFile.js
common/FontsFreeType/FontFile.js
+17
-0
common/FontsFreeType/FontManager.js
common/FontsFreeType/FontManager.js
+5
-0
common/FontsFreeType/font_engine.js
common/FontsFreeType/font_engine.js
+25
-0
common/FontsFreeType/font_map.js
common/FontsFreeType/font_map.js
+6
-1
common/Native/native.js
common/Native/native.js
+3
-0
common/Shapes/Serialize.js
common/Shapes/Serialize.js
+2
-0
word/Drawing/documentrenderer.js
word/Drawing/documentrenderer.js
+1
-0
word/Editor/FontClassification.js
word/Editor/FontClassification.js
+3
-0
word/Editor/Serialize2.js
word/Editor/Serialize2.js
+2
-0
No files found.
cell/model/ConditionalFormatting.js
View file @
6e8ba84a
...
...
@@ -15,6 +15,8 @@
* -----------------------------------------------------------------------------
*/
var
asc
=
window
[
"
Asc
"
];
var
FT_Common
=
AscFonts
.
FT_Common
;
/**
* Отвечает за условное форматирование
...
...
cell/model/Serialize.js
View file @
6e8ba84a
...
...
@@ -2,6 +2,7 @@
(
function
(
window
,
undefined
)
{
// Import
var
g_memory
=
AscFonts
.
g_memory
;
var
CellValueType
=
AscCommon
.
CellValueType
;
var
c_oAscCellAnchorType
=
AscCommon
.
c_oAscCellAnchorType
;
var
c_oAscBorderStyles
=
AscCommon
.
c_oAscBorderStyles
;
...
...
cell/model/Workbook.js
View file @
6e8ba84a
"
use strict
"
;
// Import
var
g_memory
=
AscFonts
.
g_memory
;
var
CellValueType
=
AscCommon
.
CellValueType
;
var
c_oAscBorderStyles
=
AscCommon
.
c_oAscBorderStyles
;
var
fSortAscending
=
AscCommon
.
fSortAscending
;
...
...
cell/native/native.js
View file @
6e8ba84a
...
...
@@ -23,6 +23,9 @@ var History = {};
window
[
"
Asc
"
]
=
{};
var
Asc
=
window
[
"
Asc
"
];
window
[
"
AscFonts
"
]
=
{};
var
AscFonts
=
window
[
"
AscFonts
"
];
window
[
"
AscCommon
"
]
=
{};
var
AscCommon
=
window
[
"
AscCommon
"
];
...
...
common/CollaborativeEditingBase.js
View file @
6e8ba84a
...
...
@@ -6,6 +6,8 @@
* Time: 12:01
*/
// Import
var
g_memory
=
AscFonts
.
g_memory
;
var
FOREIGN_CURSOR_LABEL_HIDETIME
=
1500
;
...
...
common/Drawings/Format/Shape.js
View file @
6e8ba84a
...
...
@@ -8,6 +8,8 @@
function
(
window
,
undefined
)
{
// Import
var
g_memory
=
AscFonts
.
g_memory
;
var
c_oAscSizeRelFromH
=
AscCommon
.
c_oAscSizeRelFromH
;
var
c_oAscSizeRelFromV
=
AscCommon
.
c_oAscSizeRelFromV
;
...
...
common/FontsFreeType/FontFile.js
View file @
6e8ba84a
"
use strict
"
;
// Import
var
FT_Get_Sfnt_Table
=
AscFonts
.
FT_Get_Sfnt_Table
;
var
FT_Matrix
=
AscFonts
.
FT_Matrix
;
var
FT_Set_Char_Size
=
AscFonts
.
FT_Set_Char_Size
;
var
FT_Set_Transform
=
AscFonts
.
FT_Set_Transform
;
var
__FT_CharmapRec
=
AscFonts
.
__FT_CharmapRec
;
var
FT_Set_Charmap
=
AscFonts
.
FT_Set_Charmap
;
var
FT_Get_Char_Index
=
AscFonts
.
FT_Get_Char_Index
;
var
FT_Load_Glyph
=
AscFonts
.
FT_Load_Glyph
;
var
FT_Get_Glyph
=
AscFonts
.
FT_Get_Glyph
;
var
FT_BBox
=
AscFonts
.
FT_BBox
;
var
FT_Glyph_Get_CBox
=
AscFonts
.
FT_Glyph_Get_CBox
;
var
FT_Done_Glyph
=
AscFonts
.
FT_Done_Glyph
;
var
FT_Outline_Decompose
=
AscFonts
.
FT_Outline_Decompose
;
var
FT_Render_Glyph
=
AscFonts
.
FT_Render_Glyph
;
var
raster_memory
=
AscFonts
.
raster_memory
;
function
CCMapIndex
()
{
this
.
index
=
0
;
...
...
common/FontsFreeType/FontManager.js
View file @
6e8ba84a
"
use strict
"
;
// Import
var
FT_Open_Args
=
AscFonts
.
FT_Open_Args
;
var
FT_Library
=
AscFonts
.
FT_Library
;
var
FT_Set_Char_Size
=
AscFonts
.
FT_Set_Char_Size
;
var
raster_memory
=
AscFonts
.
raster_memory
;
var
AscBrowser
=
AscCommon
.
AscBrowser
;
var
g_bIsAppleDevices
=
AscBrowser
.
isAppleDevices
;
...
...
common/FontsFreeType/font_engine.js
View file @
6e8ba84a
"use strict";
(function(window, undefined){
function _FT_Common()
{
...
...
@@ -41817,3 +41819,26 @@ function FT_CMap_New(clazz, init_data, charmap)
return cmap;
}
//--------------------------------------------------------export----------------------------------------------------
window['AscFonts'] = window['AscFonts'] || {};
window['AscFonts'].FT_Common = FT_Common;
window['AscFonts'].FT_Stream = FT_Stream;
window['AscFonts'].g_memory = g_memory;
window['AscFonts'].FT_Get_Sfnt_Table = FT_Get_Sfnt_Table;
window['AscFonts'].FT_BBox = FT_BBox;
window['AscFonts'].FT_Matrix = FT_Matrix;
window['AscFonts'].FT_Open_Args = FT_Open_Args;
window['AscFonts'].__FT_CharmapRec = __FT_CharmapRec;
window['AscFonts'].FT_Outline_Decompose = FT_Outline_Decompose;
window['AscFonts'].FT_Library = FT_Library;
window['AscFonts'].FT_Set_Char_Size = FT_Set_Char_Size;
window['AscFonts'].FT_Get_Char_Index = FT_Get_Char_Index;
window['AscFonts'].FT_Set_Charmap = FT_Set_Charmap;
window['AscFonts'].FT_Glyph_Get_CBox = FT_Glyph_Get_CBox;
window['AscFonts'].FT_Get_Glyph = FT_Get_Glyph;
window['AscFonts'].FT_Done_Glyph = FT_Done_Glyph;
window['AscFonts'].FT_Load_Glyph = FT_Load_Glyph;
window['AscFonts'].FT_Set_Transform = FT_Set_Transform;
window['AscFonts'].FT_Render_Glyph = FT_Render_Glyph;
window['AscFonts'].raster_memory = raster_memory;
})(window);
common/FontsFreeType/font_map.js
View file @
6e8ba84a
"
use strict
"
;
"
use strict
"
;
// Import
var
FT_Common
=
AscFonts
.
FT_Common
;
var
FT_Stream
=
AscFonts
.
FT_Stream
;
var
g_memory
=
AscFonts
.
g_memory
;
var
charA
=
"
A
"
.
charCodeAt
(
0
);
var
charZ
=
"
Z
"
.
charCodeAt
(
0
);
...
...
common/Native/native.js
View file @
6e8ba84a
...
...
@@ -19,6 +19,9 @@ window.document = document;
window
[
"
Asc
"
]
=
{};
var
Asc
=
window
[
"
Asc
"
];
window
[
"
AscFonts
"
]
=
{};
var
AscFonts
=
window
[
"
AscFonts
"
];
window
[
"
AscCommon
"
]
=
{};
var
AscCommon
=
window
[
"
AscCommon
"
];
...
...
common/Shapes/Serialize.js
View file @
6e8ba84a
"
use strict
"
;
// Import
var
g_memory
=
AscFonts
.
g_memory
;
var
c_oAscShdClear
=
Asc
.
c_oAscShdClear
;
var
c_oAscColor
=
Asc
.
c_oAscColor
;
var
c_oAscFill
=
Asc
.
c_oAscFill
;
...
...
word/Drawing/documentrenderer.js
View file @
6e8ba84a
"
use strict
"
;
var
g_memory
=
AscFonts
.
g_memory
;
function
CPageMeta
()
{
...
...
word/Editor/FontClassification.js
View file @
6e8ba84a
"
use strict
"
;
// Import
var
g_memory
=
AscFonts
.
g_memory
;
var
fontslot_ASCII
=
0x00
;
var
fontslot_EastAsia
=
0x01
;
var
fontslot_CS
=
0x02
;
...
...
word/Editor/Serialize2.js
View file @
6e8ba84a
"
use strict
"
;
// Import
var
g_memory
=
AscFonts
.
g_memory
;
var
align_Right
=
AscCommon
.
align_Right
;
var
align_Left
=
AscCommon
.
align_Left
;
var
align_Center
=
AscCommon
.
align_Center
;
...
...
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