From 4ef62ca598597dabee57afcba95622a41f80614b Mon Sep 17 00:00:00 2001 From: Marco Castelluccio Date: Thu, 4 Dec 2014 12:01:26 -0800 Subject: [PATCH] Set baseline size as the font size --- midp/gfx.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/midp/gfx.js b/midp/gfx.js index 0d1302e7..a9d4f14b 100644 --- a/midp/gfx.js +++ b/midp/gfx.js @@ -268,7 +268,7 @@ else face = "Arial, Helvetica, sans-serif"; - this.class.getField("I.baseline.I").set(this, (size/2)|0); + this.class.getField("I.baseline.I").set(this, size | 0); this.class.getField("I.height.I").set(this, (size * 1.3)|0); this.css = style + " " + size + "pt " + face; });