Revert int16 clamping for horizontal metrics
This commit is contained in:
parent
bf38918782
commit
7d64d3168f
@ -1949,7 +1949,7 @@ var Font = (function Font() {
|
||||
for (var i = 0, ii = charstrings.length; i < ii; i++) {
|
||||
var charstring = charstrings[i];
|
||||
var width = 'width' in charstring ? charstring.width : 0;
|
||||
hmtx += safeString16(width) + string16(0);
|
||||
hmtx += string16(width) + string16(0);
|
||||
}
|
||||
return stringToArray(hmtx);
|
||||
})(),
|
||||
|
Loading…
Reference in New Issue
Block a user