add font/type metrics calculation using YUtils