Skip to content

karappo/jquery.kerning.js

Repository files navigation

Kerning

The jQuery kerning plugin specific with Japanese webfont.

Getting Started

Download the production version or the development version.

In your web page:

<script src="jquery.js"></script>
<script src="jquery.kerning.min.js"></script>
<script>
jQuery(function($) {
  $.getJSON("kerning-data.json" , function(_data) {
    $('h1').kerning({"data":_data});
  });
});
</script>
<h1>美しい文字</h1>

Examples / Documentation

http://karappo.github.io/jquery.kerning.js/

Code Status

Build Status

Release History

  • v0.3.1 : Fix collapse style issue
  • v0.3.0 : Support direct json file specification, initializing with [data-kening]
  • v0.2.2 : A few update for bower
  • v0.2.1 : Regist to bower
  • v0.2.0 : destroy feature, repeat kerning, data extending
  • v0.1.1 : Change data format simpler.
  • v0.1.0 : First release.