<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: (Deutsch) Schriften im Internet &#8211; Cufón</title>
	<atom:link href="http://www.codeblog.ch/2009/04/schriften-im-internet-cufon/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.codeblog.ch/2009/04/schriften-im-internet-cufon/</link>
	<description>Coding and more - Concrete5, Flex, JavaScript</description>
	<lastBuildDate>Fri, 03 Feb 2012 07:46:44 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<item>
		<title>By: Remo Laubacher</title>
		<link>http://www.codeblog.ch/2009/04/schriften-im-internet-cufon/comment-page-1/#comment-222</link>
		<dc:creator>Remo Laubacher</dc:creator>
		<pubDate>Sat, 25 Jul 2009 19:47:12 +0000</pubDate>
		<guid isPermaLink="false">http://www.codeblog.ch/?p=264#comment-222</guid>
		<description>This is very easy to fix. Have you ever heard of Firebug? No? Install it right away, it makes JavaScript development a lot easier.

It tells you for example that cufon isn&#039;t definied (something which even the standard error console tells you). the reason for this is quite simple, you&#039;re using a relative path to include cufon and of course, the webserver doesn&#039;t serve it under index.php/en/js/cufon... add a slash at the beginning and everything works fine!

Don&#039;t give up that quickly! Such errors are very easy to find if you just check your code step by step.. Excluding possible mistakes and stuff like that.</description>
		<content:encoded><![CDATA[<p>This is very easy to fix. Have you ever heard of Firebug? No? Install it right away, it makes JavaScript development a lot easier.</p>
<p>It tells you for example that cufon isn&#8217;t definied (something which even the standard error console tells you). the reason for this is quite simple, you&#8217;re using a relative path to include cufon and of course, the webserver doesn&#8217;t serve it under index.php/en/js/cufon&#8230; add a slash at the beginning and everything works fine!</p>
<p>Don&#8217;t give up that quickly! Such errors are very easy to find if you just check your code step by step.. Excluding possible mistakes and stuff like that.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: dekelly</title>
		<link>http://www.codeblog.ch/2009/04/schriften-im-internet-cufon/comment-page-1/#comment-221</link>
		<dc:creator>dekelly</dc:creator>
		<pubDate>Sat, 25 Jul 2009 18:54:36 +0000</pubDate>
		<guid isPermaLink="false">http://www.codeblog.ch/?p=264#comment-221</guid>
		<description>Hi Remo,

 Heres my problem with cufon in concrete 5. Its a clean install of 5.3.2 in the root directory of the domain. 

I am using cufon script inside header.php and side_main_side.php files (because the header.php script wasnt affecting this page). The cufon_yui.js and respective font.js files are in the root/js folder . 

&lt;!-- Initialize Fonts //--&gt; 
 
                 
         
                 
                        Cufon.replace(&#039;h1&#039;, { fontFamily: &#039;Century Gothic&#039; }); 
                        Cufon.replace(&#039;h2&#039;, { fontFamily: &#039;Century Gothic&#039; }); 
                        Cufon.replace(&#039;h3&#039;, { fontFamily: &#039;Calibri&#039; }); 
                        Cufon.replace(&#039;p&#039;, { fontFamily: &#039;Calibri&#039; }); 
                 
The site has to be bilingual so under the root page (index.php), at 
the top level is &quot;en&quot; and &quot;jp&quot;, then under &quot;en&quot; comes all the english 
pages. 
When the url is http://www.espmasia.com/index.php?cID=56 &gt; all the 
fonts are displaying correctly on IE7, Safari and Firefox on Windows, 
and on the Mac OS. 
The text equivalent (canonical) url, which is http://www.espmasia.com/index.php/en 
, is not displaying the fonts. 
Some other pages are: 
http://www.espmasia.com/index.php?cID=44  which is 
http://www.espmasia.com/index.php/en/what-we-do/services 
cID=65 is  en/what-we-do/capabilities  etc 
When I am in edit mode on the pages, they are all displaying as they 
should but when I exit mode it reverts to default fonts on all the 
canonical url&#039;s. 

I need the site to land on www.espmasia.com/index.php/en/. but I want it to display without the index.php. I tried enabling pretty url&#039;s and created the htaccess file but it didnt work so I disabled it again and shelved it for later. How can I resolve this?  Thanks always for your time!</description>
		<content:encoded><![CDATA[<p>Hi Remo,</p>
<p> Heres my problem with cufon in concrete 5. Its a clean install of 5.3.2 in the root directory of the domain. </p>
<p>I am using cufon script inside header.php and side_main_side.php files (because the header.php script wasnt affecting this page). The cufon_yui.js and respective font.js files are in the root/js folder . </p>
<p><!-- Initialize Fonts //--> </p>
<p>                        Cufon.replace(&#8216;h1&#8242;, { fontFamily: &#8216;Century Gothic&#8217; });<br />
                        Cufon.replace(&#8216;h2&#8242;, { fontFamily: &#8216;Century Gothic&#8217; });<br />
                        Cufon.replace(&#8216;h3&#8242;, { fontFamily: &#8216;Calibri&#8217; });<br />
                        Cufon.replace(&#8216;p&#8217;, { fontFamily: &#8216;Calibri&#8217; }); </p>
<p>The site has to be bilingual so under the root page (index.php), at<br />
the top level is &#8220;en&#8221; and &#8220;jp&#8221;, then under &#8220;en&#8221; comes all the english<br />
pages.<br />
When the url is <a href="http://www.espmasia.com/index.php?cID=56" rel="nofollow">http://www.espmasia.com/index.php?cID=56</a> &gt; all the<br />
fonts are displaying correctly on IE7, Safari and Firefox on Windows,<br />
and on the Mac OS.<br />
The text equivalent (canonical) url, which is <a href="http://www.espmasia.com/index.php/en" rel="nofollow">http://www.espmasia.com/index.php/en</a><br />
, is not displaying the fonts.<br />
Some other pages are:<br />
<a href="http://www.espmasia.com/index.php?cID=44" rel="nofollow">http://www.espmasia.com/index.php?cID=44</a>  which is<br />
<a href="http://www.espmasia.com/index.php/en/what-we-do/services" rel="nofollow">http://www.espmasia.com/index.php/en/what-we-do/services</a><br />
cID=65 is  en/what-we-do/capabilities  etc<br />
When I am in edit mode on the pages, they are all displaying as they<br />
should but when I exit mode it reverts to default fonts on all the<br />
canonical url&#8217;s. </p>
<p>I need the site to land on <a href="http://www.espmasia.com/index.php/en/" rel="nofollow">http://www.espmasia.com/index.php/en/</a>. but I want it to display without the index.php. I tried enabling pretty url&#8217;s and created the htaccess file but it didnt work so I disabled it again and shelved it for later. How can I resolve this?  Thanks always for your time!</p>
]]></content:encoded>
	</item>
</channel>
</rss>

