michal-h21 / luatex-harfbuzz-shaper

Experimental text shaping in LuaTeX using Harfbuzz library
10 stars 0 forks source link

Add support for TTB direction #6

Open michal-h21 opened 8 years ago

michal-h21 commented 8 years ago

Current kerning function for handling TTB direction is broken, I don't know how to correctly compute the kern size and how to insert it (it seems that glue should be inserted instead of kern, which doesn't seem to do anything.

Reference: http://wiki.luatex.org/index.php/Japanese_and_more_generally_CJK_typesetting