code: func generateFontID(fdt fontDefType) (string, error) {
  	// file can be different if generated in different instance
  	fdt.File = ""
  	b, err := json.Marshal(&fdt)
  	return fmt.Sprintf("%x", sha1.Sum(b)), err
  }
docs: // generateFontID generates a font Id from the font definition