<?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>gaurav's rants &#187; guidelines</title>
	<atom:link href="http://blog.gauravgiri.com/tag/guidelines/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.gauravgiri.com</link>
	<description>mostly iPhone stuff</description>
	<lastBuildDate>Wed, 21 Jul 2010 11:44:29 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>FontSwap icon and Package details</title>
		<link>http://blog.gauravgiri.com/2008/12/fontswap-icon-and-package-details/</link>
		<comments>http://blog.gauravgiri.com/2008/12/fontswap-icon-and-package-details/#comments</comments>
		<pubDate>Thu, 04 Dec 2008 10:11:17 +0000</pubDate>
		<dc:creator>gaurav</dc:creator>
				<category><![CDATA[iPhone]]></category>
		<category><![CDATA[2.x]]></category>
		<category><![CDATA[application]]></category>
		<category><![CDATA[custom]]></category>
		<category><![CDATA[fonts]]></category>
		<category><![CDATA[fontswap]]></category>
		<category><![CDATA[format]]></category>
		<category><![CDATA[guidelines]]></category>
		<category><![CDATA[package]]></category>

		<guid isPermaLink="false">http://blog.gauravgiri.com/?p=502</guid>
		<description><![CDATA[here&#8217;s an icon for the FontSwap app, couldn&#8217;t do a proper icon in time for release but here it is now.. will be added with the next update for those who are okay with the current icon.. FontSwap Package format: 1. Package must be a folder with the name FontName.font FontName is the custom font&#8217;s [...]]]></description>
			<content:encoded><![CDATA[<p>here&#8217;s an icon for the FontSwap app, couldn&#8217;t do a proper icon in time for release but here it is now.. will be added with the next update for those who are okay with the current icon..</p>
<p><a href="http://blog.gauravgiri.com/wp-content/uploads/icon.png" rel="lightbox[502]"><img class="alignnone size-full wp-image-503" title="icon" src="http://blog.gauravgiri.com/wp-content/uploads/icon.png" alt="" width="59" height="60" /></a></p>
<p><strong>FontSwap Package format</strong>:<br />
1. Package must be a folder with the name <strong><em>FontName</em>.font</strong><br />
FontName is the custom font&#8217;s name that you&#8217;ve ported. <strong>.font</strong> at the end is essential.</p>
<p>2. Package must contain all fonts related to the category it belongs to.<br />
<strong>Dialer Fonts</strong>: PhonepadTwo.ttf<br />
<strong>LockClock Fonts</strong>: LockClock.ttf<br />
<strong>Notes Fonts</strong>: MarkerFeltThin.ttf<br />
<strong>System Fonts</strong>: Helvetica.ttf *and* HelveticaBold.ttf</p>
<p>3. Package must be placed in the correct folder in the packages directory<br />
&#8220;/var/mobile/Library/FontSwap/Packages/Dialer Fonts&#8221;<br />
&#8220;/var/mobile/Library/FontSwap/Packages/LockClock Fonts&#8221;<br />
&#8220;/var/mobile/Library/FontSwap/Packages/Notes Fonts&#8221;<br />
&#8220;/var/mobile/Library/FontSwap/Packages/System Fonts&#8221;</p>
<p>4. Fonts must be ported with correct metadata intact. Applying fonts with incorrect metadata will cause serious problems like app crashes or SWOD.<br />
here&#8217;s how to port fonts <a href="http://blog.gauravgiri.com/2008/08/tutorial-port-fonts-to-iphone/">http://blog.gauravgiri.com/2008/08/tutorial-port-fonts-to-iphone/</a><br />
this issue will be resolved in future versions of FontSwap so that fonts with incorrect metadata will not be installed.</p>
<p>5. Package should contain an <strong>Info.plist</strong> file<br />
this is not utilized in the beta release, but placing this file will help your package to be compatible with future releases of FontSwap<br />
Sample:</p>
<pre>
&lt;?xml version="1.0" encoding="UTF-8"?&gt;
&lt;!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"&gt;
&lt;plist version="1.0"&gt;
&lt;dict&gt;
&lt;key&gt;Author&lt;/key&gt;
&lt;string&gt;Author Name&lt;/string&gt;

&lt;key&gt;FontName&lt;/key&gt;
&lt;string&gt;Custom Font Name&lt;/string&gt;

&lt;key&gt;FontCategory&lt;/key&gt;
&lt;string&gt;Category of Font&lt;/string&gt;

&lt;key&gt;Description&lt;/key&gt;
&lt;string&gt;Brief Description&lt;/string&gt;

&lt;key&gt;URL&lt;/key&gt;
&lt;string&gt;Author's Blog or Website&lt;/string&gt;
&lt;/dict&gt;
&lt;/plist&gt;
</pre>
<p>6. Package should contain an image <strong>Preview.png</strong> with a preview of the custom font.<br />
this too is not utilized in the beta release, but placing this file will help your package to be compatible with future releases of FontSwap.<br />
Image dimensions must be <strong>36px by 260px</strong>. It must show the Custom Font name in the font itself. Text size must be <strong>24px</strong>. Text color must be <strong>black [#000000]</strong>.</p>
<p>I know these are some strict rules but they will ensure that packages are uniform in appearance and easy on the eyes of the end-users.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.gauravgiri.com/2008/12/fontswap-icon-and-package-details/feed/</wfw:commentRss>
		<slash:comments>25</slash:comments>
		</item>
	</channel>
</rss>
