http://qs321.pair.com?node_id=950769


in reply to Re^2: font measurement
in thread font measurement

AFAIK the Font::Freetype suite can render you at least one given symbol. Assuming that spacing between characters will be constant, you can calculate the size of any string, using these data.

But there is also Font::TTF, which I didn't used before - start reading from this point, I guess.