add mono word width calculation to confine title length