simplified markText elements' width determination