<?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>*** Project Uni *** &#187; Unityテキスト</title>
	<atom:link href="http://nantara.jp/blog/?cat=5&#038;feed=rss2" rel="self" type="application/rss+xml" />
	<link>http://nantara.jp/blog</link>
	<description>Just another WordPress site</description>
	<lastBuildDate>Thu, 22 May 2014 07:36:02 +0000</lastBuildDate>
	<language>ja</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>日本語フォント表示と配置、更新</title>
		<link>http://nantara.jp/blog/?p=65</link>
		<comments>http://nantara.jp/blog/?p=65#comments</comments>
		<pubDate>Wed, 21 Mar 2012 16:02:13 +0000</pubDate>
		<dc:creator>Nantara</dc:creator>
				<category><![CDATA[Unityテキスト]]></category>

		<guid isPermaLink="false">http://nantara.jp/blog/?p=65</guid>
		<description><![CDATA[Android実機で日本語が表示されない等の問題がある様子なので日本語対応のフォントIPAfont(IPAゴシック)を利用してテスト表示等までの流れを記載しておきます。 今回は「ipag.ttf」のフォントを利用します。このファイルをプロジェクトウィンドウにドロップします。 ドロップしたファイルのInspectorで、 サイズ（任意） 色（任意） Character（ユニコード） Font Rendering（アンチエイリアス無し） を設定して、Applyをクリックします。 GameObject→Create Other→GUI textを選択してオブジェクトを生成し、Inspecterで初期テキストの内容やアンカーを設定し、フォントを先ほど設定した「ipag」に変更します。 スクリプトからの内容の更新は ｔhis.guiText.text = &#8220;コードから日本語を打ちこみます。\n改行もテストします。&#8221;; などとします。※改行は「\n」で行えます。 ※フォントのサイズはそれぞれのサイズのフォントを用意して利用するものとします。 プログラム側でサイズ設定やらをごにょごにょしましたがandroid端末上でフォントが滲んだりして良い結果は得られず。 &#160; &#160; &#160;]]></description>
			<content:encoded><![CDATA[<p>Android実機で日本語が表示されない等の問題がある様子なので日本語対応のフォントIPAfont(IPAゴシック)を利用してテスト表示等までの流れを記載しておきます。</p>
<p>今回は「ipag.ttf」のフォントを利用します。このファイルをプロジェクトウィンドウにドロップします。 ドロップしたファイルのInspectorで、<br />
<span style="color: #00ffff;">サイズ（任意）</span><br />
<span style="color: #00ffff;">色（任意）</span><br />
<span style="color: #00ffff;">Character（ユニコード）</span><br />
<span style="color: #00ffff;">Font Rendering（アンチエイリアス無し）</span><br />
を設定して、Applyをクリックします。</p>
<p>GameObject→Create Other→GUI textを選択してオブジェクトを生成し、Inspecterで初期テキストの内容やアンカーを設定し、フォントを先ほど設定した「ipag」に変更します。</p>
<p>スクリプトからの内容の更新は</p>
<p>ｔhis.guiText.text = &#8220;コードから日本語を打ちこみます。\n改行もテストします。&#8221;;</p>
<p>などとします。※改行は「\n」で行えます。</p>
<p>※フォントのサイズはそれぞれのサイズのフォントを用意して利用するものとします。<br />
プログラム側でサイズ設定やらをごにょごにょしましたがandroid端末上でフォントが滲んだりして良い結果は得られず。</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://nantara.jp/blog/?feed=rss2&#038;p=65</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
