karappo / jquery.kerning.js

The jQuery kerning plugin specific with Japanese webfont.

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

About

The jQuery kerning plugin specific with Japanese webfont.

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

License:MIT License


Languages

Language:JavaScript 76.4%Language:CoffeeScript 14.5%Language:CSS 4.8%Language:HTML 4.3%