Skip to content

v0.3.0

Compare
Choose a tag to compare
@naokazuterada naokazuterada released this 13 Jul 05:52
· 11 commits to master since this release
  • Support initializing with HTML attributes
<p data-kerning>
javascriptを書かなくても、HTML側の属性設定でカーニング可能に。
</p>

with kerning-data

<p data-kerning='{data:{kerning:{"う":[-0.2,-0.2]}}}'>
あいうえお
</p>
  • Support direct json file specification
$('p').kerning("path/to/kerning-data.json");