« 凄絶なるデスマーチ 【軍曹が】携帯電話開発の現状【語る】 | main | つくりたいもの、こと »
2005年04月13日
トゥルータイプフォントを、swfフォントにコンバートする方法
Macromedia Flash File Format (SWF)
あるいは公式SDK
鯖サイドでのswfのエクスポートについて、ざっと調べてみた。
swfのフォント周りの資料によると
ベータスプラインのTTFをベジェに変換して、ヘッダやライブラリ定義の後ろに連結すれば、TTFフォントを埋め込めるようです。
この変換アルゴリズムは、
1:TTFのY座標系を上下反転させ
2:フォントのEMスクエアサイズを1024*1024で正規化します。
3:4点ベータスプラインの2番目と3番目の中点にポイントを追加する。
だけでよいとのこと。なんだロジックは簡単じゃん。
とりあえず方法はわかりました。
残念ながら自分はバイトコードと鯖、C++全部できないので
あとは誰かスーパープログラマーに任せた・・・
投稿者 Taka : 2005年04月13日 05:38
book
bookmark
trackbacks
this entry's trackback URL:
http://www.fladdict.net/cgi-bin/mt3/mt-tb.cgi/72
このリストは、次のエントリーを参照しています: トゥルータイプフォントを、swfフォントにコンバートする方法:
» phentermine from phentermine
[read more]
トラックバック時刻: 2006年03月07日 19:11
» ephedrine diet pill from ephedrine diet pill
[read more]
トラックバック時刻: 2006年03月09日 13:10
» health insurance company from health insurance company
michigan health in... [read more]
トラックバック時刻: 2006年03月10日 14:33
» naturist young from naturist young
[read more]
トラックバック時刻: 2006年03月13日 08:27
» phentermine from phentermine
[read more]
トラックバック時刻: 2006年03月15日 02:26
» codeine from codeine
[read more]
トラックバック時刻: 2006年03月16日 00:05
» ephedrine from ephedrine
[read more]
トラックバック時刻: 2006年03月17日 20:26
» buy phentermine from buy phentermine
buy phentermine [read more]
トラックバック時刻: 2006年03月17日 22:40
» diazepam from diazepam
[read more]
トラックバック時刻: 2006年03月18日 05:09
» ephedra from ephedra
[read more]
トラックバック時刻: 2006年03月20日 08:03
» toyota rav4 from toyota rav4
[read more]
トラックバック時刻: 2006年03月20日 23:09
» ephedrine product from ephedrine product
[read more]
トラックバック時刻: 2006年03月21日 02:17
» mortgage from mortgage
[read more]
トラックバック時刻: 2006年03月21日 06:47
» mortgage from mortgage
[read more]
トラックバック時刻: 2006年03月21日 06:54
» mortgage from mortgage
[read more]
トラックバック時刻: 2006年03月21日 08:14
» mortgage from mortgage
[read more]
トラックバック時刻: 2006年03月21日 10:36
» mortgage from mortgage
[read more]
トラックバック時刻: 2006年03月21日 12:20
» mortgage from mortgage
[read more]
トラックバック時刻: 2006年03月22日 02:41
» investing websites from investing websites
[read more]
トラックバック時刻: 2006年03月22日 06:36
» buy phentermine from buy phentermine
[read more]
トラックバック時刻: 2006年03月22日 16:11
» phentermine from phentermine
[read more]
トラックバック時刻: 2006年03月27日 01:35
» phentermine from phentermine
[read more]
トラックバック時刻: 2006年03月27日 05:08
» buy xanax from buy xanax
[read more]
トラックバック時刻: 2006年03月27日 05:54
» phentermine from phentermine
[read more]
トラックバック時刻: 2006年03月27日 12:51
» viagra from viagra
[read more]
トラックバック時刻: 2006年03月28日 03:47
» buy xanax from buy xanax
[read more]
トラックバック時刻: 2006年03月28日 08:13
» buy xanax from buy xanax
[read more]
トラックバック時刻: 2006年03月28日 16:45
» viagra from viagra
[read more]
トラックバック時刻: 2006年03月28日 23:23
» phentermine from phentermine
[read more]
トラックバック時刻: 2006年03月29日 03:21
» viagra from viagra
[read more]
トラックバック時刻: 2006年03月29日 11:27
» cialis from cialis
[read more]
トラックバック時刻: 2006年03月29日 16:14
» xanax from xanax
[read more]
トラックバック時刻: 2006年03月30日 23:22
» xanax from xanax
[read more]
トラックバック時刻: 2006年03月31日 04:16
» viagra from viagra
[read more]
トラックバック時刻: 2006年03月31日 05:54
» viagra from viagra
[read more]
トラックバック時刻: 2006年03月31日 10:26
» phentermine from phentermine
[read more]
トラックバック時刻: 2006年03月31日 10:43
comment
「swfのフォント周りの資料」へのリンクがmtの管理画面へのリンクになっているようです。
by Anonymous : 2005年04月13日 15:48
FlashMX など使ったことがなくて
swf フォントっていうのがどんなものかわかってないのですが
私がやったことある方法の一つとしてご参考までに。
http://xml.apache.org/batik/ttf2svg.html
batik の ttf2svg というのを使うと
ttf のバイトコードを相手にしなくてすみますよ。
http://www.kinesissoftware.com/index.php
さらに出力された SVG を RVML に変換して (ここはプログラムが必要)
KineticFusion にかけると望みの swf ができるのではないかと。
かなりの手間がかかりますけどね。
by hiyon : 2005年04月14日 13:54
>リンクがmtの管理画面へのリンクに
修正しときました!!ご報告感謝っす。
>hiyonさん
確かに・・・ これはゴッツイ作業ですね。
誰でも簡単に・・・っていうのは難しそうですw
でも情報サンクスでしたー。ちょっと調べてみますー。
by Taka : 2005年04月14日 22:24
Nice site!
[url=http://caioyisj.com/apzx/lhwo.html]My homepage[/url] | [url=http://wsdkummg.com/rhoh/nzut.html]Cool site[/url]
by Holly : 2006年03月31日 15:06
Well done!
My homepage | Please visit
by Hayden : 2006年03月31日 15:07
by Tammy : 2006年03月31日 15:11
Great work!
[url=http://wnkjshlr.com/udjr/agbz.html]My homepage[/url] | [url=http://gesdyntc.com/axto/qfyy.html]Cool site[/url]
by Chad : 2006年03月31日 15:35
Great work!
My homepage | Please visit
by Laura : 2006年03月31日 15:36
by Heather : 2006年03月31日 15:37