mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-26 10:08:06 +02:00
Merge branch 'refs/heads/master' into filesplit
Conflicts: pdf.js
This commit is contained in:
commit
41caf5018d
5 changed files with 22 additions and 15 deletions
|
@ -2897,7 +2897,8 @@ var Type2CFF = (function type2CFF() {
|
|||
if (unicode <= 0x1f || (unicode >= 127 && unicode <= 255))
|
||||
unicode += kCmapGlyphOffset;
|
||||
|
||||
var width = isNum(mapping.width) ? mapping.width : defaultWidth;
|
||||
var width = (mapping.hasOwnProperty('width') && isNum(mapping.width)) ?
|
||||
mapping.width : defaultWidth;
|
||||
properties.encoding[code] = {
|
||||
unicode: unicode,
|
||||
width: width
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue