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
308f2369
Commit
308f2369
authored
Jun 05, 2017
by
Alexander.Trofimov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update init fonts
parent
97a564a7
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
44 additions
and
38 deletions
+44
-38
common/Drawings/Externals.js
common/Drawings/Externals.js
+44
-38
No files found.
common/Drawings/Externals.js
View file @
308f2369
...
...
@@ -1465,48 +1465,54 @@ function DecodeBase64(imData, szSrc)
}
}
// ALL_FONTS_PART -------------------------------------------------------------
var
g_font_files
,
g_font_infos
;
(
function
(){
// ALL_FONTS_PART -------------------------------------------------------------
if
(
undefined
===
window
[
"
__fonts_files
"
]
&&
window
[
"
native
"
][
"
GenerateAllFonts
"
])
{
// тогда должны быть глобальные переменные такие, без window
window
[
"
native
"
][
"
GenerateAllFonts
"
]();
}
var
i
,
l
;
var
files
=
window
[
"
__fonts_files
"
];
if
(
!
files
&&
window
[
"
native
"
]
&&
window
[
"
native
"
][
"
GenerateAllFonts
"
])
{
// тогда должны быть глобальные переменные такие, без window
window
[
"
native
"
][
"
GenerateAllFonts
"
]();
}
var
__len_files
=
window
[
"
__fonts_files
"
].
length
;
var
g_font_files
=
new
Array
(
__len_files
);
for
(
var
i
=
0
;
i
<
__len_files
;
i
++
)
{
g_font_files
[
i
]
=
new
CFontFileLoader
(
window
[
"
__fonts_files
"
][
i
]);
}
files
=
window
[
"
__fonts_files
"
];
l
=
files
?
files
.
length
:
0
;
g_font_files
=
new
Array
(
l
);
for
(
i
=
0
;
i
<
l
;
i
++
)
{
g_font_files
[
i
]
=
new
CFontFileLoader
(
files
[
i
]);
}
var
__len_infos
=
window
[
"
__fonts_infos
"
].
length
;
var
g_font_infos
=
new
Array
(
__len_infos
)
;
for
(
var
i
=
0
;
i
<
__len_infos
;
i
++
)
{
var
_info
=
window
[
"
__fonts_infos
"
]
[
i
];
g_font_infos
[
i
]
=
new
CFontInfo
(
_info
[
0
],
i
,
0
,
_info
[
1
],
_info
[
2
],
_info
[
3
],
_info
[
4
],
_info
[
5
],
_info
[
6
],
_info
[
7
],
_info
[
8
]);
g_map_font_index
[
_info
[
0
]]
=
i
;
}
files
=
window
[
"
__fonts_infos
"
]
;
l
=
files
?
files
.
length
:
0
;
g_font_infos
=
new
Array
(
l
);
for
(
i
=
0
;
i
<
l
;
i
++
)
{
var
_info
=
files
[
i
];
g_font_infos
[
i
]
=
new
CFontInfo
(
_info
[
0
],
i
,
0
,
_info
[
1
],
_info
[
2
],
_info
[
3
],
_info
[
4
],
_info
[
5
],
_info
[
6
],
_info
[
7
],
_info
[
8
]);
g_map_font_index
[
_info
[
0
]]
=
i
;
}
/////////////////////////////////////////////////////////////////////
// а вот это наш шрифт - аналог wingdings3
var
_wngds3
=
new
CFontFileLoader
(
"
ASC.ttf
"
);
_wngds3
.
Status
=
0
;
var
_ind_wngds3
=
g_fonts_streams
.
length
;
g_fonts_streams
[
_ind_wngds3
]
=
AscFonts
.
CreateFontData2
(
"
AAEAAAARAQAABAAQTFRTSMgBAWkAAAIMAAAACU9TLzI5/eoAAAABmAAAAGBWRE1Yb8J3OwAAAhgAAAXgY21hcPBr8H4AAAjAAAAASGN2dCBAjTlRAAASGAAAAn5mcGdtgM3J1AAACQgAAAdFZ2FzcAAXAAkAABmgAAAAEGdseWalB9HFAAAUmAAAAORoZG14G81RIAAAB/gAAADIaGVhZAUoUMgAAAEcAAAANmhoZWEO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sYXJBU0NXM0FTQ1czVmVyc2lvbiAxLjBBU0NXM0FTQ1czIGlzIGEgdHJhZGVtYXJrIG9mIEFzY2Vuc2lvIFN5c3RlbSBTSUEuQVNDVzMAbgBvAHIAbQBhAGwAUwB0AGEAbgBkAGEAcgBkAEMAbwBwAHkAcgBpAGcAaAB0ACAAKABjACkAIABBAHMAYwBlAG4AcwBpAG8AIABTAHkAcwB0AGUAbQAgAFMASQBBACAAMgAwADEAMgAtADIAMAAxADQALgAgAEEAbABsACAAcgBpAGcAaAB0AHMAIAByAGUAcwBlAHIAdgBlAGQAQQBTAEMAVwAzAFIAZQBnAHUAbABhAHIAQQBTAEMAVwAzAEEAUwBDAFcAMwBWAGUAcgBzAGkAbwBuACAAMQAuADAAVgBlAHIAcwBpAG8AbgAgADEALgAwAEEAUwBDAFcAMwAgAGkAcwAgAGEAIAB0AHIAYQBkAGUAbQBhAHIAawAgAG8AZgAgAEEAcwBjAGUAbgBzAGkAbwAgAFMAeQBzAHQAZQBtACAAUwBJAEEALgBOAG8AcgBtAGEAbABOAG8AcgBtAGEAYQBsAGkATgBvAHIAbQBhAGwATgBvAHIAbQBhAGwAZQBTAHQAYQBuAGQAYQBhAHIAZABOAG8AcgBtAGEAbABOAG8AcgBtAGEAbABOAG8AcgBtAGEAbABOAG8AcgBtAGEAbABOAG8AcgBtAGEAbAAAAAACAAAAAAAA/zgAZAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAECAAIBAwEEBE5VTEwHYTJyaWdodA9hMmNvcm5lcmR3bmxlZnQAAAAAAAADAAgAAgAQAAH//wAD
"
);
_wngds3
.
SetStreamIndex
(
_ind_wngds3
);
g_font_files
.
push
(
_wngds3
);
var
_ind_info_wngds3
=
g_font_infos
.
length
;
g_font_infos
[
_ind_info_wngds3
]
=
new
CFontInfo
(
"
ASCW3
"
,
0
,
FONT_TYPE_ADDITIONAL
,
g_font_files
.
length
-
1
,
0
,
-
1
,
-
1
,
-
1
,
-
1
,
-
1
,
-
1
);
g_map_font_index
[
"
ASCW3
"
]
=
_ind_info_wngds3
;
/////////////////////////////////////////////////////////////////////
// удаляем временные переменные
delete
window
[
"
__fonts_files
"
];
delete
window
[
"
__fonts_infos
"
];
/////////////////////////////////////////////////////////////////////
// а вот это наш шрифт - аналог wingdings3
var
_wngds3
=
new
CFontFileLoader
(
"
ASC.ttf
"
);
_wngds3
.
Status
=
0
;
l
=
g_fonts_streams
.
length
;
g_fonts_streams
[
l
]
=
AscFonts
.
CreateFontData2
(
"
AAEAAAARAQAABAAQTFRTSMgBAWkAAAIMAAAACU9TLzI5/eoAAAABmAAAAGBWRE1Yb8J3OwAAAhgAAAXgY21hcPBr8H4AAAjAAAAASGN2dCBAjTlRAAASGAAAAn5mcGdtgM3J1AAACQgAAAdFZ2FzcAAXAAkAABmgAAAAEGdseWalB9HFAAAUmAAAAORoZG14G81RIAAAB/gAAADIaGVhZAUoUMgAAAEcAAAANmhoZWEOZANxAAABVAAAACRobXR4FGIB2gAAAfgAAAAUbG9jYQBoALoAABV8AAAADG1heHAITQdkAAABeAAAACBuYW1lDC7+vAAAFYgAAAPJcG9zdONgvM0AABlUAAAASXByZXB9uZ8bAAAQUAAAAcYAAQAAAAEAAPQVs0xfDzz1ABsIAAAAAADPTriwAAAAAM+3TU8AgAAABnUFyAAAAAwAAQAAAAAAAAABAAAHbP5QAAAHIQCA/foGdQABAAAAAAAAAAAAAAAAAAAABQABAAAABQAJAAIAAAAAAAIAEAAUAE0AAAfoB0UAAAAAAAMFGAGQAAUAAATOBM4AAAMWBM4EzgAAAxYAZAMgDAAFBAECAQgHBwcHAAAAAAAAAAAAAAAAAAAAAE1TICAAQPAi8DgGKwGkADEHbAGwgAAAAAAAAAD/////AAAAIAAABAAAgAAAAAAE0gAAByEArQRvAK0AAAAFZAEBZGQAAAAAAAABAAEBAQEBAAwA+Aj/AAgACP/+AAkACP/9AAoACf/+AAsACv/+AAwAC//+AA0ADP/9AA4ADf/9AA8ADv/9ABAADv/9ABEAD//9AB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ABOAG8AcgBtAGEAYQBsAGkATgBvAHIAbQBhAGwATgBvAHIAbQBhAGwAZQBTAHQAYQBuAGQAYQBhAHIAZABOAG8AcgBtAGEAbABOAG8AcgBtAGEAbABOAG8AcgBtAGEAbABOAG8AcgBtAGEAbABOAG8AcgBtAGEAbAAAAAACAAAAAAAA/zgAZAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAECAAIBAwEEBE5VTEwHYTJyaWdodA9hMmNvcm5lcmR3bmxlZnQAAAAAAAADAAgAAgAQAAH//wAD
"
);
_wngds3
.
SetStreamIndex
(
l
);
g_font_files
.
push
(
_wngds3
);
l
=
g_font_infos
.
length
;
g_font_infos
[
l
]
=
new
CFontInfo
(
"
ASCW3
"
,
0
,
FONT_TYPE_ADDITIONAL
,
g_font_files
.
length
-
1
,
0
,
-
1
,
-
1
,
-
1
,
-
1
,
-
1
,
-
1
);
g_map_font_index
[
"
ASCW3
"
]
=
l
;
/////////////////////////////////////////////////////////////////////
// удаляем временные переменные
delete
window
[
"
__fonts_files
"
];
delete
window
[
"
__fonts_infos
"
];
})();
//------------------------------------------------------export------------------------------------------------------
var
prot
;
...
...
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