Efficient text layout interface based on FreeType/GLFW