Trying to use Cufon for some fancy fonts.

Permalink 1 user found helpful
I am trying to use a font style called Broken Life, I have followed the tutorials and its not wanting to work.

Can anyone help and see what I'm doing wrong?

The folder is currently sat in my custom them folder, but I have been moving it around and its not being picked up.

when put in the themes folder, it just ends up registering as another theme. I don't think that right.

<?php defined('C5_EXECUTE') or die("Access Denied."); ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html lang="en" xmlns="http://www.w3.org/1999/xhtml">
<head>

<!-- Site Header Content //-->
<link rel="stylesheet" media="screen" type="text/css" href="<?php echo $this->getStyleSheet('main.css')?>" />
<link rel="stylesheet" media="screen" type="text/css" href="<?php echo $this->getStyleSheet('typography.css')?>" />

<?php Loader::element('header_required'); ?>
<link rel="stylesheet" media="screen" type="text/css"
href="<?php echo $this->getStyleSheet('main.css')?>" />
<link rel="stylesheet" media="screen" type="text/css"
href="<?php echo $this->getStyleSheet('typography.css')?>" />

<?php Loader::element('header_required'); ?>

<script src="<?php echo $this->getThemePath() ?>
/cufon/cufon-yui.js" type="text/javascript">
</script>

<script src="<?php echo $this->getThemePath() ?>/cufon
/Broken_life_400.font.js" type="text/javascript">
</script>

<script type="text/javascript">
Cufon.replace('h1');
Cufon.replace('h2');
Cufon.replace('cufon');
</script>
</head>
<body>
<div id="page">
<div id="header">
<?php
$a = new Area('Header');
$a->display($c);
?>
</div>
<div id="page_edge" class="drop_shadow">
<div id="content_area" class="inner_shadow">

PortobellaRain
 
tallacman replied on at Permalink Reply
tallacman
I would use this block to accomplish your task:http://www.concrete5.org/marketplace/addons/easy-cufon/...
I understand it works great and it probably "concrete5 easy".

steve
PortobellaRain replied on at Permalink Reply
PortobellaRain
Hi Steve,

thanks very much, I will give it a shot.
PortobellaRain replied on at Permalink Reply
PortobellaRain
Hi Steve,

just a quick question about the add-on, before I "Add it on", is it a component that allows for all forms of TTFs or are there just a select group of fonts you can use? I need a specific font type.

Ben.
r1digital replied on at Permalink Best Answer Reply
r1digital
Hi Ben,
Cufon only supports TrueType (TTF), OpenType (OTF), Printer Font Binary (PFB) and PostScript fonts.

If you looking at font replacement @font-face is a great alternative and works on most browsers now (there are .htc fixes to make it work in IE6 & 7 as well)

Oh and if you use Cufon get the latest version as IE9 has a wobbler with the previous ones.
PortobellaRain replied on at Permalink Reply
PortobellaRain
Thanks so much for getting back, this community is really something special. If its ok, I will look into it and if I have any issues, would you mind me getting in touch? - I've been using C5 for about 5 days now, so pure newbie. :D

Best wishes,

Ben.
r1digital replied on at Permalink Reply
r1digital
Hi Ben,

Glad your liking the community. Feel free to pm me any you need ;)

Many thanks
Mat
tallacman replied on at Permalink Reply
tallacman
Go to the add on page and drop a note to the developer. He'd be in a better position to answer this with anything approaching authority.

steve
kvrijmoet replied on at Permalink Reply
I had a manual install of cufon working fine for the past several weeks and then just today it went poof.
r1digital replied on at Permalink Reply
r1digital
Can you supply the address so we can have a look?

Many thanks
Mat