0
Welcome Guest! Login
0 items Join Now

Tutorial - how to add custom fonts

  • Re: Tutorial - how to add custom fonts

    Posted 12 years 1 month ago
    • re: Gantry template. There is no /fonts folder. Where does one put the .eot and .ttf files? where does one add code?
  • Re: Tutorial - how to add custom fonts

    Posted 12 years 1 month ago
    • Sorry to hassle but an answer on this would really help me out atm.

      A million thankyous in advance.
    • rendertank's Avatar
    • rendertank
    • Rocketeer
    • Posts: 60
    • Thanks: 0
    • Designer

    Re: Tutorial - how to add custom fonts

    Posted 12 years 1 month ago
    • How would I do this using Tachyon?
  • Re: Tutorial - how to add custom fonts

    Posted 12 years 1 month ago
    • Hi,

      Really need a reply on this if possible?

      Thanks,
      Sam.
  • Re: Tutorial - how to add custom fonts

    Posted 12 years 1 month ago
    • Sam,
      My take on this is that you install all the fonts in /templates/yourtemplate/fonts, even if the folder doesn't exist yet. Install the default weight/style names for each font,
      i.e.
      fontname.eot
      fontname-bold.eot
      fontname-italic.eot
      fontname-bolditalic.eot

      Even though you only list "fontname.eot" as the font name, I believe when you select bold/italic/etc., the renderer will look for the appropriate weight/style and use it, if installed.

      Until we hear from an "expert", that's the route I'm going today.
    • MNdev's Avatar
    • MNdev
    • Jr. Rocketeer
    • Posts: 26
    • Thanks: 1

    Re: Tutorial - how to add custom fonts

    Posted 12 years 1 month ago
    • Looking for a Joomla 2.5 Momentum solution is it's possible.

      Thanks in advance.
  • Re: Tutorial - how to add custom fonts

    Posted 12 years 3 weeks ago
    • Hey Kat,
      Any updates to this inquiry?

      Kat, I think I have a similar question.
      I have a converted font that has regular, bold, italic and bold-italic; .eot and .ttf files.
      I would like to use the one family, but have access to the four alternate styles.

      Can you give me an example of how this would need to be incorporated in to Modulus on J!2.5 with Gantry 3.2.17?

      Thank you.
    • prim's Avatar
    • prim
    • Preeminent Rocketeer
    • Posts: 17290
    • Thanks: 217

    Re: Tutorial - how to add custom fonts

    Posted 12 years 3 weeks ago
    • Can't you just use:

      font-family: yourcustomfont, helvetica, arial, sans-serif;

      ...Whenever you need to use that specific font?
    • Please reply with a direct link to the issue & create a new thread for each new issue.

      A template is only as good as the content that goes into it ;) - DanG
  • Re: Tutorial - how to add custom fonts

    Posted 12 years 3 weeks ago
    • Hey Prim,
      Thanks for the response, but I don't entirely know how @fontface fonts work in Joomla 2.5 or how they relate to use in the RT template.

      Many of us here just looking for a step-by-step walk-through that includes installing variations (bold, italic, etc.) for application to the template as well as the content (mainbody) areas.

      Fonts go in the /template/fonts folder, I know that.
      But do I need all of them, .ttf, .eot, .svg. .woff?
      Should I install the unedited .css file that came with the .fontface download package?
      If yes, does that get added to the template.css file under the /* fonts */ heading?

      So many questions, I know. How about a Gantry Font-Manager plug-in. (I'd pay for that.)
    • prim's Avatar
    • prim
    • Preeminent Rocketeer
    • Posts: 17290
    • Thanks: 217

    Re: Tutorial - how to add custom fonts

    Posted 12 years 3 weeks ago
    • You need those different formats for browser compatibility.

      Mmm... I will add my tutorial here so you can comment on it. 8)
    • Please reply with a direct link to the issue & create a new thread for each new issue.

      A template is only as good as the content that goes into it ;) - DanG

Time to create page: 0.071 seconds