docs: def com_google_fonts_check_metadata_nameid_post_script_name(ttFont, font_metadata):
    """Checks METADATA.pb font.post_script_name matches
       postscript name declared on the name table.
    """
    failed = False
    from fontbakery.utils import get_name_entry_strings
  
    postscript_names = get_name_entry_strings(ttFont, NameID.POSTSCRIPT_NAME)
    if len(postscript_names) == 0:
      failed = True
      yield FAIL, Message("missing",
                          ("This font lacks a POSTSCRIPT_NAME"
                           " entry (nameID={}) in the "
                           "name table.").format(NameID.POSTSCRIPT_NAME))
    else:
      for psname in postscript_names:
        if psname != font_metadata.post_script_name:
          failed = True
          yield FAIL, Message("mismatch",
                              ("Unmatched postscript name in font:"
                               " TTF has \"{}\" while METADATA.pb"
                               " has \"{}\"."
                               "").format(psname,
                                          font_metadata.post_script_name))
    if not failed:
      yield PASS, ("Postscript name \"{}\" is identical"
                   " in METADATA.pb and on the"
                   " TTF file.").format(font_metadata.post_script_name)