That's dirty indeed. actually, i was hoping for some simple solution as i'm very new to this and still many things that i don't know. and some Anonymous Monk mentioned that TTFMetrics is 14 years old, so can be there any new perl module that can do this with a single line of code?