PadCodedocs

Fonts

Add your own font files to an app and use them for any text.

Besides the system font and every font already on the iPad, an app can have fonts of its own: .ttf or .otf files you add. They're saved with the app, so they go wherever it goes.

#Add a font

  1. Open the Assets tab in the left panel (or press ⌘4).
  2. Under Fonts, tap Add font. The Typeface list opens.
  3. Tap Add font file… and pick one or more .ttf or .otf files in Files.

The font appears under Fonts in the Assets tab, written in its own letters, by its family name (the name the font file gives itself, like Lobster). If a file isn't a font PadCode can use, the list says so: "“file name” isn't a font PadCode can use."

Use a font you have the right to use. You can also add font files with Add file, in the Files section: they go to Fonts.

#Use a font

  1. Select a view that shows text, like a Text or a Button.
  2. In the Inspector's Style tab, under Text, tap Typeface.
  3. Under This app, tap your font.
A Text set to the Georgia typeface, under Text in the Style tab.

The Typeface list has two parts:

  • This app: System (San Francisco), the fonts you added, and Add font file….
  • On this iPad: every font installed on the iPad, like Georgia or Avenir.

Search at the top to find one by name. To set a size, use Font in the same section: with a text style like Body, the text grows with the text size people choose on their iPad; with Custom, it stays the size you type. See Text.

#Delete a font

Long-press a font under Fonts in the Assets tab and choose Delete Font. You can also tap the trash button next to it in the Typeface list.

#See also