node.js harfbuzz bindings
varfs=require('fs');varft=require('freetype2');varface={};ft.New_Memory_Face(fs.readFileSync(process.argv[2]),0,face);face=face.face;varptSize=70*64;vardevice_hdpi=72;vardevice_vdpi=72;ft.Set_Char_Size(face,0,ptSize,device_hdpi,device_vdpi);varhb=require('harfbuzz');varglyphs=hb(face.handle,"This is test text to shape");console.log(glyphs);