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">
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">
Hi Steve,
thanks very much, I will give it a shot.
thanks very much, I will give it a shot.
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.
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.
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.
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.
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.
Best wishes,
Ben.
Hi Ben,
Glad your liking the community. Feel free to pm me any you need ;)
Many thanks
Mat
Glad your liking the community. Feel free to pm me any you need ;)
Many thanks
Mat
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
steve
I had a manual install of cufon working fine for the past several weeks and then just today it went poof.
Can you supply the address so we can have a look?
Many thanks
Mat
Many thanks
Mat
I understand it works great and it probably "concrete5 easy".
steve