# File lib/afm.rb, line 96 def metrics_for(char) glyph = if (char.kind_of?(Integer)) ISO_LATIN1_ENCODING[char] else ISO_LATIN1_ENCODING[char.unpack("C*").first] end @char_metrics[glyph] end