I am trying to generate an image using Java/Clojure made up mainly of text that uses a custom font with opentype features. I have tried to use the current OTF Font support in Java even upgraded to oracle Java 8 and set the TextAttribute Ligatures to On but to no help. Can anyone provide suggestions on what is possible.
Note I need the ability to determine font-size, line-height and width of image so I am not sure if using TEX is possible in that situation.