The node you are looking for is at Texinfo::Convert::Unicode $width = string_width($string).