<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>NSDesign Blog &#187; Javascript</title>
	<atom:link href="http://www.nsdesign.co.uk/blog/tag/javascript/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.nsdesign.co.uk/blog</link>
	<description>interesting thoughts and other stuff...</description>
	<lastBuildDate>Thu, 09 Feb 2012 16:08:02 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3</generator>
		<item>
		<title>Custom Font Replacement Techniques, Sifr and Cufon</title>
		<link>http://www.nsdesign.co.uk/blog/2009/03/custom-font-replacement-techniques-%e2%80%93-sifr-and-cufon/</link>
		<comments>http://www.nsdesign.co.uk/blog/2009/03/custom-font-replacement-techniques-%e2%80%93-sifr-and-cufon/#comments</comments>
		<pubDate>Tue, 17 Mar 2009 10:31:26 +0000</pubDate>
		<dc:creator>Paul</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[accessibility]]></category>
		<category><![CDATA[canvas]]></category>
		<category><![CDATA[cufon]]></category>
		<category><![CDATA[flash]]></category>
		<category><![CDATA[font replacement]]></category>
		<category><![CDATA[Javascript]]></category>
		<category><![CDATA[sifr]]></category>
		<category><![CDATA[svg]]></category>
		<category><![CDATA[typography]]></category>
		<category><![CDATA[vml]]></category>

		<guid isPermaLink="false">http://www.nsdesign.co.uk/blog/?p=68</guid>
		<description><![CDATA[I have come across quite a lot of articles recently discussing including custom fonts in web pages. With typography playing such a key role in design, it continues to be one of the major restrictions designers face when designing for the web. When the web world wide web first began the focus was on hyperlinking [...]]]></description>
			<content:encoded><![CDATA[<p style="0cm;">I have come across quite a lot of articles recently discussing including custom fonts in web pages. With typography playing such a key role in design, it continues to be one of the major restrictions designers face when designing for the web. When the web world wide web first began the focus was on hyperlinking and allowing access to other documents but considering how far the web has come today and all that is possible, font embedding seems like a basic idea. The biggest underlying issue seems to be managing the distribution of copyrighted fonts. Sifr offers a very useful solution to the issue for the time being, allowing font replacement through the use of Flash. It is accessible across browsers and the text can be selected on the page though some minor drawbacks have been highlighted. Some of these are:</p>
<p style="0cm;">-<span style="Arial,sans-serif;"><span style="x-small;"> The 	inability to alter kerning of the characters.</span></span></p>
<p style="0cm;">-<span style="Arial,sans-serif;"><span style="x-small;"> Flash 	has often been criticised for its poor anti-aliasing and this can 	sometimes show on the rendered text.</span></span></p>
<p style="0cm;">-<span style="Arial,sans-serif;"><span style="x-small;"> Sifr 	can be tricky to setup and get working correctly.</span></span></p>
<p style="0cm;">- <span style="Arial,sans-serif;"><span style="x-small;">Sifr 	fonts cannot be scaled when you change the size of font in the 	browser. It only changes when the page is reloaded. Some consider 	this quite a serious usability problem, though because Sifr is 	mostly used on headers and large areas of text that probably wont 	require scaling, this is debatable.</span></span></p>
<p style="0cm;">- <span style="Arial,sans-serif;"><span style="x-small;">It 	requires the user to have Flash though nowadays almost 95% of web 	users have this.</span></span></p>
<p style="0cm;">
<p style="0cm;">
<p style="0cm;">
<p style="0cm;"><span style="Arial,sans-serif;"><span style="x-small;"><span>A convincing alternative to Sifr which I came across recently is Cufon developed by Simo Kinnunen . The aim of Cufon was to achieve the same effect as Sifr without the need for additional software. Some specific requirements were set out when it was being developed. These were:</span></span></span></p>
<p style="0cm;">- <span style="Arial,sans-serif;"><span style="x-small;"><span>No 	plug-ins required &#8211; The font should be able to be displayed without 	flash and using only the users standard browser. Cufon uses 	javascript to render the font. </span></span></span></p>
<p style="0cm;">- <span style="Arial,sans-serif;"><span style="x-small;"><span>Compatibility 	– It had to work on all browsers. This has been achieved with 	Cufon displaying correctly on IE6, IE7, IE8, Firefox and Safari.</span></span></span></p>
<p style="0cm;">- <span style="Arial,sans-serif;"><span style="x-small;"><span>Ease 	of use – configuration and setup for Cufon is minimal compared to 	Sifr.</span></span></span></p>
<p style="0cm;">- <span style="Arial,sans-serif;"><span style="x-small;"><span>Cufon 	loads faster than Sifr with no flickering, even for larger areas of 	type.</span></span></span></p>
<p style="0cm;">
<p style="0cm;">
<p style="0cm;"><span style="Arial,sans-serif;"><span style="x-small;"><span>Cufon works as an interface to Fontforge so it creates an SVG font based on the source font, converts it to VML(as IE only supports this), then is rendered using an engine written in javascript. The rendering engine outputs two versions of the font, one in VML shapes and one using the new HTML5 canvas tag. The font can be loaded into the file easily using the normal &lt;script&gt; tag. The font compresses well also for a minimal file size. The advantages are convincing, however little study has yet been done on accessibility of Cufon and scaling etc yet. Also until the issue of distributing copyrighted fonts is resolved it could be a while till custom fonts become common practice.</span></span></span></p>
<p style="0cm;"><span style="Arial,sans-serif;"><span style="x-small;"><span>http://cufon.shoqolate.com/generate/</span></span></span></p>
]]></content:encoded>
			<wfw:commentRss>http://www.nsdesign.co.uk/blog/2009/03/custom-font-replacement-techniques-%e2%80%93-sifr-and-cufon/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Google hosts Javascript frameworks</title>
		<link>http://www.nsdesign.co.uk/blog/2008/05/google-hosts-javascript-frameworks/</link>
		<comments>http://www.nsdesign.co.uk/blog/2008/05/google-hosts-javascript-frameworks/#comments</comments>
		<pubDate>Wed, 28 May 2008 15:42:35 +0000</pubDate>
		<dc:creator>Martin</dc:creator>
				<category><![CDATA[Techno talk]]></category>
		<category><![CDATA[Web Design]]></category>
		<category><![CDATA[]]></category>
		<category><![CDATA[AJAX]]></category>
		<category><![CDATA[framework]]></category>
		<category><![CDATA[google]]></category>
		<category><![CDATA[Javascript]]></category>
		<category><![CDATA[library]]></category>

		<guid isPermaLink="false">http://www.nsdesign.co.uk/blog/2008/05/google-hosts-javascript-frameworks/</guid>
		<description><![CDATA[When AJAX started to become popular, more and more people started to provide great usable websites improving the user experience, and even applications based on the web started to appear.   Javascript frameworks allow developers to create great applications providing them with complete libraries, unfortunately these frameworks are a quite heavy component of the website.  And here [...]]]></description>
			<content:encoded><![CDATA[<p>When AJAX started to become popular, more and more people started to provide great usable websites improving the user experience, and even applications based on the web started to appear.   Javascript frameworks allow developers to create great applications providing them with complete libraries, unfortunately these frameworks are a quite <em>heavy </em>component of the website.  And here comes the news of today.</p>
<p>Google has just launched a new service, <a href="http://code.google.com/apis/ajaxlibs/">Google Ajax Libraries API</a>, basically some of the main frameworks are <strong>hosted on Google servers</strong> and available with the intention to reduce the amount of data that the users browser has to download every time it is visiting a different website that uses an AJAX framework.</p>
<p>Clearly the advantages are not only for the users but also for those who own a website using this service, by saving the server bandwidth, offering visitors a faster website, and not having to worry about staying up to date with the framework updates.</p>
<p>The frameworks available at the moment are jQuery, prototype, script.aculo.us, MooTools and dojo.</p>
<p>Sometimes I ask myself what Google still hasn&#8217;t invented yet?</p>
]]></content:encoded>
			<wfw:commentRss>http://www.nsdesign.co.uk/blog/2008/05/google-hosts-javascript-frameworks/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

