Greg Hauptmann
2009-Jan-17 22:02 UTC
how do I add a new font for my RoR website (hosted on linux, developed on Mac) ????
Hi, Any pointers where to start digging re how I could use some fonts (e.g. http://www.iconian.com/c.html ) in my Rails web site? I develop on Mac, but deploy to a Linux box. Does this mean I have to work out how to install fonts on both operating system I guess? Would I then only have to refer to the fonts in the CSS style sheet such that my RoR application beyond this would need no further modification? -- Greg http://blog.gregnet.org/ --~--~---------~--~----~------------~-------~--~----~ 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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Robby Russell
2009-Jan-17 22:09 UTC
Re: how do I add a new font for my RoR website (hosted on linux, developed on Mac) ????
Greg, You might want to read up a bit more on how fonts are used on the web. If you declare specific fonts to be used in your CSS, it only tells the browser to try and use it. If the person browsing the site/application doesn''t have the font specific installed on their application, then they it''ll default to a font it does have. Here is some information that explains it. * http://www.w3.org/TR/CSS2/fonts.html#q1 Hope that helps.. Robby On Sat, Jan 17, 2009 at 2:02 PM, Greg Hauptmann <greg.hauptmann.ruby-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> Hi, > Any pointers where to start digging re how I could use some fonts > (e.g. http://www.iconian.com/c.html ) in my Rails web site? > I develop on Mac, but deploy to a Linux box. Does this mean I have to work > out how to install fonts on both operating system I guess? Would I then > only have to refer to the fonts in the CSS style sheet such that my RoR > application beyond this would need no further modification? > > -- > Greg > http://blog.gregnet.org/ > > > > > >-- Robby Russell Chief Evangelist, Partner PLANET ARGON, LLC design // development // hosting w/Ruby on Rails http://www.planetargon.com/ http://www.robbyonrails.com/ aim: planetargon +1 503 445 2457 +1 877 55 ARGON [toll free] +1 815 642 4068 [fax] --~--~---------~--~----~------------~-------~--~----~ 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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Greg Hauptmann
2009-Jan-17 22:24 UTC
Re: how do I add a new font for my RoR website (hosted on linux, developed on Mac) ????
oh, that makes sense - so for our Web Apps we''re pretty much stuck to common denominator fonts for the browsers then? On Sun, Jan 18, 2009 at 8:09 AM, Robby Russell <robby-/Lcn8Y7Ot69QmPsQ1CNsNQ@public.gmane.org>wrote:> > Greg, > > You might want to read up a bit more on how fonts are used on the web. > If you declare specific fonts to be used in your CSS, it only tells > the browser to try and use it. If the person browsing the > site/application doesn''t have the font specific installed on their > application, then they it''ll default to a font it does have. Here is > some information that explains it. > > * http://www.w3.org/TR/CSS2/fonts.html#q1 > > Hope that helps.. > > Robby > > On Sat, Jan 17, 2009 at 2:02 PM, Greg Hauptmann > <greg.hauptmann.ruby-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > Hi, > > Any pointers where to start digging re how I could use some fonts > > (e.g. http://www.iconian.com/c.html ) in my Rails web site? > > I develop on Mac, but deploy to a Linux box. Does this mean I have to > work > > out how to install fonts on both operating system I guess? Would I then > > only have to refer to the fonts in the CSS style sheet such that my RoR > > application beyond this would need no further modification? > > > > -- > > Greg > > http://blog.gregnet.org/ > > > > > > > > > > > > > > > -- > Robby Russell > Chief Evangelist, Partner > > PLANET ARGON, LLC > design // development // hosting w/Ruby on Rails > > http://www.planetargon.com/ > http://www.robbyonrails.com/ > aim: planetargon > > +1 503 445 2457 > +1 877 55 ARGON [toll free] > +1 815 642 4068 [fax] > > > >-- Greg http://blog.gregnet.org/ --~--~---------~--~----~------------~-------~--~----~ 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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Fernando Perez
2009-Jan-17 22:36 UTC
Re: how do I add a new font for my RoR website (hosted on linux, developed on Mac) ????
Greg Hauptmann wrote:> oh, that makes sense - so for our Web Apps we''re pretty much stuck to > common > denominator fonts for the browsers then? >Exactly. -- 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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Greg Hauptmann
2009-Jan-17 22:40 UTC
Re: how do I add a new font for my RoR website (hosted on linux, developed on Mac) ????
I guess you could go some sort of flash based approach, but then you have the issues associated with that, e.g. still need to have same text behind for screen readers, how do search engines then go indexing your site etc... On Sun, Jan 18, 2009 at 8:36 AM, Fernando Perez < rails-mailing-list-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org> wrote:> > Greg Hauptmann wrote: > > oh, that makes sense - so for our Web Apps we''re pretty much stuck to > > common > > denominator fonts for the browsers then? > > > Exactly. > -- > Posted via http://www.ruby-forum.com/. > > > >-- Greg http://blog.gregnet.org/ --~--~---------~--~----~------------~-------~--~----~ 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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Peter De Berdt
2009-Jan-17 23:03 UTC
Re: how do I add a new font for my RoR website (hosted on linux, developed on Mac) ????
On 17 Jan 2009, at 23:40, Greg Hauptmann wrote:> I guess you could go some sort of flash based approach, but then you > have the issues associated with that, e.g. still need to have same > text behind for screen readers, how do search engines then go > indexing your site etc...See http://www.mikeindustries.com/blog/sifr/ and similar solution. Degrade gracefully and fully indexable. The big question is: do you really need it? The default system fonts can be enough to make a nice looking website without the need for such a solution. Best regards Peter De Berdt --~--~---------~--~----~------------~-------~--~----~ 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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Marnen Laibow-Koser
2009-Jan-18 01:41 UTC
Re: how do I add a new font for my RoR website (hosted on linux, developed on Mac) ????
On Jan 17, 5:36 pm, Fernando Perez <rails-mailing-l...-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org> wrote:> Greg Hauptmann wrote: > > oh, that makes sense - so for our Web Apps we''re pretty much stuck to > > common > > denominator fonts for the browsers then? > > Exactly.I feel compelled to point out that this is only part of the story. First of all, it is always possible to specify a weird font as first choice, as long as you''re willing to put up with fallback to another font. Second -- and more important -- is the fact that more and more browsers support dynamic font embedding as specified in the CSS2 standard; please see http://www.alistapart.com/articles/cssatten and http://en.wikipedia.org/Dynamic_fonts . It''s not universal yet, but with any luck, it will become more so. Good luck! Best, -- Marnen Laibow-Koser marnen-sbuyVjPbboAdnm+yROfE0A@public.gmane.org http://www.marnen.org --~--~---------~--~----~------------~-------~--~----~ 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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Sazima
2009-Jan-18 20:53 UTC
Re: how do I add a new font for my RoR website (hosted on linux, developed on Mac) ????
Finally, when you absolutely need something exactly as you want, use images... Cheers, Sazima On Jan 17, 11:41 pm, Marnen Laibow-Koser <mar...-sbuyVjPbboAdnm+yROfE0A@public.gmane.org> wrote:> On Jan 17, 5:36 pm, Fernando Perez <rails-mailing-l...-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org> > wrote: > > > Greg Hauptmann wrote: > > > oh, that makes sense - so for our Web Apps we''re pretty much stuck to > > > common > > > denominator fonts for the browsers then? > > > Exactly. > > I feel compelled to point out that this is only part of the story. > First of all, it is always possible to specify a weird font as first > choice, as long as you''re willing to put up with fallback to another > font. > > Second -- and more important -- is the fact that more and more > browsers support dynamic font embedding as specified in the CSS2 > standard; please seehttp://www.alistapart.com/articles/cssattenandhttp://en.wikipedia.org/Dynamic_fonts. It''s not universal yet, but > with any luck, it will become more so. > > Good luck! > > Best, > -- > Marnen Laibow-Koser > mar...-sbuyVjPbboAzsqOy+PStLQ@public.gmane.org://www.marnen.org--~--~---------~--~----~------------~-------~--~----~ 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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---