local harfbuzz = require'harfbuzz'
A ffi binding of HarfBuzz, a library for OpenType complex text shaping.
work in progress...
There's a quick demo to try out in the meantime (for which you'll need the freetype package).
TODO: integrate more from this: https://github.com/lxnt/ex-sdl-freetype-harfbuzz/blob/master/ex-sdl-freetype-harfbuzz.c
After upgrading harfbuzz, building it requires removing the included .hh files and recreating them with Ragel. Ragel builds with luapower's toolchain just fine:
tar xfv ragel-6.9.tar.gz
Linux / OSX:
sudo make install
cp ragel/ragel.exe <mingw-install-dir>/bin
18 months ago
Edit on GitHub