<?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>fwrnando.com &#187; japanese</title>
	<atom:link href="http://www.fwrnando.com/tag/japanese/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.fwrnando.com</link>
	<description>was sick of the &#34;blag&#34; thing</description>
	<lastBuildDate>Wed, 08 Sep 2010 04:43:18 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
		<item>
		<title>Merging fonts, S60 specific glyphs and other stories</title>
		<link>http://www.fwrnando.com/2009/06/merging-fonts-s60-specific-glyphs-and-other-stories/</link>
		<comments>http://www.fwrnando.com/2009/06/merging-fonts-s60-specific-glyphs-and-other-stories/#comments</comments>
		<pubDate>Tue, 09 Jun 2009 23:59:19 +0000</pubDate>
		<dc:creator>fernando</dc:creator>
				<category><![CDATA[Bloggan]]></category>
		<category><![CDATA[fontforge]]></category>
		<category><![CDATA[fontrouter]]></category>
		<category><![CDATA[heisei kaku gothic s60]]></category>
		<category><![CDATA[japanese]]></category>
		<category><![CDATA[s60]]></category>
		<category><![CDATA[symbian]]></category>

		<guid isPermaLink="false">http://www.fwrnando.com/?p=526</guid>
		<description><![CDATA[Fonts! Yes, one of S60&#8242;s oldest mysteries. Why Euro1 firmware phones don&#8217;t support asian fonts? It made sense back in the S60v2 times, where memory was scarce. But now there&#8217;s plenty of space for just a couple more megabytes that a full unicode font would occupy. For that, there are alternative fonts, pretty much any [...]]]></description>
			<content:encoded><![CDATA[<div id="attachment_528" class="wp-caption alignnone" style="width: 370px"><a href="http://www.fwrnando.com/blog/wp-content/uploads/2009/06/superscreenshot0018.png"><img class="size-full wp-image-528" title="superscreenshot0018" src="http://www.fwrnando.com/blog/wp-content/uploads/2009/06/superscreenshot0018.png" alt="superscreenshot0018" width="360" height="258" /></a><p class="wp-caption-text">Droid Sans with a cut musical note!</p></div>
<p>Fonts! Yes, one of S60&#8242;s oldest mysteries. Why Euro1 firmware phones don&#8217;t support asian fonts? It made sense back in the S60v2 times, where memory was scarce. But now there&#8217;s plenty of space for just a couple more megabytes that a full unicode font would occupy.</p>
<p>For that, there are alternative fonts, pretty much any .ttf you find, with a little magic, it can be used as a system font. If you want a wider range of characters, you have two options:</p>
<div id="attachment_532" class="wp-caption alignnone" style="width: 228px"><a href="http://www.fwrnando.com/blog/wp-content/uploads/2009/06/heisei.png"><img class="size-full wp-image-532" title="heisei" src="http://www.fwrnando.com/blog/wp-content/uploads/2009/06/heisei.png" alt="heisei" width="218" height="93" /></a><p class="wp-caption-text">Nokia&#39;s own Heisei Kaku Gothic S60</p></div>
<p>or</p>
<div id="attachment_530" class="wp-caption alignnone" style="width: 230px"><a href="http://www.fwrnando.com/blog/wp-content/uploads/2009/06/arial.png"><img class="size-full wp-image-530" title="arial" src="http://www.fwrnando.com/blog/wp-content/uploads/2009/06/arial.png" alt="arial" width="220" height="103" /></a><p class="wp-caption-text">Any other unicode font you find, for example, Arial MS Unicode</p></div>
<p>Thing is, the latin letters from Heisei Kaku are quite ugly, in my opinion. (and I&#8217;m not the only one, I&#8217;ll add some quotes here later :P). And regular fonts are just too big/wide  for mobile phones, they&#8217;re not designed with small UIs in mind. Compare with regular Series S60 Sans.</p>
<div id="attachment_531" class="wp-caption alignnone" style="width: 239px"><a href="http://www.fwrnando.com/blog/wp-content/uploads/2009/06/s60sans.png"><img class="size-full wp-image-531" title="s60sans" src="http://www.fwrnando.com/blog/wp-content/uploads/2009/06/s60sans.png" alt="s60sans" width="229" height="87" /></a><p class="wp-caption-text">lol blocks</p></div>
<p>So what could I do to fix that? Enter <a href="http://fontforge.sourceforge.net/">FontForge</a>! An free multiplatform font editing application. I finally figured out how to &#8220;merge&#8221; fonts using it.</p>
<p>You can take s60snr.ttf from Z:/System/Fonts and use FontForge to merge any font with japanese characters to it, fontforge will import the characters the original font does not have, so you keep the regular S60 latin letters, adding Japanese support to it.</p>
<p>Open both fonts on fontforge. (it asks me if I want to import bitmap fonts for heisei, I just answered no.)<br />
On the s60***.ttf window, on the menubar, Element &gt; Merge fonts. I get this:</p>
<div class="wp-caption alignnone" style="width: 320px"><img src="http://www.fwrnando.com/blog/wp-content/uploads/2009/06/Screen-shot-2009-08-02-at-13.03.29.png" alt="asd" width="310" height="157" /><p class="wp-caption-text">Found on Element &gt; Merge</p></div>
<p>After it merges (practically instantly), on the S60***.ttf window I go Files &gt; Generate fonts. Uncheck the Validate Before Saving option or else fontforge will complain.</p>
<div class="wp-caption alignnone" style="width: 438px"><img src="http://www.fwrnando.com/blog/wp-content/uploads/2009/06/Screen-shot-2009-08-02-at-13.05.57.png" alt="http://www.fwrnando.com/blog/wp-content/uploads/2009/06/Screen-shot-2009-08-02-at-13.05.57.png" width="428" height="507" /><p class="wp-caption-text">Even the font that comes with S60 won&#39;t properly validate, so uncheck that.</p></div>
<p>On the screenshot on the top of the post, however, you see a different font than the standard S60 font. That is <a href="http://android.git.kernel.org/?p=platform/frameworks/base.git;a=snapshot;h=39b04dd27e6d20809f8ff26920d1e761a0005252;sf=tgz">Droid Sans</a> (download link), the font used on Google&#8217;s Android platform. I got it because I thought it looked kinda neat, as an example for this post. But one thing you don&#8217;t have in other fonts, are the characters specific to S60. For example, the space bar symbol, the line break symbol, the cut musical note that indicates the phone&#8217;s on silent profile, etc.</p>
<div id="attachment_527" class="wp-caption alignnone" style="width: 460px"><a href="http://www.fwrnando.com/blog/wp-content/uploads/2009/06/picture-1.png"><img class="size-full wp-image-527" title="picture-1" src="http://www.fwrnando.com/blog/wp-content/uploads/2009/06/picture-1.png" alt="picture-1" width="450" height="267" /></a><p class="wp-caption-text">There they are, hidden in U+F800</p></div>
<p>Again, you can import those characters with FontForge, so now you can add those UI elements to every font you want to use on your phone.</p>
<p>Now to apply those fonts to your font, you need an application called FontRouter LT to avoid doing the whole renaming and copying procedure font changing used to take, and to make it even more simple, there&#8217;s an application called FontRouter Man, so you can turn it on and off with a single menu option.</p>
<div id="attachment_536" class="wp-caption alignnone" style="width: 178px"><a href="http://www.fwrnando.com/blog/wp-content/uploads/2009/06/superscreenshot0020.png"><img class="size-medium wp-image-536 " title="superscreenshot0020" src="http://www.fwrnando.com/blog/wp-content/uploads/2009/06/superscreenshot0020-168x300.png" alt="superscreenshot0020" width="168" height="300" /></a><p class="wp-caption-text">FontRouter Man&#39;s default settings</p></div>
<p>Now, for the downloads:</p>
<ul>
<li><a href="http://sourceforge.net/project/showfiles.php?group_id=103338&amp;package_id=111040">FontForge</a> (pick your OS)</li>
<li><a href="http://www.fwrnando.com/blog/wp-content/uploads/2009/06/heiseigoths60.ttf">HeiseiGothS60.ttf</a> (the original Nokia japanese font, I&#8217;m not sure if I can host it here, but it&#8217;s easily available around if you search.)</li>
<li><a href="http://www.fwrnando.com/blog/wp-content/uploads/2009/06/font-router-build-20071109.sis ">FontRouter LT</a> (the latest version)</li>
<li><a href="http://www.fwrnando.com/blog/wp-content/uploads/2009/06/fontroutermanv105beta.sisx">FontRouter Man</a> (the version that worked on my 5800)</li>
</ul>
<p>Take this post as 10% tip in adding Nokia characters to other fonts, 90% report of my &#8220;research&#8221;. I&#8217;ll try to update it in case I figure out how to add different variants of S60 Sans in FontRouter for the closest default UI look. That or if I figure how to make a lighter mix of the Droid Fonts in order not to crash the phone with arabic.</p>
<p><strong>Update!</strong></p>
<p>So I figured out why modifiying the three variations of S60 Sans wouldn&#8217;t please FontRouter.</p>
<div id="attachment_549" class="wp-caption alignnone" style="width: 494px"><a href="http://www.fwrnando.com/blog/wp-content/uploads/2009/06/serifsareforsuckers.png"><img class="size-full wp-image-549" title="serifsareforsuckers" src="http://www.fwrnando.com/blog/wp-content/uploads/2009/06/serifsareforsuckers.png" alt="serifsareforsuckers" width="484" height="215" /></a><p class="wp-caption-text">Tricky.</p></div>
<p>Both the regular and the SemiBold version have the same name! That&#8217;s why when adding s60snr, s60ssb, and s60tsb to FontRouter, just the regular and the title font would be added.</p>
<div id="attachment_546" class="wp-caption alignnone" style="width: 178px"><a href="http://www.fwrnando.com/blog/wp-content/uploads/2009/06/superscreenshot0021.png"><img class="size-medium wp-image-546" title="superscreenshot0021" src="http://www.fwrnando.com/blog/wp-content/uploads/2009/06/superscreenshot0021-168x300.png" alt="superscreenshot0021" width="168" height="300" /></a><p class="wp-caption-text">Notice all three variants: Red uses s60tsb, blue uses s60snr and the list uses s60ssb.</p></div>
<p>So this puts a conclusion to why I couldn&#8217;t use FontRouter to get the closest default UI look. I had to change the fonts the old school way, copying all three modified .ttfs to E:/Resources/Fonts and rebooting. Now I&#8217;m considering moving those files to C: (as leaving them on E: breaks mass storage mode (files in use, y&#8217;know)). Keep in mind deleting fonts after you added them on E:/Resources/Fonts requires you to boot up without the memory card (to free the files). Hopefully nothing will break, and I&#8217;ll be able to have the same fonts as I used to have, with nothing broken, just with added Japanese support.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.fwrnando.com/2009/06/merging-fonts-s60-specific-glyphs-and-other-stories/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
	</channel>
</rss>
