Skip to content

Commit

Permalink
Set baseline size as the font size
Browse files Browse the repository at this point in the history
  • Loading branch information
Marco Castelluccio committed Dec 4, 2014
1 parent 12f4aae commit 4ef62ca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion midp/gfx.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
});
Expand Down

0 comments on commit 4ef62ca

Please sign in to comment.