I want to add custom fonts in my rails project.

fonts is in assets/stylesheets folder.
In my Css . I declare font-face :

@font-face
{
font-family: Zawgyi-One;
src: url("/assets/stylesheets/Zawgyi-One.ttf");
}.

ttf is not ok @ ruby on rails ?

How I do ?

Regards,

Phoesan

--
Posted via http://www.ruby-forum.com/.

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Search Discussions

Discussion Posts

Follow ups

Related Discussions

Discussion Navigation
viewthread | post
posts ‹ prev | 1 of 2 | next ›
Discussion Overview
grouprubyonrails-talk @
categoriesrubyonrails
postedAug 14, '12 at 9:33a
activeAug 14, '12 at 3:34p
posts2
users2
websiterubyonrails.org
irc#RubyOnRails

2 users in discussion

Phoe san: 1 post Rob Biedenharn: 1 post

People

Translate

site design / logo © 2021 Grokbase