Web製作者がクライアントのフォントレンダリングに手を加えることは今のところ出来ない。しかし、typeface.jsを使うとそれを擬似的に実現することができる。 typeface.js -- Rendering text with Javascript, <canvas>, and VML With typeface.js you can embed custom fonts in your web pages so you don't have to render text to images. 仕組みはこうである。使用するフォントのFontファイルより輪郭のベクターデータ、メトリクス、著作情報等を抜き出し、それをJSON形式にして、jsファイルに書き込む。使用したいhtmlでそれを読み込み、jsのレンダリングエンジンが、対象テキストから分解された文字をcanvasに描く。最後にcanv
![typeface.jsで日本語を - Webと文字](https://cdn-ak-scissors.b.st-hatena.com/image/square/636a431382518cd133f190eb925856367133c46c/height=288;version=1;width=512/https%3A%2F%2Fcdn-ak.f.st-hatena.com%2Fimages%2Ffotolife%2Fp%2Fproject_the_tower2%2F20100502%2F20100502053821.png)