Login  Register

AWT TextRenderer vs com.jogamp.graph.curve.opengl.TextRegionUtil

Posted by mahesh on Aug 22, 2018; 4:25am
URL: https://forum.jogamp.org/AWT-TextRenderer-vs-com-jogamp-graph-curve-opengl-TextRegionUtil-tp4039133.html

I am planning to write html renderer in jogl which obviously will need lot of styling in text. I am currently using awt textrenderer and I have to cache one textrenderer for each style, and hence eventually one texture for each.

Will it be more beneficial to use curve based textrenderer in point of view of performance and memory usage?

Where can I get some standalone working example for com.jogamp.graph.curve.opengl.TextRegionUtil, all seem to be outdated and do not work with jogl 2.3.3? Isn't there any tutorial to use this new way of rendering text?