Convert text pixels to ems