Skip to content

Commit

Permalink
Increase font size. Fixes mozilla#678
Browse files Browse the repository at this point in the history
  • Loading branch information
Marco Castelluccio committed Dec 5, 2014
1 parent 12f4aae commit 101680b
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 @@ -245,7 +245,7 @@
var SIZE_LARGE = 16;

Native.create("javax/microedition/lcdui/Font.init.(III)V", function(face, style, size) {
var defaultSize = Math.max(10, (MIDP.Context2D.canvas.height / 48) | 0);
var defaultSize = Math.max(10, (MIDP.Context2D.canvas.height / 27) | 0);
if (size & SIZE_SMALL)
size = defaultSize / 1.25;
else if (size & SIZE_LARGE)
Expand Down

0 comments on commit 101680b

Please sign in to comment.