code: function sizeofSimple(glyf, glyfSupport, hinting) {
  
              if (!glyf.contours || 0 === glyf.contours.length) {
                  return 0;
              }
  
              // fixed header + endPtsOfContours
              var result = 12
                  + glyf.contours.length * 2
                  + glyfSupport.flags.length;
  
              glyfSupport.xCoord.forEach(function (x) {
                  result += 0 <= x && x <= 0xFF ? 1 : 2;
              });
  
              glyfSupport.yCoord.forEach(function (y) {
                  result += 0 <= y && y <= 0xFF ? 1 : 2;
              });
  
              return result + (hinting && glyf.instructions ? glyf.instructions.length : 0);
          }
docs: 获取glyf的大小
  
  @param {Object} glyf glyf对象
  @param {Object} glyfSupport glyf相关统计
  @param {boolean} hinting 是否保留hints
  @return {number} size大小