my $hang_width = $text_object->advancewidth($arg{'-hang'});