diff --git a/lib/ttf/tables/maxp.js b/lib/ttf/tables/maxp.js
index <HASH>..<HASH> 100644
--- a/lib/ttf/tables/maxp.js
+++ b/lib/ttf/tables/maxp.js
@@ -5,17 +5,20 @@
 var _ = require('lodash');
 var jDataView = require('jDataView');
 
-//find max points in glyph contours
+// Find max points in glyph contours.
+// Actual number of points can be reduced in the further code, but it is not a problem.
+// This number cannot be less than max glyph points because of glyph missing
+// in certain cases in some browser (like Chrome in MS Windows).
 function getMaxPoints(font) {
-  var result = 0;
-  _.forEach(font.glyphs, function (glyph) {
-    _.forEach(glyph.contours, function (contour) {
-      if (contour.points.length > result) {
-        result = contour.points.length;
-      }
-    });
-  });
-  return result;
+  var maxPoints = 0;
+  return _.reduce(font.glyphs,  function (maxPoints, glyph) {
+
+    var sumPoints = _.reduce(glyph.contours, function (sumPoints, contour) {
+      return (sumPoints || 0) + contour.points.length;
+    }, sumPoints);
+
+    return Math.max(sumPoints || 0, maxPoints);
+  }, maxPoints);
 }
 
 function getMaxContours(font) {
Fixed bug in MAXP table: some of glyphs was missed in Chrome for WIndows in certain cases.