[[ Bug 13809 ]] Allow 'width' as param in measureText