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
237b88c2
Commit
237b88c2
authored
8 years ago
by
Alexander.Trofimov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix #32329
parent
3c520326
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
common/Drawings/Metafile.js
common/Drawings/Metafile.js
+1
-1
word/Drawing/Graphics.js
word/Drawing/Graphics.js
+1
-1
No files found.
common/Drawings/Metafile.js
View file @
237b88c2
...
...
@@ -1299,7 +1299,7 @@ CMetafile.prototype =
},
FillTextCode
:
function
(
x
,
y
,
code
)
{
var
_font_info
=
AscFonts
.
g_font_infos
[
window
.
g_map_font_index
[
this
.
m_oFont
.
Name
]];
var
_font_info
=
AscFonts
.
g_font_infos
[
AscFonts
.
g_map_font_index
[
this
.
m_oFont
.
Name
]];
if
(
code
<
0xFFFF
)
return
this
.
FillText
(
x
,
y
,
String
.
fromCharCode
(
code
));
...
...
This diff is collapsed.
Click to expand it.
word/Drawing/Graphics.js
View file @
237b88c2
...
...
@@ -994,7 +994,7 @@ CGraphics.prototype =
},
font
:
function
(
font_id
,
font_size
)
{
AscFonts
.
g_font_infos
[
window
.
g_map_font_index
[
font_id
]].
LoadFont
(
editor
.
FontLoader
,
this
.
IsUseFonts2
?
this
.
m_oFontManager2
:
this
.
m_oFontManager
,
AscFonts
.
g_font_infos
[
AscFonts
.
g_map_font_index
[
font_id
]].
LoadFont
(
editor
.
FontLoader
,
this
.
IsUseFonts2
?
this
.
m_oFontManager2
:
this
.
m_oFontManager
,
Math
.
max
(
font_size
,
1
),
0
,
this
.
m_dDpiX
,
this
.
m_dDpiY
,
this
.
m_oTransform
);
},
SetFont
:
function
(
font
)
...
...
This diff is collapsed.
Click to expand it.
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