update dom-ruler/text#measure