Skip to content

Instantly share code, notes, and snippets.

@beakr beakr/gist:2688904
Created May 13, 2012

What would you like to do?
Custom fonts in Rubymotion
# Rakefile
Motion::Project::App.setup do |app|
# Use `rake config' to see complete project settings. = 'helloapp'
app.fonts = ['consolas.ttf']
# Put consolas.ttf in resources/
# your_controller.rb
UIFont.fontWithName('Consolas', size:30)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.