getCharacterMetrics = function(character, style) {
    return metricMap[style][character.charCodeAt(0)];
}
This function is a convience function for looking up information in the
metricMap table. It takes a character as a string, and a style