From: Vivien Nicolas <21@vingtetun.org> Date: Tue, 30 Aug 2011 02:00:03 +0000 (+0200) Subject: Adjust precision to have correct widths for arial tests documents X-Git-Url: https://git.parisson.com/?a=commitdiff_plain;h=55d04c0cd9144e8153fc28482dbb68e5dec231ac;p=pdf.js.git Adjust precision to have correct widths for arial tests documents --- diff --git a/fonts.js b/fonts.js index 39936d4..4aa2fb1 100755 --- a/fonts.js +++ b/fonts.js @@ -57,7 +57,7 @@ var stdFontMap = { }; var FontMeasure = (function FontMeasure() { - var kScalePrecision = 50; + var kScalePrecision = 30; var ctx = document.createElement('canvas').getContext('2d'); ctx.scale(1 / kScalePrecision, 1);