2009年12月11日 Permalink Comments(1) InDesign javascript 合成フォント(3) 合成フォント読み込みスクリプト どーも。久しぶりの更新です。 なかなか仕事が忙しくて、ゆっくりブログを書く時間もありません。 そんなわけで、とりあえず前回予告していた「合成フォント読み込みスクリプト」を考えてみました。 段落スタイルやスゥオッチを読み込むようにスマートにはいきませんが、取りあえず家の環境(OSX10.5.8、InDesign CS4)では一応動作確認できました。 考え方としては、読み込み先のドキュメントの合成フォント情報をゲットして、適用先のドキュメントに同内容の合成フォントを追加する感じです。 とりあえず走り書きしたのでエラーはつぶせていません。 例えば読み込み先に同じ合成フォントがあった場合とか、実際の運用にはいろいろエラーがでると思います。