Created
May 13, 2012 15:21
-
-
Save beakr/2688904 to your computer and use it in GitHub Desktop.
Custom fonts in Rubymotion
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Rakefile | |
Motion::Project::App.setup do |app| | |
# Use `rake config' to see complete project settings. | |
app.name = 'helloapp' | |
app.fonts = ['consolas.ttf'] | |
end | |
# 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