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

python - How to create a legend for 3D bar in matplotlib? -

java - Multi-Label Document Classification -

php - Dynamic url re-writing using htaccess -