-
AuthorPosts
-
korb Friend
korb
- Join date:
- March 2008
- Posts:
- 315
- Downloads:
- 0
- Uploads:
- 0
- Thanks:
- 40
- Thanked:
- 48 times in 39 posts
November 1, 2009 at 8:03 pm #145670Hello,
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 vapemusicinme Friendmusicinme
- Join date:
- September 2009
- Posts:
- 70
- Downloads:
- 3
- Uploads:
- 9
- Thanks:
- 6
- Thanked:
- 50 times in 23 posts
November 2, 2009 at 12:04 am #322289Hi 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.
________
headshopskorb Friendkorb
- Join date:
- March 2008
- Posts:
- 315
- Downloads:
- 0
- Uploads:
- 0
- Thanks:
- 40
- Thanked:
- 48 times in 39 posts
November 2, 2009 at 7:59 am #322310It 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 historykorb Friendkorb
- Join date:
- March 2008
- Posts:
- 315
- Downloads:
- 0
- Uploads:
- 0
- Thanks:
- 40
- Thanked:
- 48 times in 39 posts
November 2, 2009 at 8:32 am #322311ok 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-M1korb Friendkorb
- Join date:
- March 2008
- Posts:
- 315
- Downloads:
- 0
- Uploads:
- 0
- Thanks:
- 40
- Thanked:
- 48 times in 39 posts
November 2, 2009 at 11:57 am #322328I 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 historymusicinme Friendmusicinme
- Join date:
- September 2009
- Posts:
- 70
- Downloads:
- 3
- Uploads:
- 9
- Thanks:
- 6
- Thanked:
- 50 times in 23 posts
November 4, 2009 at 12:14 am #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
1 user says Thank You to musicinme for this useful post
korb Friendkorb
- Join date:
- March 2008
- Posts:
- 315
- Downloads:
- 0
- Uploads:
- 0
- Thanks:
- 40
- Thanked:
- 48 times in 39 posts
November 4, 2009 at 1:21 pm #322548Thanks 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)July 4, 2010 at 1:27 pm #348897hey 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 -
AuthorPosts
This topic contains 8 replies, has 3 voices, and was last updated by shuttlemunky 14 years, 4 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum