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
e03cb633
Commit
e03cb633
authored
May 04, 2017
by
Oleg Korshul
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
.
parent
54fe8c7d
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
23 additions
and
3 deletions
+23
-3
common/FontsFreeType/Private/FreeType/drivers/t1.js
common/FontsFreeType/Private/FreeType/drivers/t1.js
+1
-1
common/FontsFreeType/Private/FreeType/modules/psaux.js
common/FontsFreeType/Private/FreeType/modules/psaux.js
+10
-0
common/FontsFreeType/font_engine.js
common/FontsFreeType/font_engine.js
+12
-2
No files found.
common/FontsFreeType/Private/FreeType/drivers/t1.js
View file @
e03cb633
...
...
@@ -967,7 +967,7 @@ function T1_Get_Private_Dict(parser, psaux)
parser
.
private_len
=
ret
.
num_bytes
;
/* put a safeguard */
parser
.
private_dict
[
len
]
=
FT_Common
.
SYMBOL_CONST_S0
;
parser
.
private_dict
[
ret
.
num_bytes
]
=
FT_Common
.
SYMBOL_CONST_S0
;
}
else
{
...
...
common/FontsFreeType/Private/FreeType/modules/psaux.js
View file @
e03cb633
...
...
@@ -866,6 +866,16 @@ function AFM_StreamRec()
this
.
status
=
0
;
}
function
AFM_ParserRec
()
{
this
.
memory
=
null
;
this
.
stream
=
null
;
this
.
FontInfo
=
null
;
this
.
get_index
=
null
;
this
.
user_data
=
null
;
}
function
AFM_IS_NEWLINE
(
ch
)
{
if
(
ch
==
FT_Common
.
SYMBOL_CONST_SR
||
ch
==
FT_Common
.
SYMBOL_CONST_SN
)
...
...
common/FontsFreeType/font_engine.js
View file @
e03cb633
...
...
@@ -8896,6 +8896,16 @@ function AFM_StreamRec()
this.status = 0;
}
function AFM_ParserRec()
{
this.memory = null;
this.stream = null;
this.FontInfo = null;
this.get_index = null;
this.user_data = null;
}
function AFM_IS_NEWLINE(ch)
{
if (ch == 13 || ch == 10)
...
...
@@ -36610,7 +36620,7 @@ function cff_get_glyph_name(face, glyph_index, buffer, buffer_max)
function cff_get_name_index(face, glyph_name)
{
var cff = face.extra.data;
var charset = cf.charset;
var charset = cf
f
.charset;
var psnames = FT_FACE_FIND_GLOBAL_SERVICE(face, FT_SERVICE_ID_POSTSCRIPT_CMAPS);
if (psnames == null)
...
...
@@ -37844,7 +37854,7 @@ function T1_Get_Private_Dict(parser, psaux)
parser.private_len = ret.num_bytes;
/* put a safeguard */
parser.private_dict[
len
] = 0;
parser.private_dict[
ret.num_bytes
] = 0;
}
else
{
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