Forums > Jitter

width of a jit.gl.text3d object

October 8, 2006 | 4:17 pm

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.


June 15, 2007 | 1:21 pm

Hi pseudostereo,

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

Thanks
secco


June 15, 2007 | 4:28 pm

Nope.



Dan
June 18, 2007 | 4:29 pm

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

HTH,
dan


June 18, 2007 | 8:39 pm

thanks a lot. I’ll try that.


Viewing 5 posts - 1 through 5 (of 5 total)