test
Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • korb Friend
    #145670

    Hello,

    I tried to create my own cufon js font (created succesfully at http://cufon.shoqolate.com/generate/) to use in Purity 2 styling, but it does not work in any way, first of all, I have no idea how to call those already there in Purity 2 fonts folder.
    Can anyone give a hint on this?
    Thanks
    ________
    hot box vape

    musicinme Friend
    #322289

    Hi basskool!

    Hope I could help you. Open templateDetails.xml and almost at the end, approximately at line 122, before

    </params>
    </install>

    put this code:

    <param name="@title" type="japaramhelper" label="CUFON" description="Cufon text replacement" />
    <param name="ja_cufon" type="list" default="1" label="Enable Cufon" description="Chose Yes if you want replace text in headers on your site. It does not support Unicode">
    <option value="0">No</option>
    <option value="1">Yes</option>
    </param>

    It should call your font. Im not sure if exactly your font will be used, but if not you can always change the name.
    ________
    headshops

    korb Friend
    #322310

    It does not call the font, with or without the quotes (“Fontname” ), with with full font name (“Fontname_400”), nothing….
    Anybody has an answer?

    I already tried some other plugins like pcdtr, but that does not work properly, so I was hoping cufon feature is better.

    Thanks for any reply
    ________
    Suzuki GV1400 Cavalcade history

    korb Friend
    #322311

    ok I managed to enable cufon, but I have Museo font enabled, so I see now in head block that. But if I change to my font, it won’t load it, I guess it’s a problem with cufon generated font I have?

    The only font working so far is Museo_400_500.font.js…. so there has to be something about settings on how these are generated? Does it have any importance the Unicode charcaters? Anybody?

    Thanks for any reply again
    ________
    YZR-M1

    korb Friend
    #322328

    I tried to update to latest cufon 1.09, but I have the same result, only Museo works….

    Come one guys what should I do to make my fonts work? Do I have to modify them? How?
    ________
    Mazda Porter history

    musicinme Friend
    #322468

    <em>@basskool 151227 wrote:</em><blockquote>I tried to update to latest cufon 1.09, but I have the same result, only Museo works….

    Come one guys what should I do to make my fonts work? Do I have to modify them? How?</blockquote>

    Hope I will help you this time. Check your head.php in templates/ja_purity_ii/layouts/blocks around line 42 you will see

    <?php if ($this->getParam(‘ja_cufon’)) : ?>
    <script language=”javascript” type=”text/javascript” src=”<?php echo $this->templateurl(); ?>/libs/cufon/js/cufon-yui.js”></script>
    <script language=”javascript” type=”text/javascript” src=”<?php echo $this->templateurl(); ?>/libs/cufon/fonts/Museo_500_400.font.js”></script>
    <script type=”text/javascript”>
    Cufon.replace(
    ‘.componentheading, .contentheading, .ja-zintitle a, div.moduletable h3, div.moduletable_menu h3, div.moduletable_text h3, div.moduletable_highlight h3’,
    { fontFamily: ‘Museo 500’ }
    );
    Cufon.replace (
    ‘.logo-text h1’,
    { fontFamily: ‘Museo 500’ }
    );
    </script>

    I replaced Museo 500 with my own and voila 🙂 It’s working. But in param.ini Ja Purity II you have to enable cufon option (but you know that).

    Let us now what you get this time 😉

    OH! And I ttached my font, so u can make test. It is very characteristic.
    ________
    Kawasaki GA


    korb Friend
    #322548

    Thanks for reply, I managed to enable cufon features by adding cufon parameter in templatedetails.xml file, but this made possible only fonts from js folder to work: Museo, Bebas, Vegur and Antiqua.

    My problem was that my font script was not created properly, you have to click all gliphs, and desable all other options, and then another problem, my fonts did not contain specific characters, so yesterday I had to edit fonts…

    Thanks again for reply.
    Danny
    ________
    Ford Escort (North America)

    shuttlemunky Friend
    #348897

    hey there. i have read all the posts and the topic he mentioned.

    I can’t even use the fonts in the cufon/fonts folder. Whenever i change the names in head.php can’t make cufon work. Also tried to enable it in params.ini or in template options. All i can use is Bebas font.

    i will really apreciate any comment. since i need to use turkish characters.
    ________
    herbal vaporizers

Viewing 8 posts - 1 through 8 (of 8 total)

This topic contains 8 replies, has 3 voices, and was last updated by  shuttlemunky 14 years, 5 months ago.

We moved to new unified forum. Please post all new support queries in our New Forum