<?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>bavotasan.com &#187; font</title>
	<atom:link href="http://bavotasan.com/tag/font/feed/" rel="self" type="application/rss+xml" />
	<link>http://bavotasan.com</link>
	<description>by c.bavota</description>
	<lastBuildDate>Tue, 07 Feb 2012 15:42:10 +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>Moderno v1.0 Premium WordPress Theme</title>
		<link>http://bavotasan.com/2010/moderno-v1-0-premium-wordpress-theme/</link>
		<comments>http://bavotasan.com/2010/moderno-v1-0-premium-wordpress-theme/#comments</comments>
		<pubDate>Mon, 02 Aug 2010 20:00:57 +0000</pubDate>
		<dc:creator>c.bavota</dc:creator>
				<category><![CDATA[Articles]]></category>
		<category><![CDATA[Column Layout]]></category>
		<category><![CDATA[com]]></category>
		<category><![CDATA[face kits]]></category>
		<category><![CDATA[font]]></category>
		<category><![CDATA[info]]></category>
		<category><![CDATA[look]]></category>
		<category><![CDATA[number]]></category>
		<category><![CDATA[Placing]]></category>
		<category><![CDATA[possibilities]]></category>
		<category><![CDATA[premium]]></category>
		<category><![CDATA[site]]></category>
		<category><![CDATA[theme]]></category>
		<category><![CDATA[Themes]]></category>
		<category><![CDATA[web]]></category>
		<category><![CDATA[Widgets]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://bavotasan.com/?p=1807</guid>
		<description><![CDATA[Just updated for WordPress 3.0. Moderno has a beautifully simple, yet exquisite design with many subtle nuances that make it stand out from the crowd. An optional two or three column layout with an infinite number of color and font possibilities make it easy to create a truly original look for your Web site. Go [...]]]></description>
			<content:encoded><![CDATA[<p><strong>Just updated for WordPress 3.0.</strong></p>
<p><a href="http://themes.bavotasan.com/our-themes/premium-themes/moderno">Moderno</a> has a beautifully simple, yet exquisite design with many subtle nuances that make it stand out from the crowd. An optional two or three column layout with an infinite number of color and font possibilities make it easy to create a truly original look for your Web site. Go crazy placing your favorite widgets in up to three widgetized locations. Select a standardized Web font or get a little more creative with one of ten pre-installed @font-face kits.<br />
<span id="more-1807"></span><br />
<a class="highslide" href="http://bavotasan.com/wp-content/uploads/2010/03/moderno_final.jpg"><img src="http://bavotasan.com/wp-content/uploads/2010/03/moderno_final-373x600.jpg" alt="" title="moderno_final" width="373" height="600" class="aligncenter size-medium wp-image-1808" /></a></p>
<p>Go to <a href="http://themes.bavotasan.com/our-themes/premium-themes/moderno">Themes by bavotasan.com</a> for more info.</p>
]]></content:encoded>
			<wfw:commentRss>http://bavotasan.com/2010/moderno-v1-0-premium-wordpress-theme/feed/</wfw:commentRss>
		<slash:comments>24</slash:comments>
		</item>
		<item>
		<title>The New Google Font API</title>
		<link>http://bavotasan.com/2010/google-font-api/</link>
		<comments>http://bavotasan.com/2010/google-font-api/#comments</comments>
		<pubDate>Mon, 24 May 2010 15:55:04 +0000</pubDate>
		<dc:creator>c.bavota</dc:creator>
				<category><![CDATA[Articles]]></category>
		<category><![CDATA[api]]></category>
		<category><![CDATA[body]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[Css File]]></category>
		<category><![CDATA[Directory]]></category>
		<category><![CDATA[face kits]]></category>
		<category><![CDATA[file]]></category>
		<category><![CDATA[font]]></category>
		<category><![CDATA[Fonts]]></category>
		<category><![CDATA[google]]></category>
		<category><![CDATA[head tags]]></category>
		<category><![CDATA[link]]></category>
		<category><![CDATA[List]]></category>
		<category><![CDATA[look]]></category>
		<category><![CDATA[New]]></category>
		<category><![CDATA[serif]]></category>
		<category><![CDATA[site]]></category>
		<category><![CDATA[Stylesheet]]></category>
		<category><![CDATA[use]]></category>
		<category><![CDATA[web]]></category>

		<guid isPermaLink="false">http://bavotasan.com/?p=2074</guid>
		<description><![CDATA[Using the standard Web safe fonts is quickly becoming a thing of the past thanks to modern alternatives like @font-face kits and the new Google Font API. Taking a quick look through the Getting Started guide shows just how simple it is to apply the API to your Web site. All you have to do [...]]]></description>
			<content:encoded><![CDATA[<p>Using the standard Web safe fonts is quickly becoming a thing of the past thanks to modern alternatives like @font-face kits and the new <a href="http://code.google.com/apis/webfonts/">Google Font API</a>.  Taking a quick look through the <a href="http://code.google.com/apis/webfonts/docs/getting_started.html">Getting Started</a> guide shows just how simple it is to apply the API to your Web site. All you have to do is add a link between your site&#8217;s head tags to the CSS file hosted on Google, and then you can call the chosen font throughout your stylesheet.<br />
<span id="more-2074"></span><br />
Here is an example of the link:</p>

<div class="wp_syntax"><table border='0' cellpadding='0' cellspacing='0'><tr><td><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #339933;">&lt;</span>link rel<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;stylesheet&quot;</span> type<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;text/css&quot;</span> href<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;http://fonts.googleapis.com/css?family=Tangerine&quot;</span><span style="color: #339933;">&gt;</span></pre></div></td></tr></table></div>

<p>Then you can use the font like this:</p>

<div class="wp_syntax"><table border='0' cellpadding='0' cellspacing='0'><tr><td><div class="code"><pre class="css" style="font-family:monospace;">&lt;style<span style="color: #00AA00;">&gt;</span>
      body <span style="color: #00AA00;">&#123;</span>
        <span style="color: #000000; font-weight: bold;">font-family</span><span style="color: #00AA00;">:</span> <span style="color: #ff0000;">'Tangerine'</span><span style="color: #00AA00;">,</span> <span style="color: #993333;">serif</span><span style="color: #00AA00;">;</span>
        <span style="color: #000000; font-weight: bold;">font-size</span><span style="color: #00AA00;">:</span> <span style="color: #933;">48px</span><span style="color: #00AA00;">;</span>
      <span style="color: #00AA00;">&#125;</span>
&lt;/style<span style="color: #00AA00;">&gt;</span></pre></div></td></tr></table></div>

<p>Check out a list of available font in the <a href="http://code.google.com/webfonts">font directory</a>. They are all licensed for commercial and non-commercial use.</p>
]]></content:encoded>
			<wfw:commentRss>http://bavotasan.com/2010/google-font-api/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Embedding Fonts in your Web Site with CSS and @font-face</title>
		<link>http://bavotasan.com/2010/embedding-fonts-web-site-css-font-face/</link>
		<comments>http://bavotasan.com/2010/embedding-fonts-web-site-css-font-face/#comments</comments>
		<pubDate>Thu, 28 Jan 2010 20:19:23 +0000</pubDate>
		<dc:creator>c.bavota</dc:creator>
				<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[browser]]></category>
		<category><![CDATA[download]]></category>
		<category><![CDATA[everything]]></category>
		<category><![CDATA[font]]></category>
		<category><![CDATA[Fonts]]></category>
		<category><![CDATA[idea]]></category>
		<category><![CDATA[magazine]]></category>
		<category><![CDATA[Paragraph]]></category>
		<category><![CDATA[Squirrel]]></category>
		<category><![CDATA[Style]]></category>
		<category><![CDATA[Upload]]></category>
		<category><![CDATA[use]]></category>

		<guid isPermaLink="false">http://bavotasan.com/?p=1671</guid>
		<description><![CDATA[One of the winners of a free copy of Magazine Premium (see this article) suggested implementing @font-face kits to the theme. I had read about @font-face but never actually attempted to use it before. I did a bit more research and finally figured it out. Now 10 @font-face kits are available with Magazine Premium and [...]]]></description>
			<content:encoded><![CDATA[<p>One of the winners of a free copy of Magazine Premium (<a href="http://bavotasan.com/?p=1634">see this article</a>) suggested implementing @font-face kits to the theme. I had read about @font-face but never actually attempted to use it before. I did a bit more research and finally figured it out. Now 10 @font-face kits are available with Magazine Premium and I thought it would be a good idea to show you how I did it.<br />
<span id="more-1671"></span><br />
Adding @font-face fonts to your Web site is not that difficult. It just takes a few steps.</p>
<p>First, you need to download some @font-face kits. I like to use kits supplied by <a href="http://www.fontsquirrel.com/fontface">Font Squirrel</a> because they have an awesome library and all their fonts are 100% free for commercial use. For this example I&#8217;m going to use <a href="http://www.fontsquirrel.com/fonts/Riesling">Riesling</a>.</p>
<p>Once you have the files downloaded you need to add them to your Web site. Create a folder named &#8220;fonts&#8221; and place the riesling.eot and riesling.ttf files into the folder. Upload that to your site, in to the same directory as your style sheet.</p>
<p>Now open your style sheet and add the following:</p>

<div class="wp_syntax"><table border='0' cellpadding='0' cellspacing='0'><tr><td><div class="code"><pre class="css" style="font-family:monospace;"><span style="color: #808080; font-style: italic;">/*
 *
 * The fonts included are copyrighted by the vendor listed below.
 *
 * @vendor:     Bright Ideas
 * @licenseurl: http://www.fontsquirrel.com/license/Riesling
 *
 *
 */</span>
&nbsp;
<span style="color: #a1a100;">@font-face {</span>
	<span style="color: #000000; font-weight: bold;">font-family</span><span style="color: #00AA00;">:</span> <span style="color: #ff0000;">'RieslingRegular'</span><span style="color: #00AA00;">;</span>
	src<span style="color: #00AA00;">:</span> <span style="color: #993333;">url</span><span style="color: #00AA00;">&#40;</span><span style="color: #ff0000;">'fonts/riesling.eot'</span><span style="color: #00AA00;">&#41;</span><span style="color: #00AA00;">;</span>
	src<span style="color: #00AA00;">:</span> local<span style="color: #00AA00;">&#40;</span><span style="color: #ff0000;">'Riesling Regular'</span><span style="color: #00AA00;">&#41;</span><span style="color: #00AA00;">,</span> local<span style="color: #00AA00;">&#40;</span><span style="color: #ff0000;">'Riesling'</span><span style="color: #00AA00;">&#41;</span><span style="color: #00AA00;">,</span> <span style="color: #993333;">url</span><span style="color: #00AA00;">&#40;</span><span style="color: #ff0000;">'fonts/riesling.ttf'</span><span style="color: #00AA00;">&#41;</span> format<span style="color: #00AA00;">&#40;</span><span style="color: #ff0000;">'truetype'</span><span style="color: #00AA00;">&#41;</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span></pre></div></td></tr></table></div>

<p>Everything is in place for you to use Riesling as a font on your Web site. Just add it to your CSS like you would any other font-family:</p>

<div class="wp_syntax"><table border='0' cellpadding='0' cellspacing='0'><tr><td><div class="code"><pre class="css" style="font-family:monospace;">h1 <span style="color: #00AA00;">&#123;</span>
  <span style="color: #000000; font-weight: bold;">font-family</span><span style="color: #00AA00;">:</span> <span style="color: #ff0000;">'RieslingRegular'</span><span style="color: #00AA00;">,</span> Arial<span style="color: #00AA00;">,</span> <span style="color: #993333;">sans-serif</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span></pre></div></td></tr></table></div>

<p>The one thing you need to realize when using @font-face kits is that only modern browsers recognize it. </p>
<style type="text/css">
@font-face {
	font-family: 'RieslingRegular';
	src: url('http://bavotasan.com/fonts/riesling.eot');
	src: local('Riesling Regular'), local('Riesling'), url('http://bavotasan.com/fonts/riesling.ttf') format('truetype');
}
p.riesling {font: 26px/28px 'RieslingRegular', Arial, sans-serif;}
</style>
<p class="riesling">
This is a sample paragraph that uses @font-face kits and CSS. If you see this paragraph in Riesling then your browser supports @font-face. If not, you might need to upgrade your browser to take advantage of @font-face kits.</p>
]]></content:encoded>
			<wfw:commentRss>http://bavotasan.com/2010/embedding-fonts-web-site-css-font-face/feed/</wfw:commentRss>
		<slash:comments>26</slash:comments>
		</item>
		<item>
		<title>Modifying the WordPress Tag Cloud Widget Font Size</title>
		<link>http://bavotasan.com/2008/modifying-the-wordpress-tag-cloud-widget-font-size/</link>
		<comments>http://bavotasan.com/2008/modifying-the-wordpress-tag-cloud-widget-font-size/#comments</comments>
		<pubDate>Mon, 27 Oct 2008 20:24:58 +0000</pubDate>
		<dc:creator>c.bavota</dc:creator>
				<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[amount]]></category>
		<category><![CDATA[Change]]></category>
		<category><![CDATA[code]]></category>
		<category><![CDATA[file]]></category>
		<category><![CDATA[font]]></category>
		<category><![CDATA[line]]></category>
		<category><![CDATA[name]]></category>
		<category><![CDATA[number]]></category>
		<category><![CDATA[problem]]></category>
		<category><![CDATA[Programmers]]></category>
		<category><![CDATA[Sidebar]]></category>
		<category><![CDATA[tag]]></category>
		<category><![CDATA[Widget]]></category>
		<category><![CDATA[Widgets]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://bavotasan.com/?p=16</guid>
		<description><![CDATA[Using WordPress widgets for your sidebar really makes things easy on programmers and especially on users. The only problem I have come across is customizing the widgets so that they work exactly how you need and look the best for your specific design. I needed to manipulate the Tag Cloud widget so that the size [...]]]></description>
			<content:encoded><![CDATA[<p>Using WordPress widgets for your sidebar really makes things easy on programmers and especially on users. The only problem I have come across is customizing the widgets so that they work exactly how you need and look the best for your specific design.</p>
<p>I needed to manipulate the Tag Cloud widget so that the size of the largest font was not too big. It only took going in and changing one line in the widgets.php files. I wouldn&#8217;t suggest doing this unless you are somewhat comfortable with messing around with your code.<br />
<span id="more-16"></span><br />
File to manipulate: wp-includes/widgets.php</p>
<p>Find:</p>

<div class="wp_syntax"><table border='0' cellpadding='0' cellspacing='0'><tr><td><div class="code"><pre class="php" style="font-family:monospace;">wp_tag_cloud<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #666666; font-style: italic;">// at around line 1372</span></pre></div></td></tr></table></div>

<p>Change to:</p>

<div class="wp_syntax"><table border='0' cellpadding='0' cellspacing='0'><tr><td><div class="code"><pre class="php" style="font-family:monospace;">wp_tag_cloud<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'smallest=10&amp;largest=14&amp;number=25&amp;orderby=name'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></div></td></tr></table></div>

<p>&#8220;smallest&#8221; is the size of the smallest font you want<br />
&#8220;largest&#8221; is the size of the largest font you want<br />
&#8220;number&#8221; is the amount of tags you want to appear<br />
&#8220;orderby&#8221; is how the orders of the tags will be shown</p>
]]></content:encoded>
			<wfw:commentRss>http://bavotasan.com/2008/modifying-the-wordpress-tag-cloud-widget-font-size/feed/</wfw:commentRss>
		<slash:comments>18</slash:comments>
		</item>
	</channel>
</rss>

