code: def com_google_fonts_check_name_line_breaks(ttFont):
    
    failed = False
    for name in ttFont["name"].names:
      string = name.string.decode(name.getEncoding())
      if "\n" in string:
        failed = True
        yield FAIL, ("Name entry {} on platform {} contains"
                     " a line-break.").format(NameID(name.nameID).name,
                                              PlatformID(name.platformID).name)
    if not failed:
      yield PASS, ("Name table entries are all single-line"
                   " (no line-breaks found).")
docs: Name table entries should not contain line-breaks.