code: def com_google_fonts_check_family_tnum_horizontal_metrics(fonts):
    
    from fontbakery.constants import RIBBI_STYLE_NAMES
    from fontTools.ttLib import TTFont
    RIBBI_ttFonts = [TTFont(f)
                     for f in fonts
                     if style(f) in RIBBI_STYLE_NAMES]
    tnum_widths = {}
    for ttFont in RIBBI_ttFonts:
      glyphs = ttFont.getGlyphSet()
      tnum_glyphs = [(glyph_id, glyphs[glyph_id])
                     for glyph_id in glyphs.keys()
                     if glyph_id.endswith(".tnum")]
      for glyph_id, glyph in tnum_glyphs:
        if glyph.width not in tnum_widths:
          tnum_widths[glyph.width] = [glyph_id]
        else:
          tnum_widths[glyph.width].append(glyph_id)
  
    if len(tnum_widths.keys()) > 1:
      max_num = 0
      most_common_width = None
      for width, glyphs in tnum_widths.items():
        if len(glyphs) > max_num:
          max_num = len(glyphs)
          most_common_width = width
  
      del tnum_widths[most_common_width]
      yield FAIL, (f"The most common tabular glyph width is {most_common_width}."
                    " But there are other tabular glyphs with different widths"
                   f" such as the following ones:\n\t{tnum_widths}.")
    else:
      yield PASS, "OK"
docs: All tabular figures must have the same width across the RIBBI-family.