Choose from our various pricing plans. There is a package for everyone!


Solved: Error using font for title Forum, sub forum and topic title.

View previous topic View next topic Go down

Solved: Error using font for title Forum, sub forum and topic title.

Post by Mostone on Sat May 11, 2013 9:24 am

hello all Smile
I want to ask Sad

why my font doesnt work in my forum? (Error using font for title Forum, sub forum and topic title.)
before im using font type "spy agency" in my forum.

that font work only if in my computer/notebook. because before im install in my computer.

but in another computer/notebook, doesn't work. Sad

why about this?? i need my font work in another computer,
although another computer not install my font. Sad

more details about my problem you can see this picture:


my forum:
http://astajim.indonesianforum.net/

please help me, please Sad

thanks before Sad
avatar
Mostone
Member
Member

Age : 24
Posts : 84
Join date : 2013-04-25
Reputation : 1

View user profile

Back to top Go down

Re: Solved: Error using font for title Forum, sub forum and topic title.

Post by Mostone on Sun May 12, 2013 12:33 pm

BUMP!
Please help me mr.matti and mr.irate.

please help me css help forum

Please Sad
avatar
Mostone
Member
Member

Age : 24
Posts : 84
Join date : 2013-04-25
Reputation : 1

View user profile

Back to top Go down

Re: Solved: Error using font for title Forum, sub forum and topic title.

Post by Irate on Sun May 12, 2013 2:39 pm

I think the answer of Psycho on forums.phpfreaks.com was quite sufficient, no?
avatar
Irate
Member
Member

Age : 21
Posts : 91
Join date : 2013-05-01
Forum Version : PhpBB2
Reputation : 2

View user profile http://duelacademy.net

Back to top Go down

Re: Solved: Error using font for title Forum, sub forum and topic title.

Post by Mostone on Sun May 12, 2013 5:14 pm

conclusion:
He gave me options mr.irate

1. There are ways to download a font to the user's machine, but I've never been able to get it to work consistently. You can research this if you wish, but I wouldn't get my hopes up.


2. Create an image of the text using the font. Then use the image on your page.

I think, it is very difficult. make font in the form of pictures, then made ​​title for: title forum, sub forum title, topic title.

hmm Sad
before i foun ttf file format/ tutorial how to use custom font

this
http://www.howtoplaza.com/how-to-use-custom-fonts-on-your-website-with-css

but i dont know this code work or not, because i dont know how to use this code (explore this code so this font can work) for title forum, title sub forum, topic title.

please help me Sad

------------------------

before this code for my css

Code:
        .secondarytitle, .secondarytitle h2 {
            color: #EEEEEE;
            text-align: left;
            font-family: Spy Agency;
            text-shadow: 0 -1px 0 #666;
            font-size: 11px;
            padding-left: 5px;
            text-transform: uppercase;
            letter-spacing: 1px;
            padding-top: 5px;
            font-weight: normal;
        }

please help me Sad
avatar
Mostone
Member
Member

Age : 24
Posts : 84
Join date : 2013-04-25
Reputation : 1

View user profile

Back to top Go down

Re: Solved: Error using font for title Forum, sub forum and topic title.

Post by Irate on Sun May 12, 2013 5:31 pm

If the browser does not support Spy Agency, it won't work.

If you are really required to have it in the same font, do what he said.
avatar
Irate
Member
Member

Age : 21
Posts : 91
Join date : 2013-05-01
Forum Version : PhpBB2
Reputation : 2

View user profile http://duelacademy.net

Back to top Go down

Re: Solved: Error using font for title Forum, sub forum and topic title.

Post by Mostone on Sun May 12, 2013 6:33 pm

all computers/laptop I tried, is mozilla firefox. with the latest version.

but mozilla can not read my font, except for computer which already install fonts spy agency.

before I have not tried use font with ttf file, you know about ttf file?
maybe that file can read all font in all browser, without install font spy agency first in that computer/laptop.

please help me mr.irate Sad

--------------------

and i found this code
can you explain again, i dont understand about this

he say:
Like I told you, you need to use google fonts script for this... like so"
Code:
        WebFontConfig = {
                google: { families: [ 'Tangerine', 'Cantarell' ] }
              };
        (function() {
        var link_font = document.createElement('script');
        link_font.src=('https:' == document.location.protocol ? 'https' : 'http') +"://ajax.googleapis.com/ajax/libs/webfont/1/webfont.js";
        link_font.type="text/javascript";
        link_font.async="true";
        link_font.id="google_fonts";
        var get_script= document.getElementById('google_fonts')[0];
        get_script.parentNode.insertBefore(link_font,get_script);
        }();

CSS
Code:
        .element{font-family:'tangerine',sans-serif}
This way will be easier as it won't be such a long cache request.
-----------------

please explain again mr.irate,
i need use font spy agency.

I do not understand how to install font soy agency to that code.

please help me Sad
avatar
Mostone
Member
Member

Age : 24
Posts : 84
Join date : 2013-04-25
Reputation : 1

View user profile

Back to top Go down

Re: Solved: Error using font for title Forum, sub forum and topic title.

Post by Irate on Sun May 12, 2013 7:10 pm

If Spy Agency is registered in the Google WebAPI, that code should work.

Where did you get that code from?
avatar
Irate
Member
Member

Age : 21
Posts : 91
Join date : 2013-05-01
Forum Version : PhpBB2
Reputation : 2

View user profile http://duelacademy.net

Back to top Go down

Re: Solved: Error using font for title Forum, sub forum and topic title.

Post by Mostone on Mon May 13, 2013 9:20 am

@Irate wrote:If Spy Agency is registered in the Google WebAPI, that code should work.

Where did you get that code from?

Mr.irate before i want to ask.
Whether in your computer/laptop, that font it out (spy agency) in my forum?
http://astajim.indonesianforum.net/

Only in title forum?

Hmm, i get that code in easybbtutorial,

Please help me mr.irate, please Sad
avatar
Mostone
Member
Member

Age : 24
Posts : 84
Join date : 2013-04-25
Reputation : 1

View user profile

Back to top Go down

Re: Solved: Error using font for title Forum, sub forum and topic title.

Post by Irate on Mon May 13, 2013 10:34 am

This is what your form categories look like for me:

avatar
Irate
Member
Member

Age : 21
Posts : 91
Join date : 2013-05-01
Forum Version : PhpBB2
Reputation : 2

View user profile http://duelacademy.net

Back to top Go down

Re: Solved: Error using font for title Forum, sub forum and topic title.

Post by Mostone on Mon May 13, 2013 10:48 am

@Irate wrote:This is what your form categories look like for me:


hello mr.irate
you using mobile for now.??
I can see from your screnshoot, it is via mobile. :p

yeah, if im use my tablet (samsung galaxy tab) my font spy agency out. and i can see my font.

but if im online in computer/laptop. my font not out Sad

omg Crying or Very sad

please help me T_T
avatar
Mostone
Member
Member

Age : 24
Posts : 84
Join date : 2013-04-25
Reputation : 1

View user profile

Back to top Go down

Re: Solved: Error using font for title Forum, sub forum and topic title.

Post by Irate on Mon May 13, 2013 10:51 am

@Mostone wrote:

hello mr.irate
you using mobile for now.??
I can see from your screnshoot, it is via mobile. :p

yeah, if im use my tablet (samsung galaxy tab) my font spy agency out. and i can see my font.

but if im online in computer/laptop. my font not out Sad

omg Crying or Very sad

please help me T_T

Yes, that was taken from my mobile.

Try clearing your cache and then reloading your forum.
avatar
Irate
Member
Member

Age : 21
Posts : 91
Join date : 2013-05-01
Forum Version : PhpBB2
Reputation : 2

View user profile http://duelacademy.net

Back to top Go down

Re: Solved: Error using font for title Forum, sub forum and topic title.

Post by Mostone on Mon May 13, 2013 11:01 am

hmm, i done clear cache my mozilla but same not out Sad

I want to ask you, i want be replaced with a picture?
like this



please help me mr.irate?
avatar
Mostone
Member
Member

Age : 24
Posts : 84
Join date : 2013-04-25
Reputation : 1

View user profile

Back to top Go down

Re: Solved: Error using font for title Forum, sub forum and topic title.

Post by Irate on Mon May 13, 2013 11:40 am

You could try making a .png image with the fonts, then adding this code to your CSS...

Code:
.secondarytitle {
background-image: url('your image url to the font images');
background-repeat: no-repeat;
padding-left: 13px;
/* and more CSS already defined */
}
.secondarytitle h2 {
visibility: hidden;
}

But that's only if you work with images.
avatar
Irate
Member
Member

Age : 21
Posts : 91
Join date : 2013-05-01
Forum Version : PhpBB2
Reputation : 2

View user profile http://duelacademy.net

Back to top Go down

Re: Solved: Error using font for title Forum, sub forum and topic title.

Post by Mostone on Mon May 13, 2013 12:26 pm

hmm, thanks for help mr.irate

but the result is like this, missing background,


and all the forum title, replace with my image. Sad lol

i need change one of name the forum.

please help me mr.irate

thanks before Smile
avatar
Mostone
Member
Member

Age : 24
Posts : 84
Join date : 2013-04-25
Reputation : 1

View user profile

Back to top Go down

Re: Solved: Error using font for title Forum, sub forum and topic title.

Post by Irate on Mon May 13, 2013 12:55 pm

@Mostone wrote:hmm, thanks for help mr.irate

but the result is like this, missing background,


and all the forum title, replace with my image. Sad lol

i need change one of name the forum.

please help me mr.irate

thanks before Smile

Hmmm, I'll find a solution how to directly address the different selectors with jQuery.
I'll get on my PC soon and then I'll look for a solution.
avatar
Irate
Member
Member

Age : 21
Posts : 91
Join date : 2013-05-01
Forum Version : PhpBB2
Reputation : 2

View user profile http://duelacademy.net

Back to top Go down

Re: Solved: Error using font for title Forum, sub forum and topic title.

Post by Mostone on Mon May 13, 2013 2:04 pm



Hmmm, I'll find a solution how to directly address the different selectors with jQuery.
I'll get on my PC soon and then I'll look for a solution.

Ok i will wait.

Thanks before mr.irate Smile
avatar
Mostone
Member
Member

Age : 24
Posts : 84
Join date : 2013-04-25
Reputation : 1

View user profile

Back to top Go down

Re: Solved: Error using font for title Forum, sub forum and topic title.

Post by Irate on Mon May 13, 2013 2:49 pm

Try adding this to your CSS...

Code:
.added_img {
background-image: url('your font image for the first image');
background-repeat: none;
padding: 13px 13px;
}
.added_img2 {
background-image: url('your font image for the second image');
background-repeat: none;
padding: 13px 13px;
}
.added_img3 {
background-image: url('your font image for the third image');
background-repeat: none;
padding: 13px 13px;
}

Then add this code in your JavaScript pages...

Code:
jQuery(document).ready(function(){

jQuery('.secondarytitle:nth-of-type(0)').addClass('added_img');
jQuery('.secondarytitle:nth-of-type(1)').addClass('added_img2');
jQuery('.secondarytitle:nth-of-type(2)').addClass('added_img3');
jQuery('.secondarytitle h2').css('visibility','hidden');

});
avatar
Irate
Member
Member

Age : 21
Posts : 91
Join date : 2013-05-01
Forum Version : PhpBB2
Reputation : 2

View user profile http://duelacademy.net

Back to top Go down

Re: Solved: Error using font for title Forum, sub forum and topic title.

Post by Mostone on Mon May 13, 2013 4:34 pm

i done try mr.irate, but result like this, error or doesn;t work Sad





css
Code:
 .added_img {
    background-image: url('http://i.imgur.com/8NQt8Dt.png');
    background-repeat: none;
    padding: 13px 13px;
    }
    .added_img2 {
    background-image: url('http://i.imgur.com/2wybNs8.png');
    background-repeat: none;
    padding: 13px 13px;
    }
    .added_img3 {
    background-image: url('http://i.imgur.com/sylq3Dy.png');
    background-repeat: none;
    padding: 13px 13px;
    }

JS
Code:
jQuery(document).ready(function(){

jQuery('.secondarytitle:nth-of-type(0)').addClass('added_img');
jQuery('.secondarytitle:nth-of-type(1)').addClass('added_img2');
jQuery('.secondarytitle:nth-of-type(2)').addClass('added_img3');
jQuery('.secondarytitle h2').css('visibility','hidden');

});

please help me mr.irate, please Sad
http://astajim.indonesianforum.net/

thanks before Smile
avatar
Mostone
Member
Member

Age : 24
Posts : 84
Join date : 2013-04-25
Reputation : 1

View user profile

Back to top Go down

Re: Solved: Error using font for title Forum, sub forum and topic title.

Post by Irate on Mon May 13, 2013 4:59 pm

I keep forgetting that it's background-repeat: no-repeat;...

Anyway, it seems to work on Opera-based browsers but not on Chrome/Firefox...

I honestly don't know, sorry...
avatar
Irate
Member
Member

Age : 21
Posts : 91
Join date : 2013-05-01
Forum Version : PhpBB2
Reputation : 2

View user profile http://duelacademy.net

Back to top Go down

Re: Solved: Error using font for title Forum, sub forum and topic title.

Post by Mostone on Mon May 13, 2013 5:08 pm

okay no problem, if you do not understand.

but if you could explain again about this.
I tried but failed. does not work. please help me.

maybe you know, because you are part of the DA.. please mr.irate please help me Sad

if it could I would use another font spy agency. i'm use planet kosmos font.. please help me Sad

---------------------------

Code:
    /*!
    * The following copyright notice may not be removed under any circumstances.
    *
    * Copyright:
    * (c) 2010-2012 Typodermic Fonts Inc. See attached license agreement. If
    * agreement is missing visit typodermicfonts.com for more info.
    *
    * Trademark:
    * Hemi Head is a trademark of Typodermic Fonts Inc.
    *
    * Manufacturer:
    * Ray Larabie
    *
    * Designer:
    * Ray Larabie
    *
    * License information:
    * http://typodermicfonts.com/pages/license
    */
    Cufon.registerFont({"w":632,"face":{"font-family":"Hemi Head Rg","font-weight":400,"font-style":"italic","font-stretch":"normal","units-per-em":"1000","panose-1":"2 11 7 3 4 2 2 8 2 4","ascent":"744","descent":"-256","bbox":"-119 -819 1124 212","underline-thickness":"50","underline-position":"-50","slope":"-12","unicode-range":"U+0020-U+007E"},"glyphs":{" ":{"w":276},"!":{"d":"66,0r32,-151r128,0r-32,151r-128,0xm110,-211r99,-466r128,0r-99,466r-128,0","w":260},"\"":{"d":"141,-409r66,-309r101,0r-66,309r-101,0xm326,-409r66,-309r101,0r-66,309r-101,0","w":397,"k":{"A":79,"\"":-51,"'":-51,",":72,".":72,"J":95}},"#":{"d":"324,0r39,-184r-111,0r-39,184r-82,0r39,-184r-98,0r15,-72r98,0r35,-165r-98,0r15,-72r98,0r39,-184r82,0r-39,184r111,0r39,-184r82,0r-39,184r97,0r-15,72r-97,0r-35,165r97,0r-15,72r-97,0r-39,184r-82,0xm413,-421r-111,0r-35,165r111,0","w":538},"$":{"d":"489,-394v49,-2,75,26,63,71v-26,97,-11,237,-142,230r-54,0r-19,93r-99,0r19,-93r-183,0r21,-99r275,0v58,2,42,-63,56,-107v0,-11,-7,-16,-21,-16r-205,0v-50,2,-75,-26,-63,-72v25,-93,12,-220,139,-212r89,0r16,-78r99,0r-16,78r143,0r-19,90r-277,0v-50,0,-37,60,-51,100v1,13,8,15,24,15r205,0","w":533},"%":{"d":"744,-328v41,-2,55,20,47,59r-47,220v-10,38,-25,59,-72,59r-161,0v-41,2,-54,-21,-46,-59r47,-220v9,-39,24,-59,71,-59r161,0xm664,-87r31,-151v0,-7,-5,-11,-14,-11v-31,0,-82,-14,-89,16r-32,152v0,6,4,9,13,9v31,0,85,13,91,-15xm412,-687v41,-2,55,20,47,59r-47,220v-10,38,-25,59,-72,59r-161,0v-41,2,-54,-21,-46,-59r47,-220v9,-39,24,-59,71,-59r161,0xm332,-446r31,-151v0,-7,-5,-11,-14,-11v-31,0,-82,-14,-89,16r-32,152v0,6,4,9,13,9v31,0,85,13,91,-15xm147,0r551,-677r80,0r-551,677r-80,0","w":780},"&":{"d":"548,-166v-8,25,1,37,30,37r85,0r-27,129v-80,-4,-188,16,-206,-46v-36,71,-167,40,-265,46v-80,5,-106,-41,-90,-115r36,-170v9,-48,47,-69,96,-74v-47,-2,-70,-34,-58,-85v25,-109,26,-233,167,-233r321,0r-25,118r-266,0v-29,1,-35,12,-41,39r-22,106v0,17,10,17,28,18r166,0r15,-71r120,0r-15,71r129,0r-22,102r-129,0xm455,-294r-166,0v-27,0,-35,10,-40,33v-8,37,-22,70,-22,110v0,15,9,22,28,22r165,0","w":667,"k":{"Y":58,"T":43,"V":46}},"'":{"d":"141,-409r66,-309r101,0r-66,309r-101,0","w":212,"k":{"A":79,"\"":-51,"'":-51,",":72,".":72,"J":95}},"(":{"d":"208,-100v-27,103,14,173,121,170r-16,75v-122,-4,-204,-45,-204,-168v0,-22,3,-48,9,-77r100,-473v31,-154,124,-240,300,-246r-16,75v-119,6,-172,65,-194,171","w":379},")":{"d":"208,-819v137,1,230,64,200,207r-105,508v-32,154,-122,245,-300,249r16,-75v118,-6,171,-65,193,-170r100,-473v5,-25,8,-47,8,-64v-1,-81,-48,-99,-128,-107","w":380},"*":{"d":"479,-246r-115,-167r-115,168r-62,-47r123,-159r-194,-57r24,-75r191,69r-7,-203r78,0r-6,202r191,-68r24,74r-193,57r124,160","w":539},"+":{"d":"290,-88r47,-218r-217,0r18,-87r217,0r46,-217r88,0r-46,217r217,0r-18,87r-217,0r-47,218r-88,0"},",":{"d":"10,98r96,-249r128,0r-112,249r-112,0","w":259,"k":{"v":59,"V":69,"7":15,"1":32,"T":73,"Y":79,"\"":62,"'":62,"w":59,"W":42}},"-":{"d":"95,-302r18,-84r322,0r-18,84r-322,0","w":385,"k":{"x":32,"X":71,"V":55,"T":80,"Y":89,"J":80,"Z":46}},".":{"d":"56,0r32,-151r128,0r-32,151r-128,0","w":239,"k":{"v":59,"V":69,"7":15,"1":32,"T":73,"Y":79,"\"":62,"'":62,"w":59,"W":42}},"\/":{"d":"25,29r416,-747r92,0r-416,747r-92,0","w":413,"k":{"z":40,"q":49,"o":49,"g":49,"e":49,"d":49,"c":49,"a":60,"Q":19,"O":19,"J":101,"G":19,"C":19,"A":79,"9":19,"8":19,"6":19,"3":19,"0":19,"x":26,"&":19}},"0":{"d":"627,-677v81,-5,106,43,90,118r-93,441v-18,77,-48,117,-140,118r-318,0v-81,5,-106,-43,-90,-118r93,-441v18,-77,48,-117,140,-118r318,0xm563,-506v6,-26,-1,-40,-32,-40r-187,0v-30,1,-37,12,-43,39r-74,352v0,13,10,20,29,20r187,0v32,0,42,-9,48,-34","w":650,"k":{"X":15,"V":18,"\/":25,"Y":17,"A":15}},"1":{"d":"114,0r116,-548r-92,0r27,-129r235,0r-143,677r-143,0","w":311},"2":{"d":"623,-677v81,-4,110,43,90,118v-31,116,-14,282,-166,282r-256,0v-33,1,-36,13,-43,44r-23,106r396,0r-26,127r-539,0r55,-260v15,-81,52,-128,150,-128r241,0v31,0,38,-12,43,-39r22,-109v0,-13,-10,-20,-31,-20r-191,0v-50,-4,-44,50,-55,88r-137,0v21,-104,32,-209,162,-209r308,0","w":649},"3":{"d":"574,-350v43,3,77,25,64,74v-32,117,-15,276,-173,276r-311,0v-79,4,-107,-40,-91,-115r22,-105r139,0v0,34,-39,95,16,95r191,0v29,0,39,-11,44,-36r23,-117v0,-12,-10,-18,-31,-18r-148,0r22,-100r148,0v28,0,35,-8,40,-31r22,-110v0,-13,-10,-19,-29,-19r-189,0v-51,-4,-42,52,-54,88r-137,0v21,-105,31,-209,163,-209r295,0v80,-5,113,42,95,115v-21,88,-17,207,-121,212","k":{"X":15,"V":18,"\/":25,"Y":17,"A":15}},"4":{"d":"368,0r27,-131r-336,0r25,-117r367,-429r192,0r-91,430r90,0r-25,116r-90,0r-27,131r-132,0xm485,-552r-266,305r201,0","w":621,"k":{"7":42}},"5":{"d":"589,-417v62,-3,90,38,75,96v-24,97,-28,231,-87,292v-20,20,-53,29,-96,29r-311,0v-80,4,-106,-41,-90,-115r22,-105r140,0r-15,78v1,16,8,17,26,17r190,0v33,-1,38,-7,43,-34r26,-128v0,-12,-9,-18,-26,-18r-366,0r79,-372r521,0r-27,129r-378,0r-28,131r302,0","w":650},"6":{"d":"580,-399v62,-4,91,38,74,96v-36,123,-12,303,-179,303r-309,0v-83,6,-106,-43,-90,-118r93,-441v18,-77,48,-117,140,-118r306,0v79,-5,110,42,94,115r-20,94r-136,0v2,-32,35,-87,-22,-87r-191,0v-32,1,-37,9,-43,38r-25,118r308,0xm224,-170v-7,26,-4,44,25,44r198,0v33,-1,39,-13,46,-44r20,-105v0,-13,-9,-20,-28,-20r-235,0","w":642,"k":{"X":15,"V":18,"\/":25,"Y":17,"A":15}},"7":{"d":"80,0r393,-548r-329,0r27,-129r485,0r-21,102r-399,575r-156,0","w":550,"k":{".":90,",":90,"4":111}},"8":{"d":"586,-350v43,3,77,25,64,74v-32,117,-15,276,-173,276r-311,0v-79,4,-107,-40,-91,-115r34,-161v9,-48,47,-69,96,-74v-47,-2,-70,-34,-58,-85v27,-112,24,-242,170,-242r295,0v80,-5,113,42,95,115v-21,88,-17,207,-121,212xm528,-401v23,-32,24,-90,35,-134v0,-13,-10,-20,-30,-20r-189,0v-29,1,-36,8,-42,34r-22,109v0,12,10,18,29,18r191,0v13,0,22,-2,28,-7xm509,-268v4,-21,-4,-30,-29,-30r-191,0v-27,0,-39,7,-43,30r-24,122v0,14,10,21,30,21r191,0v29,0,39,-11,44,-36","w":644,"k":{"X":15,"V":18,"\/":25,"Y":17,"A":15}},"9":{"d":"622,-677v81,-4,106,42,90,118r-93,441v-18,77,-48,117,-140,118r-308,0v-80,5,-109,-41,-93,-115r22,-102r138,0v-4,24,-14,45,-14,72v0,19,12,19,34,20r190,0v32,-1,37,-9,43,-38r24,-113r-308,0v-63,4,-91,-39,-74,-96v36,-124,12,-305,179,-305r310,0xm564,-508v7,-25,4,-44,-25,-44r-199,0v-33,1,-38,13,-45,44r-22,109v0,13,10,19,29,19r235,0","w":648,"k":{"X":15,"V":18,"\/":25,"Y":17,"A":15}},":":{"d":"62,0r32,-151r128,0r-32,151r-128,0xm137,-356r32,-151r128,0r-32,151r-128,0","w":252},";":{"d":"146,-356r32,-151r128,0r-32,151r-128,0xm7,98r96,-249r128,0r-112,249r-112,0","w":263},"<":{"d":"118,-299r14,-64r569,-224r-20,95r-414,161r346,161r-20,94"},"=":{"d":"94,-187r19,-87r522,0r-19,87r-522,0xm145,-424r18,-88r522,0r-18,88r-522,0"},">":{"d":"71,-76r20,-94r414,-161r-346,-161r20,-95r475,224r-14,64"},"?":{"d":"616,-677v82,-4,112,42,91,118v-30,111,-14,272,-158,272v-46,0,-106,-7,-142,5v-12,14,-15,49,-21,71r-126,0v19,-84,23,-181,128,-181v44,0,106,7,138,-7v20,-31,26,-89,34,-134v-1,-19,-12,-22,-33,-22r-195,0v-49,-3,-42,50,-53,87r-137,0v21,-104,32,-209,162,-209r312,0xm215,0r32,-151r128,0r-32,151r-128,0","w":627},"@":{"d":"137,39v-5,20,-2,32,22,32r382,0r-21,100r-419,0v-63,5,-80,-34,-68,-91r125,-588v14,-61,36,-90,107,-91r342,0v63,-4,78,33,66,91r-80,377v-14,61,-33,90,-105,91r-154,0v-62,4,-81,-33,-69,-91r40,-186v14,-60,40,-91,107,-91r101,0r-17,79v-42,5,-96,-16,-106,30r-34,164v0,11,7,16,22,16v49,0,120,21,131,-32r73,-352v0,-11,-7,-16,-21,-16r-278,0v-25,0,-29,9,-34,31","w":618},"A":{"d":"466,0r-7,-105r-244,0r-52,105r-147,0r352,-677r199,0r52,677r-153,0xm433,-541r-164,324r185,0","w":636,"k":{"v":52,"V":73,"?":74,"&":15}},"B":{"d":"606,-350v43,3,77,25,64,74v-32,117,-16,276,-173,276r-441,0r106,-503r152,0r-23,109r212,0v62,3,44,-71,60,-113v9,-23,1,-39,-28,-39r-363,0r27,-131r431,0v80,-5,112,41,93,115v-22,86,-16,206,-117,212xm516,-261v7,-25,-3,-37,-31,-37r-214,0r-35,165r214,0v34,-1,40,-9,47,-39","w":664,"k":{"X":15,"V":29,"\/":29,"Y":45,"A":15}},"C":{"d":"238,-174v-6,25,2,37,31,37r308,0r-29,137r-383,0v-81,5,-106,-43,-90,-118r93,-441v18,-77,49,-117,140,-118r381,0r-28,135r-306,0v-35,1,-40,8,-46,38","w":586},"D":{"d":"56,0r105,-494r150,0r-77,362r213,0v35,0,58,-22,67,-65r63,-305v0,-28,-14,-42,-43,-42r-363,0r28,-133r391,0v121,-3,166,66,142,173r-71,331v-23,108,-88,173,-214,173r-391,0","w":676,"k":{"X":15,"V":29,"\/":29,"Y":45,"A":15}},"E":{"d":"51,0r105,-495r157,0r-24,110r249,0r-23,108r-249,0r-30,142r345,0r-28,135r-502,0xm166,-545r28,-132r502,0r-28,132r-502,0","w":609},"F":{"d":"269,-269r-57,269r-157,0r105,-494r157,0r-24,112r255,0r-24,113r-255,0xm170,-544r28,-133r501,0r-28,133r-501,0","w":593,"k":{"y":12,"u":12,"s":13,"q":33,"o":33,"g":33,"e":33,"d":33,"c":33,"a":29,"J":115,"A":76,".":132,"-":14,",":132,"\/":85}},"G":{"d":"234,-160v-6,22,1,30,25,30r217,0r33,-154r-134,0r23,-109r276,0r-83,393r-425,0v-81,5,-106,-43,-90,-118r93,-441v18,-77,48,-117,140,-118r418,0r-28,135r-352,0v-31,1,-34,9,-40,37","w":645},"H":{"d":"624,0r-152,0r59,-280r-265,0r-59,280r-152,0r143,-677r152,0r-57,270r265,0r57,-270r152,0","w":681},"I":{"d":"58,0r143,-677r152,0r-143,677r-152,0","w":270},"J":{"d":"28,0r29,-137r273,0v33,-1,37,-8,43,-36r79,-372r-118,0r28,-132r270,0r-118,559v-18,76,-48,117,-139,118r-347,0","w":545,"k":{"A":15}},"K":{"d":"551,-241v8,-32,2,-47,-36,-47r-222,0r14,-69r312,-320r166,0r-277,277r108,0v88,-3,112,58,95,138r-55,262r-156,0xm55,0r143,-677r152,0r-143,677r-152,0","w":706,"k":{"v":21,"V":24,"?":41,"Y":16,"w":21}},"L":{"d":"508,0r-454,0r143,-677r152,0r-114,540r302,0","w":539,"k":{"v":56,"V":71,"?":94,"T":61,"Y":85,"\"":100,"'":100,"w":47,"W":39,"-":85}},"M":{"d":"630,0r87,-411r-251,411r-119,0r-81,-411r-87,411r-126,0r143,-677r164,0r88,471r292,-471r158,0r-143,677r-125,0","w":810},"N":{"d":"545,0r-256,-444r-94,444r-141,0r143,-677r143,0r222,404r85,-404r142,0r-143,677r-101,0","w":703},"O":{"d":"646,-677v81,-5,106,43,90,118r-93,441v-18,77,-49,117,-140,118r-337,0v-81,5,-106,-43,-90,-118r93,-441v18,-77,48,-117,140,-118r337,0xm501,-169r74,-353v0,-15,-12,-23,-35,-23r-189,0v-31,1,-36,11,-42,39r-74,350v0,14,10,21,29,21r189,0v32,0,42,-9,48,-34","w":668,"k":{"X":15,"V":18,"\/":25,"Y":17,"A":15}},"P":{"d":"623,-677v81,-5,106,43,90,118r-47,223v-18,77,-48,117,-140,118r-272,0r-46,218r-152,0r105,-495r152,0r-33,154r209,0v30,-1,33,-11,39,-39r31,-147v0,-16,-10,-18,-27,-18r-361,0r28,-132r424,0","w":635,"k":{"Y":17,"J":74,"A":56,".":68,",":68,"\/":54}},"Q":{"d":"646,-677v81,-5,106,43,90,118r-139,655r-151,0r130,-620v-1,-18,-11,-20,-32,-20r-197,0v-27,1,-33,11,-38,36r-66,316v0,12,8,18,25,18r185,0r-28,134r-251,0v-81,5,-106,-43,-90,-118r85,-401v18,-77,48,-117,140,-118r337,0","w":673,"k":{"X":15,"V":18,"\/":25,"Y":17,"A":15}},"R":{"d":"586,-316v49,1,86,25,74,81r-49,235r-152,0r48,-236v0,-11,-9,-16,-28,-16r-219,0r-53,252r-152,0r105,-495r152,0r-28,131r208,0v32,-1,36,-8,42,-35r26,-126v-1,-18,-11,-19,-31,-20r-359,0r28,-132r430,0v80,-5,111,41,93,115v-25,99,-21,239,-135,246","w":663,"k":{"v":11,"V":26,"?":32,"T":19,"Y":33,"w":11}},"S":{"d":"584,-399v63,-3,92,38,76,96v-34,124,-13,303,-179,303r-429,0r28,-132r361,0v27,-1,34,-9,39,-33r21,-105v0,-12,-9,-18,-26,-18r-267,0v-62,3,-91,-37,-75,-96v33,-122,14,-293,178,-293r421,0r-27,129r-359,0v-24,1,-29,10,-34,32r-21,102v0,10,7,15,22,15r271,0","w":646,"k":{"A":15}},"T":{"d":"341,0r-152,0r115,-544r-164,0r28,-133r481,0r-28,133r-165,0","w":533,"k":{"\/":69,"o":31,"a":31,"c":31,"d":31,"e":31,"T":-14,"A":67,"u":15,"y":15,"-":80,",":73,".":73,"J":89,"s":17,"z":9}},"U":{"d":"241,-171v-8,25,-1,36,27,36r200,0v31,-1,36,-8,43,-36r107,-506r146,0r-118,559v-18,77,-49,117,-140,118r-337,0v-82,6,-107,-43,-91,-118r118,-559r152,0","w":675,"k":{"\/":23,"A":15}},"V":{"d":"225,0r-66,-677r157,0r38,494r257,-494r151,0r-366,677r-171,0","w":636,"k":{"y":31,"u":31,"s":54,"q":51,"o":51,"g":51,"e":51,"d":51,"c":51,"a":45,"Y":-14,"S":15,"Q":18,"O":18,"J":100,"G":18,"C":18,"A":73,"9":18,"8":18,"6":18,"3":18,"0":18,".":69,"-":55,",":69,"V":-14,"\/":75,"&":15}},"W":{"d":"626,0r-25,-483r-246,483r-170,0r-26,-677r156,0r11,496r245,-496r152,0r21,495r231,-495r149,0r-327,677r-171,0","w":998,"k":{"A":57,",":52,".":52}},"X":{"d":"483,0r-96,-274r-214,274r-162,0r292,-360r-132,-317r165,0r94,250r200,-250r157,0r-272,329r136,348r-168,0","w":662,"k":{"w":24,"o":15,"e":15,"d":15,"a":15,"Q":15,"O":15,"G":15,"C":15,"9":15,"8":15,"6":15,"3":15,"0":15,"-":70,"v":24,"&":15}},"Y":{"d":"232,0r59,-279r-135,-398r159,0r83,267r196,-267r152,0r-303,398r-59,279r-152,0","w":617,"k":{"v":21,"p":42,"V":-14,"\/":96,"&":17,"0":17,"3":17,"6":17,"8":17,"9":17,"O":17,"Q":17,"o":64,"C":17,"G":17,"a":77,"c":64,"d":64,"e":64,"g":64,"q":64,"Y":-18,"A":88,"u":46,"y":46,"w":21,"-":89,",":79,".":79,"J":110,"s":79,"z":50,"S":26}},"Z":{"d":"49,0r26,-123r410,-421r-314,0r28,-133r497,0r-24,117r-404,425r313,0r-28,135r-504,0","w":602,"k":{"-":59}},"[":{"d":"44,145r205,-964r200,0r-16,72r-110,0r-174,818r110,0r-15,74r-200,0","w":310},"\\":{"d":"282,29r-98,-747r92,0r98,747r-92,0","w":413},"]":{"d":"4,145r15,-74r112,0r174,-818r-112,0r16,-72r200,0r-205,964r-200,0","w":310},"^":{"d":"411,-284r-52,-254r-161,254r-95,0r253,-393r64,0r86,393r-95,0","w":491},"_":{"d":"-26,160r18,-83r598,0r-18,83r-598,0","w":614},"`":{"d":"348,-569r-129,-204r113,0r105,204r-89,0","w":372},"a":{"d":"590,-506v70,-4,89,34,75,99r-86,407r-441,0v-120,5,-54,-138,-42,-215v10,-60,32,-97,104,-97r257,0r-18,86r-184,0v-43,1,-30,57,-42,93v0,9,6,13,19,13r234,0r54,-259v-1,-13,-8,-17,-24,-17r-343,0r23,-110r414,0","w":630,"k":{"x":9,"v":15,"V":26,"?":22,"Y":55,"w":15}},"b":{"d":"511,-357v6,-20,0,-29,-20,-28r-168,0r26,-121r238,0v67,-2,89,39,76,99r-65,308v-15,65,-41,98,-118,99r-428,0r152,-718r140,0r-126,594r218,0v23,0,28,-8,32,-28","w":626,"k":{"x":15,"v":15,"X":15,"V":50,"T":32,"Y":65,"A":15,"w":15}},"c":{"d":"144,0v-68,4,-88,-35,-74,-99r65,-308v15,-65,39,-98,116,-99r357,0r-26,123r-285,0v-25,1,-28,5,-33,27r-45,215v0,10,8,15,23,15r285,0r-26,126r-357,0","w":542},"d":{"d":"144,0v-68,4,-88,-35,-74,-99r65,-308v14,-63,45,-99,116,-99r239,0r-26,121r-167,0v-24,1,-29,7,-33,28r-45,218v0,10,8,15,23,15r217,0r126,-594r141,0r-152,718r-430,0","w":628},"e":{"d":"212,-145v-5,19,-2,30,21,30r341,0r-24,115r-410,0v-69,4,-89,-34,-75,-99r65,-308v15,-65,39,-98,117,-99r342,0v63,-5,79,38,67,95r-42,199r-337,0r17,-84r204,0v5,-27,16,-51,16,-81v0,-13,-7,-14,-21,-14r-201,0v-25,1,-28,6,-33,28","w":618,"k":{"x":15,"v":15,"X":15,"V":46,"T":32,"Y":65,"A":15,"w":15}},"f":{"d":"53,0r127,-602v17,-74,42,-116,120,-116r174,0r-23,109v-48,7,-125,-21,-135,26r-16,77r125,0r-23,110r-125,0r-84,396r-140,0","w":347,"k":{"A":40,".":104,",":104}},"g":{"d":"138,0v-68,4,-88,-35,-74,-99r65,-308v15,-65,39,-98,116,-99r430,0r-132,619v-15,65,-39,98,-117,99r-410,0r26,-121r338,0v25,0,29,-7,34,-29r95,-447r-218,0v-24,0,-28,7,-33,28r-47,227v0,11,8,16,23,16r168,0r-24,114r-240,0","w":613},"h":{"d":"610,-506v68,-6,87,38,74,99r-86,407r-139,0r77,-369v0,-11,-8,-16,-25,-16r-209,0v-23,1,-29,7,-33,28r-75,357r-140,0r152,-718r140,0r-57,267v24,-34,48,-55,99,-55r222,0","w":651,"k":{"V":46,"T":13}},"i":{"d":"56,0r107,-506r140,0r-107,506r-140,0xm176,-566r32,-152r141,0r-32,152r-141,0","w":253},"j":{"d":"-119,212r26,-121v44,-3,103,7,137,-6v4,-4,7,-11,9,-20r121,-571r140,0r-132,619v-15,65,-39,98,-116,99r-185,0xm186,-566r32,-152r141,0r-32,152r-141,0","w":267},"k":{"d":"53,0r152,-718r141,0r-152,718r-141,0xm492,-168v6,-25,0,-40,-29,-40r-200,0r11,-51r263,-247r154,0r-222,203v80,0,181,-14,173,70v-8,83,-31,155,-45,233r-140,0","w":646,"k":{"v":25,"V":43,"w":25,"-":25}},"l":{"d":"54,0r152,-718r140,0r-152,718r-140,0","w":248},"m":{"d":"896,-506v66,-5,87,38,74,99r-86,407r-140,0r77,-370v0,-10,-8,-15,-25,-15r-150,0v-22,0,-29,6,-33,25r-76,360r-140,0r77,-370v0,-10,-8,-15,-24,-15r-151,0v-23,1,-29,7,-33,28r-75,357r-140,0r107,-506r135,0r-12,55v43,-81,159,-55,268,-55v47,0,75,13,77,55v28,-33,49,-55,101,-55r169,0","w":936,"k":{"V":31,"T":31}},"n":{"d":"607,-506v68,-6,87,38,74,99r-86,407r-139,0r77,-369v0,-11,-8,-16,-25,-16r-209,0v-23,1,-29,7,-33,28r-75,357r-140,0r107,-506r135,0r-12,55v24,-37,57,-55,99,-55r227,0","w":649,"k":{"V":31,"T":31}},"o":{"d":"595,-506v70,-4,89,34,75,99r-65,308v-15,65,-39,98,-117,99r-344,0v-68,4,-88,-35,-74,-99r65,-308v15,-65,39,-98,116,-99r344,0xm476,-151r45,-218v0,-11,-9,-16,-27,-16r-198,0v-24,1,-28,7,-32,28r-45,219v0,9,7,14,22,14r198,0v24,0,33,-7,37,-27","w":633,"k":{"x":15,"v":15,"X":15,"V":50,"T":32,"Y":65,"A":15,"w":15}},"p":{"d":"587,-506v69,-5,90,38,76,99r-65,308v-13,64,-47,99,-118,99r-238,0r25,-120r168,0v23,-1,28,-7,32,-28r45,-218v0,-13,-6,-16,-21,-16r-218,0r-127,594r-140,0r153,-718r428,0","w":624,"k":{"w":15,"Y":65,"T":32,"A":15,"x":15,"v":15,"X":15,"V":50}},"q":{"d":"220,-148v-6,20,0,29,21,28r167,0r-25,120r-239,0v-67,2,-86,-40,-74,-99r65,-308v15,-65,39,-98,116,-99r430,0r-153,718r-141,0r127,-594r-217,0v-25,0,-28,7,-33,29","w":626},"r":{"d":"282,-451v23,-34,48,-55,99,-55r147,0r-26,121r-202,0v-23,1,-29,7,-34,28r-75,357r-140,0r107,-506r136,0","w":451,"k":{"\/":40,"a":16,"A":48,",":102,".":102,"J":75}},"s":{"d":"553,-299v49,-2,76,25,64,71v-26,96,-11,228,-143,228r-422,0r24,-116r347,0v43,1,30,-49,42,-82v0,-9,-7,-13,-20,-13r-271,0v-49,2,-75,-27,-62,-72v27,-95,10,-223,140,-223r418,0r-24,113r-345,0v-42,-1,-33,45,-43,78v0,11,7,16,21,16r274,0","w":621,"k":{"x":15,"v":4,"Y":42,"A":15,"w":4}},"t":{"d":"146,0v-68,4,-88,-35,-74,-99r116,-548r140,0r-30,141r122,0r-23,110r-122,0r-57,272v0,9,7,14,22,14r92,0r-23,110r-163,0","w":342},"u":{"d":"146,0v-67,4,-87,-36,-74,-99r86,-407r140,0r-78,370v0,11,8,16,24,16r201,0v24,-1,29,-8,34,-29r76,-357r140,0r-107,506r-135,0r11,-54v-23,34,-48,54,-98,54r-220,0","w":640,"k":{"V":28,"Y":45}},"v":{"d":"211,0r-90,-506r151,0r58,368r222,-368r144,0r-317,506r-168,0","w":603,"k":{"q":15,"o":15,"g":15,"e":15,"d":15,"c":15,"a":18,"Y":22,"A":51,".":59,",":59,"\/":50}},"w":{"d":"553,0r-31,-351r-192,351r-174,0r-35,-506r154,0r13,362r190,-362r165,0r27,361r176,-361r148,0r-264,506r-177,0","w":901,"k":{"\/":50,"o":15,"a":15,"c":15,"d":15,"e":15,"g":15,"q":15,"Y":22,"A":51,",":59,".":59}},"x":{"d":"432,0r-88,-194r-173,194r-162,0r242,-270r-119,-236r166,0r87,181r161,-181r158,0r-225,245r124,261r-171,0","w":612,"k":{"q":15,"o":15,"g":15,"e":15,"d":15,"c":15,"a":15,"-":30}},"y":{"d":"137,0v-68,4,-88,-35,-74,-99r86,-407r140,0r-79,376v0,11,8,16,24,16r215,0r83,-392r141,0r-132,619v-15,65,-40,98,-118,99r-408,0r26,-121r336,0v48,1,34,-59,48,-91r-288,0","w":610,"k":{"V":28,"Y":45}},"z":{"d":"47,0r23,-111r348,-277r-288,0r25,-118r475,0r-21,100r-344,286r283,0r-25,120r-476,0","w":571},"{":{"d":"216,-337v33,6,40,44,32,82r-44,210v-8,75,28,113,109,115r-16,75v-141,5,-207,-74,-178,-214r42,-203v1,-29,-18,-38,-49,-35r12,-59v40,5,63,-21,70,-53v30,-125,42,-284,128,-347v45,-33,103,-52,180,-53r-16,75v-98,3,-146,52,-164,139r-39,186v-10,48,-27,69,-67,82","w":364},"|":{"d":"46,145r205,-964r90,0r-205,964r-90,0","w":245},"}":{"d":"209,-819v118,3,183,38,183,148v0,97,-38,179,-47,270v-3,29,18,38,48,35r-12,59v-41,-4,-63,19,-70,53v-36,159,-48,342,-200,384v-31,8,-66,14,-107,15r16,-75v89,-3,143,-49,163,-138v17,-75,28,-167,59,-227v12,-22,28,-36,47,-42v-40,-8,-35,-61,-27,-102r38,-188v9,-75,-26,-114,-107,-117","w":366},"~":{"d":"207,-414v146,-44,225,82,373,37v25,-7,52,-18,81,-34r-21,96v-36,24,-87,38,-145,38v-111,0,-179,-82,-298,-45v-25,8,-52,18,-81,34r20,-96v19,-13,46,-23,71,-30","w":630},"\u00a0":{"w":276}}})

Code:
    /*
    * Copyright (c) 2009 Simo Kinnunen.
    * Licensed under the MIT license.
    *
    * @version 1.09i
    */
    var Cufon=(function(){var m=function(){return m.replace.apply(null,arguments)};var x=m.DOM={ready:(function(){var C=false,E={loaded:1,complete:1};var B=[],D=function(){if(C){return}C=true;for(var F;F=B.shift();F()){}};if(document.addEventListener){document.addEventListener("DOMContentLoaded",D,false);window.addEventListener("pageshow",D,false)}if(!window.opera&&document.readyState){(function(){E[document.readyState]?D():setTimeout(arguments.callee,10)})()}if(document.readyState&&document.createStyleSheet){(function(){try{document.body.doScroll("left");D()}catch(F){setTimeout(arguments.callee,1)}})()}q(window,"load",D);return function(F){if(!arguments.length){D()}else{C?F():B.push(F)}}})(),root:function(){return document.documentElement||document.body}};var n=m.CSS={Size:function(C,B){this.value=parseFloat(C);this.unit=String(C).match(/[a-z%]*$/)[0]||"px";this.convert=function(D){return D/B*this.value};this.convertFrom=function(D){return D/this.value*B};this.toString=function(){return this.value+this.unit}},addClass:function(C,B){var D=C.className;C.className=D+(D&&" ")+B;return C},color:j(function(C){var B={};B.color=C.replace(/^rgba\((.*?),\s*([\d.]+)\)/,function(E,D,F){B.opacity=parseFloat(F);return"rgb("+D+")"});return B}),fontStretch:j(function(B){if(typeof B=="number"){return B}if(/%$/.test(B)){return parseFloat(B)/100}return{"ultra-condensed":0.5,"extra-condensed":0.625,condensed:0.75,"semi-condensed":0.875,"semi-expanded":1.125,expanded:1.25,"extra-expanded":1.5,"ultra-expanded":2}[B]||1}),getStyle:function(C){var B=document.defaultView;if(B&&B.getComputedStyle){return new a(B.getComputedStyle(C,null))}if(C.currentStyle){return new a(C.currentStyle)}return new a(C.style)},gradient:j(function(F){var G={id:F,type:F.match(/^-([a-z]+)-gradient\(/)[1],stops:[]},C=F.substr(F.indexOf("(")).match(/([\d.]+=)?(#[a-f0-9]+|[a-z]+\(.*?\)|[a-z]+)/ig);for(var E=0,B=C.length,D;E<B;++E){D=C[E].split("=",2).reverse();G.stops.push([D[1]||E/(B-1),D[0]])}return G}),quotedList:j(function(E){var D=[],C=/\s*((["'])([\s\S]*?[^\\])\2|[^,]+)\s*/g,B;while(B=C.exec(E)){D.push(B[3]||B[1])}return D}),recognizesMedia:j(function(G){var E=document.createElement("style"),D,C,B;E.type="text/css";E.media=G;try{E.appendChild(document.createTextNode("/**/"))}catch(F){}C=g("head")[0];C.insertBefore(E,C.firstChild);D=(E.sheet||E.styleSheet);B=D&&!D.disabled;C.removeChild(E);return B}),removeClass:function(D,C){var B=RegExp("(?:^|\\s+)"+C+"(?=\\s|$)","g");D.className=D.className.replace(B,"");return D},supports:function(D,C){var B=document.createElement("span").style;if(B[D]===undefined){return false}B[D]=C;return B[D]===C},textAlign:function(E,D,B,C){if(D.get("textAlign")=="right"){if(B>0){E=" "+E}}else{if(B<C-1){E+=" "}}return E},textShadow:j(function(F){if(F=="none"){return null}var E=[],G={},B,C=0;var D=/(#[a-f0-9]+|[a-z]+\(.*?\)|[a-z]+)|(-?[\d.]+[a-z%]*)|,/ig;while(B=D.exec(F)){if(B[0]==","){E.push(G);G={};C=0}else{if(B[1]){G.color=B[1]}else{G[["offX","offY","blur"][C++]]=B[2]}}}E.push(G);return E}),textTransform:(function(){var B={uppercase:function(C){return C.toUpperCase()},lowercase:function(C){return C.toLowerCase()},capitalize:function(C){return C.replace(/\b./g,function(D){return D.toUpperCase()})}};return function(E,D){var C=B[D.get("textTransform")];return C?C(E):E}})(),whiteSpace:(function(){var D={inline:1,"inline-block":1,"run-in":1};var C=/^\s+/,B=/\s+$/;return function(H,F,G,E){if(E){if(E.nodeName.toLowerCase()=="br"){H=H.replace(C,"")}}if(D[F.get("display")]){return H}if(!G.previousSibling){H=H.replace(C,"")}if(!G.nextSibling){H=H.replace(B,"")}return H}})()};n.ready=(function(){var B=!n.recognizesMedia("all"),E=false;var D=[],H=function(){B=true;for(var K;K=D.shift();K()){}};var I=g("link"),J=g("style");function C(K){return K.disabled||G(K.sheet,K.media||"screen")}function G(M,P){if(!n.recognizesMedia(P||"all")){return true}if(!M||M.disabled){return false}try{var Q=M.cssRules,O;if(Q){search:for(var L=0,K=Q.length;O=Q[L],L<K;++L){switch(O.type){case 2:break;case 3:if(!G(O.styleSheet,O.media.mediaText)){return false}break;default:break search}}}}catch(N){}return true}function F(){if(document.createStyleSheet){return true}var L,K;for(K=0;L=I[K];++K){if(L.rel.toLowerCase()=="stylesheet"&&!C(L)){return false}}for(K=0;L=J[K];++K){if(!C(L)){return false}}return true}x.ready(function(){if(!E){E=n.getStyle(document.body).isUsable()}if(B||(E&&F())){H()}else{setTimeout(arguments.callee,10)}});return function(K){if(B){K()}else{D.push(K)}}})();function s(D){var C=this.face=D.face,B={"\u0020":1,"\u00a0":1,"\u3000":1};this.glyphs=D.glyphs;this.w=D.w;this.baseSize=parseInt(C["units-per-em"],10);this.family=C["font-family"].toLowerCase();this.weight=C["font-weight"];this.style=C["font-style"]||"normal";this.viewBox=(function(){var F=C.bbox.split(/\s+/);var E={minX:parseInt(F[0],10),minY:parseInt(F[1],10),maxX:parseInt(F[2],10),maxY:parseInt(F[3],10)};E.width=E.maxX-E.minX;E.height=E.maxY-E.minY;E.toString=function(){return[this.minX,this.minY,this.width,this.height].join(" ")};return E})();this.ascent=-parseInt(C.ascent,10);this.descent=-parseInt(C.descent,10);this.height=-this.ascent+this.descent;this.spacing=function(L,N,E){var O=this.glyphs,M,K,G,P=[],F=0,J=-1,I=-1,H;while(H=L[++J]){M=O[H]||this.missingGlyph;if(!M){continue}if(K){F-=G=K[H]||0;P[I]-=G}F+=P[++I]=~~(M.w||this.w)+N+(B[H]?E:0);K=M.k}P.total=F;return P}}function f(){var C={},B={oblique:"italic",italic:"oblique"};this.add=function(D){(C[D.style]||(C[D.style]={}))[D.weight]=D};this.get=function(H,I){var G=C[H]||C[B[H]]||C.normal||C.italic||C.oblique;if(!G){return null}I={normal:400,bold:700}[I]||parseInt(I,10);if(G[I]){return G[I]}var E={1:1,99:0}[I%100],K=[],F,D;if(E===undefined){E=I>400}if(I==500){I=400}for(var J in G){if(!k(G,J)){continue}J=parseInt(J,10);if(!F||J<F){F=J}if(!D||J>D){D=J}K.push(J)}if(I<F){I=F}if(I>D){I=D}K.sort(function(M,L){return(E?(M>=I&&L>=I)?M<L:M>L:(M<=I&&L<=I)?M>L:M<L)?-1:1});return G[K[0]]}}function r(){function D(F,G){if(F.contains){return F.contains(G)}return F.compareDocumentPosition(G)&16}function B(G){var F=G.relatedTarget;if(!F||D(this,F)){return}C(this,G.type=="mouseover")}function E(F){C(this,F.type=="mouseenter")}function C(F,G){setTimeout(function(){var H=d.get(F).options;m.replace(F,G?h(H,H.hover):H,true)},10)}this.attach=function(F){if(F.onmouseenter===undefined){q(F,"mouseover",B);q(F,"mouseout",B)}else{q(F,"mouseenter",E);q(F,"mouseleave",E)}}}function u(){var C=[],D={};function B(H){var E=[],G;for(var F=0;G=H[F];++F){E[F]=C[D[G]]}return E}this.add=function(F,E){D[F]=C.push(E)-1};this.repeat=function(){var E=arguments.length?B(arguments):C,F;for(var G=0;F=E[G++];){m.replace(F[0],F[1],true)}}}function A(){var D={},B=0;function C(E){return E.cufid||(E.cufid=++B)}this.get=function(E){var F=C(E);return D[F]||(D[F]={})}}function a(B){var D={},C={};this.extend=function(E){for(var F in E){if(k(E,F)){D[F]=E[F]}}return this};this.get=function(E){return D[E]!=undefined?D[E]:B[E]};this.getSize=function(F,E){return C[F]||(C[F]=new n.Size(this.get(F),E))};this.isUsable=function(){return !!B}}function q(C,B,D){if(C.addEventListener){C.addEventListener(B,D,false)}else{if(C.attachEvent){C.attachEvent("on"+B,function(){return D.call(C,window.event)})}}}function v(C,B){var D=d.get(C);if(D.options){return C}if(B.hover&&B.hoverables[C.nodeName.toLowerCase()]){b.attach(C)}D.options=B;return C}function j(B){var C={};return function(D){if(!k(C,D)){C[D]=B.apply(null,arguments)}return C[D]}}function c(F,E){var B=n.quotedList(E.get("fontFamily").toLowerCase()),D;for(var C=0;D=B[C];++C){if(i[D]){return i[D].get(E.get("fontStyle"),E.get("fontWeight"))}}return null}function g(B){return document.getElementsByTagName(B)}function k(C,B){return C.hasOwnProperty(B)}function h(){var C={},B,F;for(var E=0,D=arguments.length;B=arguments[E],E<D;++E){for(F in B){if(k(B,F)){C[F]=B[F]}}}return C}function o(E,M,C,N,F,D){var K=document.createDocumentFragment(),H;if(M===""){return K}var L=N.separate;var I=M.split(p[L]),B=(L=="words");if(B&&t){if(/^\s/.test(M)){I.unshift("")}if(/\s$/.test(M)){I.push("")}}for(var J=0,G=I.length;J<G;++J){H=z[N.engine](E,B?n.textAlign(I[J],C,J,G):I[J],C,N,F,D,J<G-1);if(H){K.appendChild(H)}}return K}function l(D,M){var C=D.nodeName.toLowerCase();if(M.ignore[C]){return}var E=!M.textless[C];var B=n.getStyle(v(D,M)).extend(M);var F=c(D,B),G,K,I,H,L,J;if(!F){return}for(G=D.firstChild;G;G=I){K=G.nodeType;I=G.nextSibling;if(E&&K==3){if(H){H.appendData(G.data);D.removeChild(G)}else{H=G}if(I){continue}}if(H){D.replaceChild(o(F,n.whiteSpace(H.data,B,H,J),B,M,G,D),H);H=null}if(K==1){if(G.firstChild){if(G.nodeName.toLowerCase()=="cufon"){z[M.engine](F,null,B,M,G,D)}else{arguments.callee(G,M)}}J=G}}}var t=" ".split(/\s+/).length==0;var d=new A();var b=new r();var y=new u();var e=false;var z={},i={},w={autoDetect:false,engine:null,forceHitArea:false,hover:false,hoverables:{a:true},ignore:{applet:1,canvas:1,col:1,colgroup:1,head:1,iframe:1,map:1,optgroup:1,option:1,script:1,select:1,style:1,textarea:1,title:1,pre:1},printable:true,selector:(window.Sizzle||(window.jQuery&&function(B){return jQuery(B)})||(window.dojo&&dojo.query)||(window.Ext&&Ext.query)||(window.YAHOO&&YAHOO.util&&YAHOO.util.Selector&&YAHOO.util.Selector.query)||(window.$$&&function(B){return $$(B)})||(window.$&&function(B){return $(B)})||(document.querySelectorAll&&function(B){return document.querySelectorAll(B)})||g),separate:"words",textless:{dl:1,html:1,ol:1,table:1,tbody:1,thead:1,tfoot:1,tr:1,ul:1},textShadow:"none"};var p={words:/\s/.test("\u00a0")?/[^\S\u00a0]+/:/\s+/,characters:"",none:/^/};m.now=function(){x.ready();return m};m.refresh=function(){y.repeat.apply(y,arguments);return m};m.registerEngine=function(C,B){if(!B){return m}z[C]=B;return m.set("engine",C)};m.registerFont=function(D){if(!D){return m}var B=new s(D),C=B.family;if(!i[C]){i[C]=new f()}i[C].add(B);return m.set("fontFamily",'"'+C+'"')};m.replace=function(D,C,B){C=h(w,C);if(!C.engine){return m}if(!e){n.addClass(x.root(),"cufon-active cufon-loading");n.ready(function(){n.addClass(n.removeClass(x.root(),"cufon-loading"),"cufon-ready")});e=true}if(C.hover){C.forceHitArea=true}if(C.autoDetect){delete C.fontFamily}if(typeof C.textShadow=="string"){C.textShadow=n.textShadow(C.textShadow)}if(typeof C.color=="string"&&/^-/.test(C.color)){C.textGradient=n.gradient(C.color)}else{delete C.textGradient}if(!B){y.add(D,arguments)}if(D.nodeType||typeof D=="string"){D=[D]}n.ready(function(){for(var F=0,E=D.length;F<E;++F){var G=D[F];if(typeof G=="string"){m.replace(C.selector(G),C,true)}else{l(G,C)}}});return m};m.set=function(B,C){w[B]=C;return m};return m})();Cufon.registerEngine("vml",(function(){var e=document.namespaces;if(!e){return}e.add("cvml","urn:schemas-microsoft-com:vml");e=null;var b=document.createElement("cvml:shape");b.style.behavior="url(#default#VML)";if(!b.coordsize){return}b=null;var h=(document.documentMode||0)<8;document.write(('<style type="text/css">cufoncanvas{text-indent:0;}@media screen{cvml\\:shape,cvml\\:rect,cvml\\:fill,cvml\\:shadow{behavior:url(#default#VML);display:block;antialias:true;position:absolute;}cufoncanvas{position:absolute;text-align:left;}cufon{display:inline-block;position:relative;vertical-align:'+(h?"middle":"text-bottom")+";}cufon cufontext{position:absolute;left:-10000in;font-size:1px;}a cufon{cursor:pointer}}@media print{cufon cufoncanvas{display:none;}}</style>").replace(/;/g,"!important;"));function c(i,j){return a(i,/(?:em|ex|%)$|^[a-z-]+$/i.test(j)?"1em":j)}function a(l,m){if(m==="0"){return 0}if(/px$/i.test(m)){return parseFloat(m)}var k=l.style.left,j=l.runtimeStyle.left;l.runtimeStyle.left=l.currentStyle.left;l.style.left=m.replace("%","em");var i=l.style.pixelLeft;l.style.left=k;l.runtimeStyle.left=j;return i}function f(l,k,j,n){var i="computed"+n,m=k[i];if(isNaN(m)){m=k.get(n);k[i]=m=(m=="normal")?0:~~j.convertFrom(a(l,m))}return m}var g={};function d(p){var q=p.id;if(!g[q]){var n=p.stops,o=document.createElement("cvml:fill"),i=[];o.type="gradient";o.angle=180;o.focus="0";o.method="sigma";o.color=n[0][1];for(var m=1,l=n.length-1;m<l;++m){i.push(n[m][0]*100+"% "+n[m][1])}o.colors=i.join(",");o.color2=n[l][1];g[q]=o}return g[q]}return function(ac,G,Y,C,K,ad,W){var n=(G===null);if(n){G=K.alt}var I=ac.viewBox;var p=Y.computedFontSize||(Y.computedFontSize=new Cufon.CSS.Size(c(ad,Y.get("fontSize"))+"px",ac.baseSize));var y,q;if(n){y=K;q=K.firstChild}else{y=document.createElement("cufon");y.className="cufon cufon-vml";y.alt=G;q=document.createElement("cufoncanvas");y.appendChild(q);if(C.printable){var Z=document.createElement("cufontext");Z.appendChild(document.createTextNode(G));y.appendChild(Z)}if(!W){y.appendChild(document.createElement("cvml:shape"))}}var ai=y.style;var R=q.style;var l=p.convert(I.height),af=Math.ceil(l);var V=af/l;var P=V*Cufon.CSS.fontStretch(Y.get("fontStretch"));var U=I.minX,T=I.minY;R.height=af;R.top=Math.round(p.convert(T-ac.ascent));R.left=Math.round(p.convert(U));ai.height=p.convert(ac.height)+"px";var F=Y.get("color");var ag=Cufon.CSS.textTransform(G,Y).split("");var L=ac.spacing(ag,f(ad,Y,p,"letterSpacing"),f(ad,Y,p,"wordSpacing"));if(!L.length){return null}var k=L.total;var x=-U+k+(I.width-L[L.length-1]);var ah=p.convert(x*P),X=Math.round(ah);var O=x+","+I.height,m;var J="r"+O+"ns";var u=C.textGradient&&d(C.textGradient);var o=ac.glyphs,S=0;var H=C.textShadow;var ab=-1,aa=0,w;while(w=ag[++ab]){var D=o[ag[ab]]||ac.missingGlyph,v;if(!D){continue}if(n){v=q.childNodes[aa];while(v.firstChild){v.removeChild(v.firstChild)}}else{v=document.createElement("cvml:shape");q.appendChild(v)}v.stroked="f";v.coordsize=O;v.coordorigin=m=(U-S)+","+T;v.path=(D.d?"m"+D.d+"xe":"")+"m"+m+J;v.fillcolor=F;if(u){v.appendChild(u.cloneNode(false))}var ae=v.style;ae.width=X;ae.height=af;if(H){var s=H[0],r=H[1];var B=Cufon.CSS.color(s.color),z;var N=document.createElement("cvml:shadow");N.on="t";N.color=B.color;N.offset=s.offX+","+s.offY;if(r){z=Cufon.CSS.color(r.color);N.type="double";N.color2=z.color;N.offset2=r.offX+","+r.offY}N.opacity=B.opacity||(z&&z.opacity)||1;v.appendChild(N)}S+=L[aa++]}var M=v.nextSibling,t,A;if(C.forceHitArea){if(!M){M=document.createElement("cvml:rect");M.stroked="f";M.className="cufon-vml-cover";t=document.createElement("cvml:fill");t.opacity=0;M.appendChild(t);q.appendChild(M)}A=M.style;A.width=X;A.height=af}else{if(M){q.removeChild(M)}}ai.width=Math.max(Math.ceil(p.convert(k*P)),0);if(h){var Q=Y.computedYAdjust;if(Q===undefined){var E=Y.get("lineHeight");if(E=="normal"){E="1em"}else{if(!isNaN(E)){E+="em"}}Y.computedYAdjust=Q=0.5*(a(ad,E)-parseFloat(ai.height))}if(Q){ai.marginTop=Math.ceil(Q)+"px";ai.marginBottom=Q+"px"}}return y}})());Cufon.registerEngine("canvas",(function(){var b=document.createElement("canvas");if(!b||!b.getContext||!b.getContext.apply){return}b=null;var a=Cufon.CSS.supports("display","inline-block");var e=!a&&(document.compatMode=="BackCompat"||/frameset|transitional/i.test(document.doctype.publicId));var f=document.createElement("style");f.type="text/css";f.appendChild(document.createTextNode(("cufon{text-indent:0;}@media screen,projection{cufon{display:inline;display:inline-block;position:relative;vertical-align:middle;"+(e?"":"font-size:1px;line-height:1px;")+"}cufon cufontext{display:-moz-inline-box;display:inline-block;width:0;height:0;overflow:hidden;text-indent:-10000in;}"+(a?"cufon canvas{position:relative;}":"cufon canvas{position:absolute;}")+"}@media print{cufon{padding:0;}cufon canvas{display:none;}}").replace(/;/g,"!important;")));document.getElementsByTagName("head")[0].appendChild(f);function d(p,h){var n=0,m=0;var g=[],o=/([mrvxe])([^a-z]*)/g,k;generate:for(var j=0;k=o.exec(p);++j){var l=k[2].split(",");switch(k[1]){case"v":g[j]={m:"bezierCurveTo",a:[n+~~l[0],m+~~l[1],n+~~l[2],m+~~l[3],n+=~~l[4],m+=~~l[5]]};break;case"r":g[j]={m:"lineTo",a:[n+=~~l[0],m+=~~l[1]]};break;case"m":g[j]={m:"moveTo",a:[n=~~l[0],m=~~l[1]]};break;case"x":g[j]={m:"closePath"};break;case"e":break generate}h[g[j].m].apply(h,g[j].a)}return g}function c(m,k){for(var j=0,h=m.length;j<h;++j){var g=m[j];k[g.m].apply(k,g.a)}}return function(V,w,P,t,C,W){var k=(w===null);if(k){w=C.getAttribute("alt")}var A=V.viewBox;var m=P.getSize("fontSize",V.baseSize);var B=0,O=0,N=0,u=0;var z=t.textShadow,L=[];if(z){for(var U=z.length;U--;){var F=z[U];var K=m.convertFrom(parseFloat(F.offX));var I=m.convertFrom(parseFloat(F.offY));L[U]=[K,I];if(I<B){B=I}if(K>O){O=K}if(I>N){N=I}if(K<u){u=K}}}var Z=Cufon.CSS.textTransform(w,P).split("");var E=V.spacing(Z,~~m.convertFrom(parseFloat(P.get("letterSpacing"))||0),~~m.convertFrom(parseFloat(P.get("wordSpacing"))||0));if(!E.length){return null}var h=E.total;O+=A.width-E[E.length-1];u+=A.minX;var s,n;if(k){s=C;n=C.firstChild}else{s=document.createElement("cufon");s.className="cufon cufon-canvas";s.setAttribute("alt",w);n=document.createElement("canvas");s.appendChild(n);if(t.printable){var S=document.createElement("cufontext");S.appendChild(document.createTextNode(w));s.appendChild(S)}}var aa=s.style;var H=n.style;var j=m.convert(A.height);var Y=Math.ceil(j);var M=Y/j;var G=M*Cufon.CSS.fontStretch(P.get("fontStretch"));var J=h*G;var Q=Math.ceil(m.convert(J+O-u));var o=Math.ceil(m.convert(A.height-B+N));n.width=Q;n.height=o;H.width=Q+"px";H.height=o+"px";B+=A.minY;H.top=Math.round(m.convert(B-V.ascent))+"px";H.left=Math.round(m.convert(u))+"px";var r=Math.max(Math.ceil(m.convert(J)),0)+"px";if(a){aa.width=r;aa.height=m.convert(V.height)+"px"}else{aa.paddingLeft=r;aa.paddingBottom=(m.convert(V.height)-1)+"px"}var X=n.getContext("2d"),D=j/A.height;X.scale(D,D*M);X.translate(-u,-B);X.save();function T(){var x=V.glyphs,ab,l=-1,g=-1,y;X.scale(G,1);while(y=Z[++l]){var ab=x[Z[l]]||V.missingGlyph;if(!ab){continue}if(ab.d){X.beginPath();if(ab.code){c(ab.code,X)}else{ab.code=d("m"+ab.d,X)}X.fill()}X.translate(E[++g],0)}X.restore()}if(z){for(var U=z.length;U--;){var F=z[U];X.save();X.fillStyle=F.color;X.translate.apply(X,L[U]);T()}}var q=t.textGradient;if(q){var v=q.stops,p=X.createLinearGradient(0,A.minY,0,A.maxY);for(var U=0,R=v.length;U<R;++U){p.addColorStop.apply(p,v[U])}X.fillStyle=p}else{X.fillStyle=P.get("color")}T();return s}})());

After you have created two new JavaScript pages for it, create a new JavaScript page with following content:

Code:
    jQuery(document).ready(function(){


    Cufon.replace('#whoisonlinetitlediv, #usermenutitle', {textShadow: '1px 1px #000'});

    Cufon.replace('span#leaguetext ',{textShadow: '1px 1px #000',  fontSize: '30px'});

    Cufon.replace('.row1.over a.gensmall ',{textShadow: '1px 1px #000',  fontSize: '11px'});

    Cufon.replace('#whoisonlinesubtitle, .forumline th, .module-title, .cattitle, .catHead, .mod_news .catLeft', {textShadow: '1px 1px #000', fontSize: '15px'});

    Cufon.replace('.nav, .forumlink, .mainmenu', {textShadow: '1px 1px #000', fontSize: '14px', hover: {color: '#a6a6a6'}});

    Cufon.replace('#page-footer', {textShadow: '1px 1px #000', fontSize: '13px', hover: {color: '#a6a6a6'}});

    Cufon.replace(' #masterleaguetitle1', {fontWeight: 'bold', fontSize: '15px'});

    Cufon.replace(' #masterleaguetitle2', {fontWeight: 'bold', fontSize: '35px'});

    });


source:
http://help.forumotion.com/t123671-how-to-change-font-in-forumotion
avatar
Mostone
Member
Member

Age : 24
Posts : 84
Join date : 2013-04-25
Reputation : 1

View user profile

Back to top Go down

Re: Solved: Error using font for title Forum, sub forum and topic title.

Post by Mati™ on Wed Dec 25, 2013 11:42 am

User inactive and seems not to need help. Because of this, the support topic has been closed.


If you have other questions, please open a new topic.
avatar
Mati™
Administrator
Administrator

Age : 31
Posts : 2112
Join date : 2011-10-20
Forum Version : PhpBB3
Reputation : 147

View user profile http://fmfocus.forumotion.net/forum

Back to top Go down

Re: Solved: Error using font for title Forum, sub forum and topic title.

Post by Sponsored content


Sponsored content


Back to top Go down

View previous topic View next topic Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum