reading font metrics from font file