pdFont: minor adjustment to string length calculation