<?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>Roger Walsh &#187; design</title>
	<atom:link href="http://www.rogerwalsh.com/category/design/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.rogerwalsh.com</link>
	<description></description>
	<lastBuildDate>Tue, 31 May 2011 22:33:06 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.3</generator>
		<item>
		<title>@font-face &#8211; Adding A Custom Font  To Your Site With CSS</title>
		<link>http://www.rogerwalsh.com/2010/02/14/font-face-adding-a-custom-font-to-your-site-with-css/</link>
		<comments>http://www.rogerwalsh.com/2010/02/14/font-face-adding-a-custom-font-to-your-site-with-css/#comments</comments>
		<pubDate>Sun, 14 Feb 2010 16:17:57 +0000</pubDate>
		<dc:creator>Roger</dc:creator>
				<category><![CDATA[css]]></category>
		<category><![CDATA[design]]></category>
		<category><![CDATA[browsers]]></category>
		<category><![CDATA[css3]]></category>
		<category><![CDATA[Internet]]></category>
		<category><![CDATA[tutorial]]></category>

		<guid isPermaLink="false">http://www.rogerwalsh.com/?p=97</guid>
		<description><![CDATA[Until pretty recently web designers haven&#8217;t had too many options for adding custom typefaces to their site. The only ones we could reliably use were what are known as &#8216;web safe&#8217; (a set of typefaces that are installed by default on all PCs &#8211; fonts like verdana, arial, Times&#8230; the usual suspects). To get around [...]]]></description>
			<content:encoded><![CDATA[<p class="intro">Until pretty recently web designers haven&#8217;t had too many options for adding custom typefaces to their site. The only ones we could reliably use were what are known as &#8216;web safe&#8217; (a set of typefaces that are installed by default on all PCs &#8211; fonts like verdana, arial, Times&#8230; the usual suspects).</p>
<p>To get around this limitation designers used to create graphics for headlines, or use flash based scripts such as sifr. CSS3 allows for easy embedding of fonts on a page, surprisingly it&#8217;s supported well across all browsers.</p>
<p><span id="more-97"></span></p>
<h3>Browser Support for @font-face</h3>
<p>All modern browsers support the @font-face rule in some shape or form. Internet Explorer has supported it since IE4, with the only issue being that they only support embedding of their own proprietry font file &#8211; EOT. Safari, Firefox and Opera should all support True Type or Open Type fonts. Safari on the iPod/iPhone will only support SVG files. With this in mind it&#8217;s always good to pick a web safe back up font to ensure your site degrades nicely.</p>
<h3>Fonts and Licensing</h3>
<p>Fonts aren&#8217;t just free for everyone to use. Make sure that the font you plan on using on your site is bought and the license permits you to use it online. There are plenty of free fonts out there, use one of those if you aren&#8217;t sure. If a client insists on using Helvetica or other commercial font, make sure they buy it first!</p>
<h3>Converting Your Font</h3>
<p>If you have a TTF or OTF font you can convert it online to EOT and SVG using a service like <a href="http://www.fontsquirrel.com/fontface/generator" target="_blank">Font Squirrel</a> (who also provide some great free to use fonts, prepackaged for using on the web.) The typeface I&#8217;m using on this site is Charis which I downloaded from there. </p>
<p>Once you have your font files ftp them up onto your web site.</p>
<h3>The CSS</h3>
<p>Declare the fonts you wish to use at the top of your css file</p>
<pre>
@font-face {
	font-family: 'CharisSILRegular';
	src: url('Fonts/CharisSILR.eot');
	src: local('Charis SIL Regular'), local('CharisSIL'), url('Fonts/CharisSILR.ttf') format('truetype');
}
</pre>
<p><em>font-family</em>: This can be anything you want, it&#8217;s how you will call the font later on in your CSS file.<br /><em>src</em>: This tells the browser where your font is located.url is a location on your server, local would be the name of the file if a user happens to have it already and format is the file type. It&#8217;s always good to give the local name as it would mean that if the user has the font they don&#8217;t need to download it from your server. If the browser doesn&#8217;t find the font locally it will move to the next source. Declare your EOT file seperately from the others.</p>
<p>So now you have declared the font you can use it throughout your CSS in the same way you use other fonts</p>
<pre>h1 { font: 2em CharisSILRegular, Georgia, serif;}</pre>
<p>Don&#8217;t forget to add a fall back font (in this case Georgia, then any other serif font) to ensure maximum degradability. That&#8217;s all there is to it. Just like in print design try not add too many fonts to one design (even more importantly for the web as the browser needs to download every font the user doesn&#8217;t have locally)</p>
]]></content:encoded>
			<wfw:commentRss>http://www.rogerwalsh.com/2010/02/14/font-face-adding-a-custom-font-to-your-site-with-css/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>The Nightmare That Is Internet Explorer</title>
		<link>http://www.rogerwalsh.com/2010/02/08/my-frustration-with-internet-explorer/</link>
		<comments>http://www.rogerwalsh.com/2010/02/08/my-frustration-with-internet-explorer/#comments</comments>
		<pubDate>Mon, 08 Feb 2010 12:07:01 +0000</pubDate>
		<dc:creator>Roger</dc:creator>
				<category><![CDATA[design]]></category>
		<category><![CDATA[development]]></category>
		<category><![CDATA[browsers]]></category>
		<category><![CDATA[comment]]></category>
		<category><![CDATA[css3]]></category>
		<category><![CDATA[Internet]]></category>
		<category><![CDATA[rant]]></category>

		<guid isPermaLink="false">http://www.rogerwalsh.com/?p=56</guid>
		<description><![CDATA[Most Web Designers will tell you Internet Explorer is holding the web back. I&#8217;ve always taken a rather pragmatic view about the whole affair. It&#8217;s not up to us to tell people how to surf the web. It&#8217;s up to us to design for those people. I&#8217;m starting to re-evaluate that opinion though. Layout differences [...]]]></description>
			<content:encoded><![CDATA[<p class="intro">Most Web Designers will tell you Internet Explorer is holding the web back. I&#8217;ve always taken a rather pragmatic view about the whole affair. It&#8217;s not up to us to tell people how to surf the web. It&#8217;s up to us to design for those people. I&#8217;m starting to re-evaluate that opinion though.</p>
<p><span id="more-56"></span></p>
<p>Layout differences are easy enough to deal with. We just display alternative style sheets for different browsers. It does however increase the time we are required to spend ensuring our sites look just right on your browser of choice. That&#8217;s our problem, not yours (though if you are a client you really should be concerned with how our time is being held  up by just one browser). Recently though, with the move towards new web technologies, Internet Explorer is starting to hold back how we can make sites work better and that&#8217;s getting frustrating. </p>
<p>A good example is on this site. As it&#8217;s a personal site I&#8217;m keen to exploit new technolgies and use it as a testing ground for things I develop for clients. The image gallery at the bottom of the page is written in jQuery, works perfectly in all browsers&#8230; breaks in IE with a completely non-specific error. I&#8217;ve spent an hour or so looking into it with no joy (edit &#8211; after another hour I&#8217;ve found that Internet Explorer does not support window.innerWidth). Frustrating to say the least. I just can&#8217;t see why it is that I can code a site knowing it will work fine in all Browsers with the exception of Internet Explorer and then must spend extra time getting the same functionality to work on it alone (not to mention how each version of Internet Explorer has it&#8217;s own issues). </p>
<p>The main reason someone should upgrade to a better browser is that on nearly all accounts <em>Internet Explorer is the weakest application on the market</em>. It&#8217;s simply an inferior piece of kit. <a href="http://sixrevisions.com/infographs/browser-performance/" target="_blank">Have a look at this infographic</a>. </p>
<p>Internet Explorer uses more resources, renders styles and selects items on a page slower than <em>any</em> other modern browser out there. It&#8217;s like driving up a motorway in a scooter. Why would you do that to yourself?</p>
<p><em>Use of Internet Explorer also holds innovation back</em>. The following issues are unlikely to be resolved in the next <em>decade</em> if people continue to use Internet Explorer: </p>
<ol>
<li>
<h3>Limited Data URI Support</h3>
<p>Support for this could speed up the delivery of web content. All it means is instead of referencing data it can be embedded within the page.</p>
</li>
<li>
<h3>SVG Graphics</h3>
<p>Again, support for this could really speed up your browsing experience. This graphics format can be edited using a text editor, can scale to any size and allows user interaction (think Flash without the plugins). </p>
</li>
<li>
<h3>CSS3 Colours</h3>
<p>Instead of us designers using Javascript or graphics files to create transparency on the web we could just use css. Not at present unfortunately.</p>
</li>
<li>
<h3>Embedded Fonts</h3>
<p>All other browsers use OpenType Font embedding, Internet Explorer does not use this, using it&#8217;s own EOT font format. In fairness it was first to the game regarding font embedding, but OpenType is by far the most popular font format these days.</p>
</li>
<li>
<h3>Text Shadows</h3>
<p>Putting nice drop shadows on text is just simply not supported. Could be a blessing though as I could see it being well over used</p>
</li>
<li>
<h3>Rounded Corners</h3>
<p>Instead of creating graphics to give the effect of nice rounded corners on boxes we could just be using a simple css declaration.</p>
</li>
<li>
<h3>Multiple Columns</h3>
<p>This is a must have feature. At present text cannot flow dynamically into neat columns. That&#8217;s why you either see carefully designed sites where the text is placed in each column statically (or the columns are uneven) or you have lines of text that are just too hard to read. Alternatively you do what I&#8217;ve done on this site and increase the size of the text / decrease the area it is displayed on. The optimum amount of text on a line for readability is 10 or so words. Go grab a book off the shelf and see for yourself. Multiple columns are a great idea. They&#8217;ve been employed in print for centuries. If Internet Exlorer has it&#8217;s way it could be decades before we get to use it on the web.</p>
</li>
</ol>
<p>There&#8217;s a lot more Internet Explorer cannot do but the above are my main gripes. If this sort of thing interests you check out <a href="http://a.deveria.com/caniuse/" target="_blank">When can I use</a>.</p>
<p>So if you are reading this on Internet Explorer please consider upgrading to another browser. </p>
]]></content:encoded>
			<wfw:commentRss>http://www.rogerwalsh.com/2010/02/08/my-frustration-with-internet-explorer/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

