Skip to content

yoshihik0/getKerning

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

getKerning

イラストレータで文字詰めしたカーニング情報をスクリプトで取り出し、JavaScriptで埋め込みます。

getKerning.js

Adobe Illustrator用スクリプトです。
文字ツールで文字を選択して、
[ファイル]→[スクリプト]→[その他のスクリプト]から
このスクリプトを選択して実行すると、
文字詰め情報の配列が表示されます。
これをコピーして利用します。

この時、すべての文字間隔に
カスタムカーニングが設定されている必要があります。

kerningText.js

JQueryの後に読み込みます。
kerningText("セレクタ名",getKerning.jsで読み取ったKerningデータ);
この1行を書き込むだけです。

sample.html

使い方のサンプルです。

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages