import and adopt libtextwidthperl
recipe for libtextwidthperl