def get_texts_box(texts, fs):
 max_len = max(map(len, texts))
 return (fs, text_len(max_len, fs))

def get_texts_box ( texts , fs ) : max_len = max ( map ( len , texts ) ) return ( fs , text_len ( max_len , fs ) )
approximation of multiple texts bounds .