<?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/"
		xmlns:xhtml="http://www.w3.org/1999/xhtml"
>

<channel>
	<title>DesignWalker &#187; BJKit</title>
	<atom:link href="http://www.designwalker.com/tag/bjkit/feed" rel="self" type="application/rss+xml" />
	<link>http://www.designwalker.com</link>
	<description>ロサンゼルスで働くウェブデザイナーの日記。</description>
	<lastBuildDate>Wed, 29 Jun 2011 06:24:51 +0000</lastBuildDate>
	<language>ja</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
<xhtml:link rel="alternate" media="handheld" type="text/html" href="http://www.designwalker.com/tag/bjkit/feed" />
		<item>
		<title>JavaScriptとswfでフォントを美しくする、BJKit</title>
		<link>http://www.designwalker.com/2007/01/bjkit.html</link>
		<comments>http://www.designwalker.com/2007/01/bjkit.html#comments</comments>
		<pubDate>Tue, 16 Jan 2007 19:16:18 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[インストール方法を伝える男]]></category>
		<category><![CDATA[BJKit]]></category>
		<category><![CDATA[font]]></category>
		<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[sIFR]]></category>
		<category><![CDATA[swf]]></category>
		<category><![CDATA[アンチエイリアス]]></category>
		<category><![CDATA[フォント]]></category>
		<category><![CDATA[日本語]]></category>
		<category><![CDATA[美しく]]></category>

		<guid isPermaLink="false">http://new.designwalker.com/2007/01/javascript%e3%81%a8swf%e3%81%a7%e3%83%95%e3%82%a9%e3%83%b3%e3%83%88%e3%82%92%e7%be%8e%e3%81%97%e3%81%8f%e3%81%99%e3%82%8b%e3%80%81bjkit.html</guid>
		<description><![CDATA[
			
				
			
		

日本語のフォントって、ブラウザで表示させるとギザギザに表示されて、綺麗じゃないんですよねぇ。。。
かといって、画像を毎回作るわけにも行かず。。。
どうしたものかなぁ。。っと悩んでおった [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.designwalker.com%2F2007%2F01%2Fbjkit.html"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.designwalker.com%2F2007%2F01%2Fbjkit.html&amp;style=normal&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p><script type="text/javascript" src="/fonts/js/beautifulJapanese.js"></script><br />
日本語のフォントって、ブラウザで表示させるとギザギザに表示されて、綺麗じゃないんですよねぇ。。。</p>
<p>かといって、画像を毎回作るわけにも行かず。。。</p>
<p>どうしたものかなぁ。。っと悩んでおったところ。。<br />
発見いたしました～！！</p>
<div style="float: left; margin: 0 10px 10px 0;">
<a href="http://www.ideamans.com/tool/beautifuljapanese.php" target="_blank"><img src="http://img.simpleapi.net/small/http://www.ideamans.com/tool/beautifuljapanese.php" alt="" width="128" height="128" hspace="4" vspace="4" align="left" border="0" /></a>
</div>
<p><a href="http://www.ideamans.com/tool/beautifuljapanese.php" target="_blank"><strong>BJKit(BeautifulJapaneseKit)</strong></a><br />
JavaScriptと日本語のフォントを埋め込んだswfを用意することで、動的にアンチエイリアスの効いたフォントに入れ替えてくれます～。</p>
<div style="clear: both;"></div>
<p>いやぁ～。。待ってました。こんなん。<br />
かなり画期的です。もう、お気づきの方も多いかもしれませんが。。。</p>
<p>試しに、このブログでも導入してみました。。</p>
<p>どうせなら、全部のフォントに適用して、きれいきれいなブログにしようと思っておったのでございますが。。。</p>
<p>とにかく、重い！。。swfファイルが重い！英語だけなら、アルファベットだけで済むので、かなり使える方法なのですが。。。</p>
<p>数千文字ある日本語のフォントを丸々埋め込むので、まだまだ、実用レベルではないのです。。。<br />
でもでも、タイトル部分くらいなら、なんとか、いけるかなぁ～っと。。。</p>
<p>まぁ、とりあえず、肝心の導入方法をご紹介じゃ！</p>
<p><strong>1. BJKit(BeautifulJapaneseKit)をダウンロード</strong><br />
<a href="http://www.ideamans.com/tool/beautifuljapanese.php" target="_blank"><strong>BJKit(BeautifulJapaneseKit)</strong></a><br />のサイトから、zipファイルをダウンロードして、解凍する。解凍したファイルをサーバにアップロード。</p>
<p>2. ↓のコードをhtmlの&lt;head&gt;から&lt;/head&gt;の間にコピーして、beautifulJapanese.jsを読み込みます。</p>
<div style="border: 1px dotted #333; background: #F7F7F7; padding: 5px; margin: 10px 0;">
&lt;script type=&#8221;text/javascript&#8221; src=&#8221;/common/js/beautifulJapanese.js&#8221;&gt;&lt;/script&gt;
</div>
<p>3. ↓のコードをhtmlの&lt;/body&gt;の上にコピーします。</p>
<div style="border: 1px dotted #333; background: #F7F7F7; padding: 5px; margin: 10px 0;">
&lt;script type=&#8221;text/javascript&#8221;&gt;<br />
&lt;!&#8211;<br />
replaceFonts( &#8216;<font style="color: #cc0000;">beautifu_title</font>&#8216;, &#8221;, &#8216;<font style="color: #cc0000;">/common/swf/fontsData/gothic.swf</font>&#8216;, &#8216;<font style="color: #cc0000;">300</font>&#8216;, &#8216;<font style="color: #cc0000;">36</font>&#8216;, &#8216;<font style="color: #cc0000;">0</font>&#8216;, &#8216;<font style="color: #cc0000;">66</font>&#8216;, &#8216;<font style="color: #cc0000;">000000</font>&#8216;, &#8216;<font style="color: #cc0000;">FFFFFF</font>&#8216;, &#8216;<font style="color: #cc0000;">FF6633</font>&#8216;);<br />
replaceFonts( &#8216;<font style="color: #cc0000;">beautifu_list</font>&#8216;, &#8216;<font style="color: #cc0000;">li</font>&#8216;, &#8216;<font style="color: #cc0000;">/common/swf/fontsData/mincho.swf</font>&#8216;, &#8216;<font style="color: #cc0000;">300</font>&#8216;, &#8216;<font style="color: #cc0000;">22</font>&#8216;, &#8216;<font style="color: #cc0000;">3</font>&#8216;, &#8216;<font style="color: #cc0000;">66</font>&#8216;, &#8216;<font style="color: #cc0000;">000000</font>&#8216;, &#8216;<font style="color: #cc0000;">FFFFFF</font>&#8216;, &#8216;<font style="color: #cc0000;">FF6633</font>&#8216;);<br />
//&#8211;&gt;<br />
&lt;/script&gt;
</div>
<p>↑赤字の部分は、それぞれの設定の値を入力します。</p>
<p>左から、<strong>変換対象タグのid</strong>、<strong>変換対象のタグ名</strong>、<strong>flashファイルのファイル名</strong>、<strong>表示領域の幅</strong>、<strong>フォントのサイズ</strong>、<strong>行間サイズ</strong>、<strong>一行あたりに表示する文字数</strong>、<strong>フォントの色</strong>、<strong>リンク時のフォントの色</strong>、<strong>ロールオーバー時のフォントの色</strong>をそれぞれ指定します。</p>
<p>そしたら。。。</p>
<div id=beautiful_jp">
<h3>えらいきれいにフォントが表示されました～。。</h3>
</div>
<p>もう少し簡単に設定できて、フォントサイズが縮小されるようになったら、かなり使えそうですねぇ。。</p>
<div align="center">
<a href="http://blog.with2.net/link.php?360074" target="_blank" onfocus="this.blur()"><img src="/images/ranking.gif" alt="デザインblogランキング" title="デザインblogランキング" /><span class="hide">デザインblogランキング</span></a>
</div>
<div id="adsense_block">
<script type="text/javascript"><!--
google_ad_client = "pub-6654816688662058";
google_ad_width = 336;
google_ad_height = 280;
google_ad_format = "336x280_as";
google_ad_type = "text";
//2006-10-25: DW記事下（大）
google_ad_channel = "9084044007";
google_color_border = "FFFFFF";
google_color_bg = "FFFFFF";
google_color_link = "5ABCD9";
google_color_text = "000000";
google_color_url = "D63597";
//--></script><br />
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
</div>
<p><script type="text/javascript">
<!--
replaceFonts( 'beautiful_jp', 'h3', '/fonts/swf/fontsData/gothic.swf', '480', '18', '1.4', '25', '333333', '333333', '333333');
//-->
</script></p>
]]></content:encoded>
			<wfw:commentRss>http://www.designwalker.com/2007/01/bjkit.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
	<xhtml:link rel="alternate" media="handheld" type="text/html" href="http://www.designwalker.com/2007/01/bjkit.html" />
	</item>
	</channel>
</rss>

