unicode and text3d

May 19, 2006 at 6:04pm

unicode and text3d

Hi folks,

I’ve been banging me head against the wall for three days now trying to get text3d to display unicode fonts beyond ascii characters. Everything I do either causes text3d (or the matrix I am sending to it) to belch, or to convert the unicode into ascii.

For eample, I can get the characters to Max through a text file (although I can’t display them properly because max’s screen font is not the font I am using) and I can put them into a jit.cellblock, but when I try to put them into a jit.matrix, the cells still have contents “0 0″ – nothing gets loaded.

I searched the forums and found a few mentions that didn’t help me. either people suggested to try text3d for something else (without indications as to how), or they responded with a message like

“You might find regexp or jit.regexp useful for your purposes.” which again doesn’t really tell me how to use regexp to get the characters into text3d.

Either I’m missing something very fundamental (which is probably true) or this is a harder problem that I thought.

Can someone give me an example of how to get a specific unicode character into text3d?

#26068
Jun 13, 2007 at 6:23pm

#77451
Jun 14, 2007 at 12:19pm

Having gone through a lot of this myself recently trying to display
Chinese characters, I can say with some confidence that jit.gl.text3d
does not have full Unicode support. I lucked out — it supports big
5 Chinese text encoding — & you might want to try out some other
arcane encodings that support the alphabet you’re trying to use & see
if they work. It is also important to set your message boxes to the
font you want to use, as well as the object itself. I even found
with Chinese characters that I had to use a font that supported
Chinese to send the “font” message to jit.gl.text3d properly.

M

On May 19, 2006, at 14:04, farq farq wrote:

>
> Hi folks,
>
> I’ve been banging me head against the wall for three days now
> trying to get text3d to display unicode fonts beyond ascii
> characters. Everything I do either causes text3d (or the matrix I
> am sending to it) to belch, or to convert the unicode into ascii.
>
> For eample, I can get the characters to Max through a text file
> (although I can’t display them properly because max’s screen font
> is not the font I am using) and I can put them into a
> jit.cellblock, but when I try to put them into a jit.matrix, the
> cells still have contents “0 0″ – nothing gets loaded.
>
> I searched the forums and found a few mentions that didn’t help
> me. either people suggested to try text3d for something else
> (without indications as to how), or they responded with a message like
>
> “You might find regexp or jit.regexp useful for your purposes.”
> which again doesn’t really tell me how to use regexp to get the
> characters into text3d.
>
> Either I’m missing something very fundamental (which is probably
> true) or this is a harder problem that I thought.
>
> Can someone give me an example of how to get a specific unicode
> character into text3d?
>
>

#77452

You must be logged in to reply to this topic.