I have a set of OTF font files and I need to showcase the fonts by dynamically rendering the text into images with different OpenType features turned on and off. The text will be input by a website user in a manner like here or here.
Now, I need an advice on a library that is capable of achieving that. Any language suitable for web development will do (PHP, Python, Ruby whatever).
All the OTF fonts currently contain Postscript outlines but I can convert them to contain TTF outlines if there is no other option.
I am aware of the Python library for FontForge but I'm still looking for other less heavy options.