fixed font object to accept strings for handling dp, px, cm, em, pt
Merge pull request #150 from mtnlife999/timob-14680

TIMOB-14680 fixed font object to accept strings for handling dp, px, cm, em, pt