width of a jit.gl.text3d object

Oct 8, 2006 at 4:17pm

width of a jit.gl.text3d object

Is there any way to determine the width (in opengl coordinates, or in pixels) of a given line of text in a given font (at scale 1 1 1) rendered by the jit.gl.text3d object?

The question has been posed on this forum several times, but as far as I can tell it has never been answered.

#28038
Jun 15, 2007 at 1:21pm

Hi pseudostereo,

I have the same problem now. Did you find a solution at that time?

Thanks
secco

#85658
Jun 15, 2007 at 4:28pm

Nope.

#85659
Jun 18, 2007 at 4:29pm

See jsui_screentoworld-example.pat in examples/javascript/ui.

HTH,
dan

#85660
Jun 18, 2007 at 8:39pm

thanks a lot. I’ll try that.

#85661

You must be logged in to reply to this topic.