I have a @”¾ÕÁõ ¦ºö ¿£ Å¢ÕõÒš¡¸” string and a font to read it in .ttf format. I tried with the following code but the font is not getting displayed in UILabel. Can any one help me to find a solution for this please?
This is what I have tried:
FontLabel *label = [[FontLabel alloc] initWithFrame:CGRectMake(10, 10, 0, 0) fontName:@"ELCOT-Kanchi" pointSize:20.0f];
[label setText:@"¾ÕÁõ ¦ºö ¿£ Å¢ÕõÒš¡¸"];
[label sizeToFit];
But I don’t get the results.
I have also added the font to my resource file and included in info plist under Fonts Provided By Application array.
Hi clean your build and make sure the font is added on your project’s copy resources bundle have a look into attached screenshot.
I hope this will be helpful for you , Happy Coding 🙂