[Bug 33378] New: measuring/painting strings needs better tests