code: function(face) {
      var gindex = {},
          charcode,
          chars = [];
  
      charcode = ft.Get_First_Char(face, gindex);
      while (gindex.gindex !== 0) {
        chars.push(charcode);
        charcode = ft.Get_Next_Char(face, charcode, gindex);
      }
  
      return chars;
    }
docs: Get all available characters See note at http://www.freetype.org/freetype2/docs/reference/ft2-base_interface.html#FT_Get_First_Char