text: var ReadBuffer = require('../readbuffer');
  var Type = require('../type');
  var util = require('../util');
  
  module.exports = function (buffer, font) {
    var table = new ReadBuffer(buffer);
  
    return table.read(util.struct({
      version: Type.FIXED,
      ascender: Type.FWORD,
      descender: Type.FWORD,
      lineGap: Type.FWORD,
      advanceWidthMax: Type.UFWORD,
      minLeftSideBearing: Type.FWORD,
      minRightSideBearing: Type.FWORD,
      xMaxExtent: Type.FWORD,
      caretSlopeRise: Type.SHORT,
      caretSlopeRun: Type.SHORT,
      caretOffset: Type.SHORT,
      reserved1: Type.SHORT,
      reserved2: Type.SHORT,
      reserved3: Type.SHORT,
      reserved4: Type.SHORT,
      metricDataFormat: Type.SHORT,
      numberOfHMetrics: Type.USHORT
    }));
  };
  