From 7d64d3168f762e7742e8d0d902d9553e34923c22 Mon Sep 17 00:00:00 2001 From: notmasteryet Date: Wed, 7 Dec 2011 06:47:52 -0600 Subject: [PATCH] Revert int16 clamping for horizontal metrics --- src/fonts.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/fonts.js b/src/fonts.js index 2c3d1c8a4..68b3727a2 100644 --- a/src/fonts.js +++ b/src/fonts.js @@ -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); })(),