ios - Adding a Custom Font (Lexia) -
i trying add font lexia project not working. did was;
i downloaded .ttf files here: http://www.dafont.com/lexia.font
dragged 2 lexia___.ttf , lexib___.tff files project , added them target (i tried copying them bundle resources)
then added them in plist file of no use. (i tried using different names didnt work)
i tried names in code not appearing there
nsarray *arrfonts = [uifont familynames]; nslog(@"name = %@",arrfonts); 

the ttf files need added resources section of project. names put in info.plist file (your marsden-info.plist) needs match filenames of ttf files.
you entered lexia-regular.ttf , lexia-bold.ttf files appear named lexia___.ttf , lexib___.ttf. names must match exactly, including case.
Comments
Post a Comment