// GetRandomCaptchaFont return random captcha font by language
GetRandomCaptchaFont return random captcha font by language
// GetRandomCaptchaFont return random captcha font by language
func GetRandomCaptchaFont(lang string) []byte {
	rand.Seed(time.Now().UnixNano())
	if lang == "fa" {
		n := rand.Int() % len(CaptchaFontsFa)
		return CaptchaFontsFa[n]
	} else if lang == "ar" {
		n := rand.Int() % len(CaptchaFontsAr)
		return CaptchaFontsAr[n]
	}
	n := rand.Int() % len(CaptchaFontsEn)
	return CaptchaFontsEn[n]
}
func GetRandomCaptchaFont ( lang string ) [ ] byte { rand . Seed ( time . Now ( ) . UnixNano ( ) ) if lang == " " { n := rand . Int ( ) % len ( CaptchaFontsFa ) return CaptchaFontsFa [ n ] } else if lang == " " { n := rand . Int ( ) % len ( CaptchaFontsAr ) return CaptchaFontsAr [ n ] } n := rand . Int ( ) % len ( CaptchaFontsEn ) return CaptchaFontsEn [ n ] }
GetRandomCaptchaFont return random captcha font by language
GetRandomCaptchaFont return random captcha font by language