FontMetrics.do_shorten

You're seeing just the function do_shorten, go back to FontMetrics module for more information.
Link to this function

do_shorten(source, max_width, scale, arg4, arg5)

View Source