How to Install Font in running site

General questions regarding the use of languages in Joomla! 1.5.

Moderator: General Support Moderators

Joomla! Enthusiast
Joomla! Enthusiast
Posts: 107
Joined: Tue Aug 17, 2010 8:13 am
Location: Delhi

How to Install Font in running site

Post by neeraj10786 » Tue Feb 28, 2012 7:04 am

I want to run font "KRDV010" in my Joomla site. I have hindi content in this font "KRDV010"
and i have this font too
Please tell me what to do that this content work fine on the Joomla site
so that visitors can read my content easily, without installing this font

it's very urgent for me

Joomla! Hero
Joomla! Hero
Posts: 2301
Joined: Sat Aug 29, 2009 3:08 am
Location: Akron PA

Re: How to Install Font in running site

Post by aemiller » Fri Mar 09, 2012 2:33 am

These quotes were found at

Firstly, you must do it in your themes'/template CSS file, like so;

@font-face {
font-family: RAVIE;
src: url(''); /* in the URL declaration you must specify the .TTF extension */

Then you can use the usual font-family declaration to call your font type.

font-family: RAVIE; /* no .ttf */

And there you have it. now it doesn't matter if your visitors have that font type installed or not. everyone will see your font selection on your pages.

a small correction to my previous post. The above will be valid for any browser other than IE.

In order to make IE swallow what you're trying to fit down it's throat you'll have to convert the valid TTF font file to an Microsoft EOT format, and use the similar technique to embed your font into your page.

you can do it online here.

then use the same method as above for IE browsers

@font-face {
font-family: MyCustomFont;
src: url("BRLNSDB_-_Copy_-_Copy.eot") /* EOT file for IE */

Leave it to Microsoft to typically complicate everyone's life.. *again* no one can blame them for helping anyone except for themselves...
In the current version (JCE 2.0.4) the significant lines of code can be found in
administrator/components/com_jce/models/editor.php (approx. at line 486), namely
// Default font list
        $fonts = array(
            'Andale Mono=andale mono,times',
            'Arial Black=arial black,avant garde',
            'Book Antiqua=book antiqua,palatino',
            'Comic Sans MS=comic sans ms,sans-serif',
            'Courier New=courier new,courier',
            'Times New Roman=times new roman,times',
            'Trebuchet MS=trebuchet ms,geneva',
            'Wingdings=wingdings,zapf dingbats'



Return to “Language - Joomla! 1.5”