One of the great new features in Coda iOS 2.0 is the ability to import a custom font for use in the editor or terminal.

In short: you’ll need to grab the font file from a remote server in Coda iOS. Here’s how.

One of the easiest ways to transfer a file from your Mac to Coda iOS is to enable the SFTP server on your Mac, then add your Mac as a remote server in Coda. It will allow you secure access to all of your files, so you can grab not only the font file, but any local website files you may have stored on your Mac.

  1. Take the font file (*.ttf) in question and save it to an easy-to-reach place, like your Desktop.
  2. Enable your Mac’s SSH/SFTP server by turning on Remote Login in the Sharing pane of System Preferences. Take note of your computer’s name – you’ll need that in a second.
  3. In Coda iOS, add a new SFTP server. Use YourComputerName.local as the server address and your user credentials as your login.
  4. Tap the Save button, then tap on your newly saved server.
  5. Tap Remote. You should now be looking at your Mac’s home directory.
  6. Navigate to the directory where you’ve saved your font.
  7. Drag your font file to the purple “Download to Local Documents” target.
  8. From here, go back to your sites list.
  9. Tap the gear icon to open Coda’s settings.
  10. Tap Fonts
  11. Tap the + button and select your newly imported font.

You can now select this font in your theme settings when editing a file, or in your Terminal theme settings.

This article was last updated on February 12, 2018