jit.gl.text2d : the length of a string (in pixel)

Ptyx's icon

Hi,
Is it possible to know the length of a string, in the jit.gl.text2d context — not the number of string's characters, nor the dimensions of the matrix, but the length in screen's pixels ?
thanks a lot