Skip to content

Commit

Permalink
changed font height calculation
Browse files Browse the repository at this point in the history
  • Loading branch information
Tony Germaneri committed Jul 26, 2017
1 parent 65a4ff2 commit 6838952
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion lib/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -375,7 +375,10 @@ define([
}
}
};
self.getFontHeight = function getFontHeight(fontStyle) {
self.getFontHeight = function (fontStyle) {
return parseFloat(fontStyle, 10);
};
self.getFontHeightLong = function (fontStyle) {
var pixels,
start,
end,
Expand Down

0 comments on commit 6838952

Please sign in to comment.