harfbuzzjs demo. Supports font drag and drop.

Result: