Last Updated: February 25, 2016
·
2.875K
· blakelucchesi

Using a custom font with rmagick in Rails 3.x

text = Magick::Draw.new
text.font = “#{Rails.root}/lib/fonts/[font filename].ttf”

1 Response
Add your response

Are there any issues with this approach when deploying?

over 1 year ago ·