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
d5218e5c
Commit
d5218e5c
authored
Apr 25, 2016
by
Oleg Korshul
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
баг с шрифтами (не экспортилась функция)
parent
41ce6df8
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
0 deletions
+7
-0
common/FontsFreeType/FontFile.js
common/FontsFreeType/FontFile.js
+1
-0
common/FontsFreeType/font_engine.js
common/FontsFreeType/font_engine.js
+1
-0
common/Local/common.js
common/Local/common.js
+5
-0
No files found.
common/FontsFreeType/FontFile.js
View file @
d5218e5c
...
@@ -42,6 +42,7 @@ var FT_Done_Glyph = AscFonts.FT_Done_Glyph;
...
@@ -42,6 +42,7 @@ var FT_Done_Glyph = AscFonts.FT_Done_Glyph;
var
FT_Outline_Decompose
=
AscFonts
.
FT_Outline_Decompose
;
var
FT_Outline_Decompose
=
AscFonts
.
FT_Outline_Decompose
;
var
FT_Render_Glyph
=
AscFonts
.
FT_Render_Glyph
;
var
FT_Render_Glyph
=
AscFonts
.
FT_Render_Glyph
;
var
raster_memory
=
AscFonts
.
raster_memory
;
var
raster_memory
=
AscFonts
.
raster_memory
;
var
FT_Get_Charmap_Index
=
AscFonts
.
FT_Get_Charmap_Index
;
var
FONT_ITALIC_ANGLE
=
0.3090169943749
;
var
FONT_ITALIC_ANGLE
=
0.3090169943749
;
var
FT_ENCODING_UNICODE
=
1970170211
;
var
FT_ENCODING_UNICODE
=
1970170211
;
...
...
common/FontsFreeType/font_engine.js
View file @
d5218e5c
...
@@ -41865,4 +41865,5 @@ function FT_CMap_New(clazz, init_data, charmap)
...
@@ -41865,4 +41865,5 @@ function FT_CMap_New(clazz, init_data, charmap)
window['AscFonts'].FT_Set_Transform = FT_Set_Transform;
window['AscFonts'].FT_Set_Transform = FT_Set_Transform;
window['AscFonts'].FT_Render_Glyph = FT_Render_Glyph;
window['AscFonts'].FT_Render_Glyph = FT_Render_Glyph;
window['AscFonts'].raster_memory = raster_memory;
window['AscFonts'].raster_memory = raster_memory;
window['AscFonts'].FT_Get_Charmap_Index = FT_Get_Charmap_Index;
})(window);
})(window);
common/Local/common.js
View file @
d5218e5c
...
@@ -126,6 +126,11 @@ prot.getImageLocal = function(url){
...
@@ -126,6 +126,11 @@ prot.getImageLocal = function(url){
var
_first
=
this
.
documentUrl
+
"
/media/
"
;
var
_first
=
this
.
documentUrl
+
"
/media/
"
;
if
(
0
==
url
.
indexOf
(
_first
))
if
(
0
==
url
.
indexOf
(
_first
))
return
url
.
substring
(
_first
.
length
);
return
url
.
substring
(
_first
.
length
);
if
(
window
.
editor
&&
window
.
editor
.
ThemeLoader
&&
0
==
url
.
indexOf
(
editor
.
ThemeLoader
.
ThemesUrlAbs
))
{
return
url
.
substring
(
editor
.
ThemeLoader
.
ThemesUrlAbs
.
length
);
}
return
null
;
return
null
;
};
};
prot
.
imagePath2Local
=
function
(
imageLocal
){
prot
.
imagePath2Local
=
function
(
imageLocal
){
...
...
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