タグ

Typographyとjqueryに関するo_hiroyukiのブックマーク (3)

  • [JS]日本語のどんなWebフォントでも美しくカーニングできるスクリプト -jQuery.Kerning.js

    ウェブページで日語のWebフォントを使用する時にカーニングを適用して、読みやすくて美しく表示するjQueryのプラグインを紹介します。 全角の括弧や句読点などの約物は、日語のどんなフォントでもスクリプトのみで美しくカーニングできます。 ※文字間のカーニングは、フォントごとに設定が必要です。 jQuery.Kerning.js jQuery.Kerning.js -GitHub jQuery.Kerning.jsのデモ jQuery.Kerning.jsの使い方 jQuery.Kerning.jsのデモ デモでは上:カーニング無し、下:カーニング有りの状態で、明朝とゴシックの2書体がチェックできます。 適用されている方が、読みやすいですね。 ゴシック体のデモ、上:カーニング無し、下:カーニング有り jQuery.Kerning.jsの使い方 Step 1: 外部ファイル jquery.j

  • Mastering Kerning for Visually Harmonious Typography

    What is Kerning?: Free Kerning Visualizer Tool & How to Master the Art of Professional Typography Originally posted on January 28, 2024 @ 10:06 pm Kerning is a critical skill in the realm of typography that deals with the spacing between characters to achieve visual harmony. It’s not merely about setting a uniform space, but rather adjusting the distance to account for the unique shapes and sizes

    Mastering Kerning for Visually Harmonious Typography
  • HTMLで文字詰めするタイポグラフィー用JS | fladdict

    HTMLのテキストに対して、文字詰めを行えるスクリプト FLAutoKerningクラスを作ってみた。サンプルはこちら。zipも。 スクリプト内に任意のカーニングペアを定義することによって、ブログのタイトル等のテキストに字詰めを行ってくれるスクリプトです。なんか探しても見つからなかったので自分でやってみた。いちおう朗文堂の新宿私塾に行ったわけだし、僕もなんか成果物作らんとなぁ。。。的に。 実行はとても簡単。jQueryと一緒にhtmlにロードして、 FLAutoKerning.process($(‘h1′)); FLAutoKerning.process($(‘h2′)); FLAutoKerning.process($(‘h3′)); といった具合に、適用したhtml要素を一括していしてやるだけ。カーニング情報の定義も、FLAutoKerningクラスの頭に、下のようにem単位で定義する

    o_hiroyuki
    o_hiroyuki 2011/03/01
    htmlで文字詰め
  • 1