From 55d04c0cd9144e8153fc28482dbb68e5dec231ac Mon Sep 17 00:00:00 2001 From: Vivien Nicolas <21@vingtetun.org> Date: Tue, 30 Aug 2011 04:00:03 +0200 Subject: [PATCH] Adjust precision to have correct widths for arial tests documents --- fonts.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fonts.js b/fonts.js index 39936d432..4aa2fb142 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);