docs: def glyph_metrics_stats(ttFont):
    """Returns a dict containing whether the font seems_monospaced,
    what's the maximum glyph width and what's the most common width.
  
    For a font to be considered monospaced, at least 80% of
    the ascii glyphs must have the same width."""
    glyph_metrics = ttFont['hmtx'].metrics
    ascii_glyph_names = [ttFont.getBestCmap()[c] for c in range(32, 128)
                         if c in ttFont.getBestCmap()]
    ascii_widths = [adv for name, (adv, lsb) in glyph_metrics.items()
                    if name in ascii_glyph_names]
    ascii_width_count = Counter(ascii_widths)
    ascii_most_common_width = ascii_width_count.most_common(1)[0][1]
    seems_monospaced = ascii_most_common_width >= len(ascii_widths) * 0.8
  
    width_max = max([adv for k, (adv, lsb) in glyph_metrics.items()])
    most_common_width = Counter(glyph_metrics.values()).most_common(1)[0][0][0]
    return {
        "seems_monospaced": seems_monospaced,
        "width_max": width_max,
        "most_common_width": most_common_width,
    }