Using a custom font with rmagick in Rails 3.x
text = Magick::Draw.new
text.font = “#{Rails.root}/lib/fonts/[font filename].ttf”
Written by Blake Lucchesi
Related protips
1 Response

Are there any issues with this approach when deploying?
over 1 year ago
·
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Rails
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#