code: function padWidth(buf, width) {
    var height = buf.length / width;
    if (width %4 === 0)
      return buf;
    else {
      var stride = (width+3)&~3;
      var res = Buffer.alloc(height*stride);
      res.fill(0);
      for (var y=0; y < height; ++y) {
        // memcpy(tmpbitmap+y*stride, bitmap->buffer+y*ginfo.width, ginfo.width);
        buf.copy(res, y*stride, y*width, y*width + width);
      }
      return res;
    }
  }
docs: console.log(fontface.hasKerning(), process.argv[2], '\n', fontface); process.exit(0); /*
  fontface.available_characters.forEach(function(left) {
  fontface.available_characters.forEach(function(right) {
  var kern = fontface.kerning(left, right, 50, 0, 96, 0);
  if (kern.x != 0 || kern.y != 0)
  console.log(left, right, kern);
  });
  });
   console.log(fontface.kerning('A'.charCodeAt(0), 'V'.charCodeAt(0), 50, 0, 96, 0))