<?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>JWDesigns</title>
	<atom:link href="http://www.jon-welsh.co.uk/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.jon-welsh.co.uk</link>
	<description>A personal portfolio of Jon Welsh</description>
	<lastBuildDate>Mon, 13 Jun 2011 23:21:04 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>@font-face tutorial</title>
		<link>http://www.jon-welsh.co.uk/tutorials/css3/font-face/</link>
		<comments>http://www.jon-welsh.co.uk/tutorials/css3/font-face/#comments</comments>
		<pubDate>Mon, 02 May 2011 19:04:01 +0000</pubDate>
		<dc:creator>Jon</dc:creator>
				<category><![CDATA[CSS3]]></category>
		<category><![CDATA[@font-face]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[tutorials]]></category>
		<guid isPermaLink="false">http://www.jon-welsh.co.uk/?p=766</guid>
		<description><![CDATA[<p>
@font-face, not specifically unique to CSS3, gives the designer/developer the freedom to use which ever font they choose, as long as it is legally allowed for use, so make sure it has a web-font license. This tutorial will help you understand how to do this effectively.
</p>
<p>
Ok so where do we start, well you can either create your own font, using Illustrator or something similar or you can search for a font on the web. I suggest a site like <a href="http://www.fontsquirrel.com/fontface" target="_blank">fontsquirrel.com</a> simply because they have everything you need to get started. They have a huge database of fonts and will convert them into all the different file types you need.
</p>
<p>
Lets talk about the different file types you will need for this to work on multiple browsers, below you will find a list of the various files and the browsers they work with.
</p><div class="read"> <a href="http://www.jon-welsh.co.uk/tutorials/css3/font-face/">Continue Reading <span class="meta-nav">&#8594;</span></a></div>]]></description>
			<content:encoded><![CDATA[<p>
In this day and age we all want to be seen as unique, so why should our websites be any different.
As you know fonts for websites can be very restrictive, so why not break the bond that binds us to web-safe fonts and be creative.
</p>
<p>
@font-face, not specifically unique to CSS3, gives the designer/developer the freedom to use which ever font they choose, as long as it is legally allowed for use, so make sure it has a web-font license. This tutorial will help you understand how to do this effectively.
</p>
<p>
Ok so where do we start, well you can either create your own font, using Illustrator or something similar or you can search for a font on the web. I suggest a site like <a href="http://www.fontsquirrel.com/fontface" target="_blank">fontsquirrel.com</a> simply because they have everything you need to get started. They have a huge database of fonts and will convert them into all the different file types you need.
</p>
<p>
Lets talk about the different file types you will need for this to work on multiple browsers, below you will find a list of the various files and the browsers they work with.
</p>
<ul>
   <li>• Internet Explorer : EOT</li>
   <li>• Safari : TTF / OTF</li>
   <li>• iPhone : SVG</li>
   <li>• Chrome : SVG</li>
   <li>• Firefox : TTF/OTF</li>
   <li>• Firefox 3.6+ : WOFF</li>
   <li>• Opera : TTF/OTF</li>
</ul>
<p>
The code below shows you how to implement font-face into your CSS file but we will need to look into this code a little deeper. We will need to give our new font a name and this can be seen on line 2, you can name this anything you want and is exactly the same as you would call a web-safe font. On lines 3 - 6 you will see were we reference the source files for the fonts, these are separated by using commas. This is just very basic code to get it to work, you can also use additional features such as font-weight, font-style and any others if you choose to.
</p>
<pre class="brush: css; title: ; notranslate">
@font-face {
font-family: 'JosefinSlabSemiBold';
src: url('font/JosefinSlab-SemiBold-webfont.eot?') format('eot'),
url('font/JosefinSlab-SemiBold-webfont.woff') format('woff'),
url('font/JosefinSlab-SemiBold-webfont.ttf') format('truetype'),
url('font/JosefinSlab-SemiBold-webfont.svg#webfontyVaaX3CG') format('svg');
}
</pre>
<p>
To create different font weights you will have to create/download multiple versions of the font and reference them in the same way, below is a simple demonstration on how to this. I have stripped out the majority of the file types because you have seen them in the above example. As you can see one of the fonts is in bold whilst the other is semibold.
</p>
<pre class="brush: css; title: ; notranslate">
@font-face {
font-family: 'JosefinSlabSemiBold';
src: url('font/JosefinSlab-SemiBold-webfont.eot?') format('eot');
}
@font-face {
font-family: 'JosefinSlabBold';
src: url('font/JosefinSlab-Bold-webfont.eot?') format('eot');
}
</pre>
<p>
The following code shows you how to reference your new font in individual sections such as h1, p and anything else you choose to use it with.<br/>
Below references the h1 tag in bold and the h2 tag in semibold.
</p>
<pre class="brush: css; title: ; notranslate">
h1 {
	font-family: 'JosefinSlabBold', Arial, sans-serif;
	font-size:17px;
}
h2 {
	font-family: 'JosefinSlabSemiBold', Arial, sans-serif;
	font-size:17px;
}
</pre>
<p>
As you can see it is exactly the same as you would normally call a font-family, I would also add similar web-safe fonts after the customised font just in case it fails and then it covers your back if anything does go wrong.
</p>
<p>
I hope this tutorial has been helpful, if I have missed anything that you may want to know just get in touch and I will add it.
</p>]]></content:encoded>
			<wfw:commentRss>http://www.jon-welsh.co.uk/tutorials/css3/font-face/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Updates</title>
		<link>http://www.jon-welsh.co.uk/home/updates/</link>
		<comments>http://www.jon-welsh.co.uk/home/updates/#comments</comments>
		<pubDate>Sun, 01 May 2011 21:16:51 +0000</pubDate>
		<dc:creator>Jon</dc:creator>
				<category><![CDATA[Home]]></category>
		<category><![CDATA[updates]]></category>
		<guid isPermaLink="false">http://www.jon-welsh.co.uk/?p=746</guid>
		<description><![CDATA[In this section I will share every update this site receives, so keep an eye out because it will get updated a lot. • Easy to use social buttons on every important page or post Due to a recent mix &#8230;<div class="read"> <a href="http://www.jon-welsh.co.uk/home/updates/">Continue Reading <span class="meta-nav">&#8594;</span></a></div>]]></description>
			<content:encoded><![CDATA[<p>In this section I will share every update this site receives, so keep an eye out because it will get updated a lot.</p>
<ul>
<li>• Easy to use social buttons on every important page or post</li>
</ul>
<br/>
<p>Due to a recent mix up with my database I have lost some of my tutorials, do not fear though I will rewrite them and they will appear shortly</p>]]></content:encoded>
			<wfw:commentRss>http://www.jon-welsh.co.uk/home/updates/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Welcome to JWDesigns</title>
		<link>http://www.jon-welsh.co.uk/home/welcome/</link>
		<comments>http://www.jon-welsh.co.uk/home/welcome/#comments</comments>
		<pubDate>Sun, 01 May 2011 16:09:40 +0000</pubDate>
		<dc:creator>Jon</dc:creator>
				<category><![CDATA[Home]]></category>
		<category><![CDATA[CSS3]]></category>
		<category><![CDATA[fourth site]]></category>
		<category><![CDATA[HTML5]]></category>
		<category><![CDATA[Welcome]]></category>
		<guid isPermaLink="false">http://www.jon-welsh.co.uk/?p=733</guid>
		<description><![CDATA[Hello and welcome to the fourth version of my portfolio. My name is Jon Welsh, I am a web designer and photographer from Hull, East Yorkshire and I am pleased to introduce you to my new site. This is the &#8230;<div class="read"> <a href="http://www.jon-welsh.co.uk/home/welcome/">Continue Reading <span class="meta-nav">&#8594;</span></a></div>]]></description>
			<content:encoded><![CDATA[<p>Hello and welcome to the fourth version of my portfolio. My name is Jon Welsh, I am a web designer and photographer from Hull, East Yorkshire and I am pleased to introduce you to my new site.</p>
<p>This is the fourth site I have created for my portfolio and the first experimental site using the latest languages. The languages I am talking about are HTML5 and CSS3, I decided to try making a site using these languages after reading the introductory books from "A Book Apart". The books are an impressive read and I was intrigued to see if I could make a site of my own using these languages. I have also used JavaScript and PHP to help me out with the more advanced parts of the site.</p>
<p>This time I have implemented the use of WordPress simply because I have decided to share my new found knowledge with you in helpful and simple to understand tutorials. There will be numerous tutorial categories including the scripting languages I have mentioned above and also numerous software packages I have used. As I write these tutorials you will be able to see them appear below this post and over time this post will disappear so you won't have to scroll to see what's new.</p>
<p>If you have any feedback or queries don't hesitate to get in touch using either the comments form on the various posts or using the contact form, all queries will be read and I will try and answer everything you may ask to the best of my abilities.</p>
<p>Thank you for your time and I hope you enjoy viewing the site as much as I did designing it.</p>]]></content:encoded>
			<wfw:commentRss>http://www.jon-welsh.co.uk/home/welcome/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

