UIAppFonts. The relevant section of the Info.plist file looks like: <key>UIAppFonts</key> <array> <string>Fonts/Chunk.otf</string> <string>Fonts/lmmono10-regular.otf</string> <string>Fonts/lmmono10-italic.otf</string> <string>Fonts/lmmonocaps10-regular.otf</string> <string>Fonts/lmmonocaps10-oblique.otf</string> </array>
"Fonts" is a subdirectory of the project root (i.e., at the same level as Main.cs and Info.plist) and the build action for the font files is "Content." I'm not sure what "Resource" is for but it doesn't seem to be much use with MonoTouch. :) --D. On Mon, Jun 13, 2011 at 7:47 AM, bluuemango <[email protected]> wrote: > Hi David, > > I have a few questions about the settings you used to get this to work: > > Which key did you add to the info.plist file - "Application fonts resource > path" or "UIAppFonts"? > > For the value of the key, did you give the folder where the tff file > resides, or the full path to the ttf file? > > When adding the ttf file to your project, did you set the build action to > Content or Embed as Resource? > > Your help is very much appreciated! > > Thanks, > Anita > > -- > View this message in context: > http://monotouch.2284126.n4.nabble.com/Custom-Fonts-tp3591283p3593997.html > Sent from the MonoTouch mailing list archive at Nabble.com. > _______________________________________________ > MonoTouch mailing list > [email protected] > http://lists.ximian.com/mailman/listinfo/monotouch > -- David Moles [email protected]
_______________________________________________ MonoTouch mailing list [email protected] http://lists.ximian.com/mailman/listinfo/monotouch
