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); 

enter image description here

enter image description here

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

Popular posts from this blog

user interface - Python attempting to create a simple gui, getting "AttributeError: 'MainMenu' object has no attribute 'intro_screen'" -

jquery - Common JavaScript snippet to share files on Google Drive, Dropbox, Box.net or SkyDrive -

Android Gson.fromJson error -