Re: TextRenderer and memory issues
Posted by r.jaoui on
URL: https://forum.jogamp.org/TextRenderer-and-memory-issues-tp4041129p4041131.html
Thanks ! I'll try using the graph text renderer (the TextRegionUtil class ?)
Looking at the documentation, I see that the font is directly passed as an argument when rendering text, which seems perfect, but in some cases I also need to work with the Metrics (to get the Ascent, Descent...), is there a way to get a FontRenderContext from the TextRegionUtil or to construct one from it ? Or is it better to simply use FontMetrics directly ?
Thanks :)