function CffEncoding(encoding, charset) {
    this.encoding = encoding;
    this.charset = charset;
}
Gets the index of a glyph by name.
@param  {string} name - The glyph name
@return {number} The index