Questions tagged [uiappfonts]

UIAppFonts is an Info.plist key used by an iOS app to specify custom font files included in the bundle.

UIAppFonts (also known as "Fonts provided by application") is an Info.plist key used by an iOS app to specify custom fonts included in the bundle. It gives an array of font file names (as strings) that should be loaded by the OS for use in the app.

Note: custom fonts are only supported in iOS 3.2+.

For more information, see the Apple Documentation for the UIAppFonts key.

6 questions
13
votes
3 answers

How to use different fonts for different languages in an iOS application?

I am in a scenario where I want to use different fonts for the different languages in my iOS application. At first, I thought of using localized versions of .ttf files. I tried adding the localized .ttf files in the localized project folders for…
3
votes
2 answers

Can I close file descriptors for currently unused UIAppFonts?

We bundle a lot of fonts with our iOS app, and we put them all in UIAppFonts for faster loading. (We're using them inside UIWebView and it's much faster than using loading files with @font-face). However this lead me to occasionally get this kind of…
Dan Abramov
  • 264,556
  • 84
  • 409
  • 511
2
votes
1 answer

UIAppFonts load automatically the font?

I am trying to use a custom font in my iPhone app but somehow it does not load I believe at all in the app as a start to my problem. I dragged and dropped the "My Font.ttf" in xcode and create the key with UIAppFonts. First question: I guess the…
geebee
  • 131
  • 1
  • 11
2
votes
2 answers

Swap default iOS system font in apps

I'm trying to build an app to install a custom set of fonts for other ios apps to use. Is it possible to change iOS 6 default set of fonts and add a custom set of font that other apps can use?
beactive
  • 759
  • 1
  • 7
  • 12
1
vote
2 answers

Custom font in iOS app is used in places it shouldn't be

I've added the custom font "Helvetica-Condensed-Bold.otf" (font family Helvetica, font name Helvetica-Condensed-Bold) to my iOS app using the UIAppFonts Info.plist key. As expected, this font is used when I do the following: someLabel.font = [UIFont…
Douwe Maan
  • 6,888
  • 2
  • 34
  • 35
1
vote
1 answer

Font file added to project, plist, code, and compile resources, but still not working

I have followed the steps discussed in this related question, but without success. Added file fontFile.ttf to Xcode Project resources. Added fontFile.ttf as a string in the UIAppFonts array in Info.plist. Added actualFontName in the code. Added…
Old McStopher
  • 6,295
  • 10
  • 60
  • 89