code: def com_google_fonts_check_name_description_max_length(ttFont):
    
    failed = False
    for name in ttFont['name'].names:
      if (name.nameID == NameID.DESCRIPTION and
          len(name.string.decode(name.getEncoding())) > 200):
        failed = True
        break
  
    if failed:
      yield WARN, ("A few name table entries with ID={} (NameID.DESCRIPTION)"
                   " are longer than 200 characters."
                   " Please check whether those entries are copyright notices"
                   " mistakenly stored in the description string entries by"
                   " a bug in an old FontLab version."
                   " If that's the case, then such copyright notices must be"
                   " removed from these entries."
                   "").format(NameID.DESCRIPTION)
    else:
      yield PASS, "All description name records have reasonably small lengths."
docs: Description strings in the name table must not exceed 200 characters.