<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Hi again,<br><br>Just to say thank you, it's working !!<br><br><blockquote type="cite">[nbx\ &nbsp;&lt;- drag the number from 0..65535<br></blockquote><blockquote type="cite">|<br></blockquote><blockquote type="cite">[string $1(<br></blockquote><blockquote type="cite">|<br></blockquote><blockquote type="cite">[text3d]<br></blockquote><br>But now I hav to convert a few thousand of word in unicode.<br><br>So I think the best is to make a parser from a text file to unicode...<br><br>but mappings are very complex ... I think there is maybe some utilities to do that on the web ...<br><br>I will hav a look ..<br><br>Tx u<br><br>all the best,<br><br>reno-<br><br><br>Le 28 nov. 08 à 14:37, IOhannes m zmoelnig a écrit :<br><br><blockquote type="cite">please always include the list when replying.<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">Renaud RUBIANO wrote:<br></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">I hav to send the string from another soft in OSC?<br></blockquote></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">no<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite"><blockquote type="cite">Which soft ?<br></blockquote></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">no<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">if you have any clue...<br></blockquote></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">no :)<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">have a look at&nbsp;<a href="http://lists.puredata.info/search/PD-list?query=string+text3d">http://lists.puredata.info/search/PD-list?query=string+text3d</a><br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">the trick is to convert your string into a list of unicode values<br></blockquote><blockquote type="cite">(integers). (actually the values are not unicode but the glyph-id within<br></blockquote><blockquote type="cite">the font; but usually this can be assumed to be unicode)<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">for experimenting, this might be a good start:<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">[nbx\ &nbsp;&lt;- drag the number from 0..65535<br></blockquote><blockquote type="cite">|<br></blockquote><blockquote type="cite">[string $1(<br></blockquote><blockquote type="cite">|<br></blockquote><blockquote type="cite">[text3d]<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">fmasdr<br></blockquote><blockquote type="cite">IOhannes<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">oh, and is there a special reason to use [text2d] rather than [text3d]?<br></blockquote><blockquote type="cite">the latter usually performs better...<br></blockquote><div><font class="Apple-style-span" color="#144FAE"><br></font></div><div><div>Le 28 nov. 08 à 14:44, IOhannes m zmoelnig a écrit :</div><br class="Apple-interchange-newline"><blockquote type="cite"><div>please always include the mailing list when replying.<br><br>Renaud RUBIANO wrote:<br><blockquote type="cite"><blockquote type="cite">oh, and is there a special reason to use [text2d] rather than [text3d]?<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">the latter usually performs better...<br></blockquote></blockquote><blockquote type="cite">Oh no, but I doesn't need 3D options, so I guessed that 2d was GPU<br></blockquote><blockquote type="cite">less-consuming ... so ...<br></blockquote><br>i see.<br>nevertheless this is usually not true with Gem.<br>Gem is openGL based, meaning it uses hardware acceleration.<br>off-the-shelf gfx hardware has been highly pushed by aming industries,<br>which made 3d operations be more optimized than 2d operations...<br><br>so: [text3d] should be better than [text2d] in most cases (the latter<br>sometimes is needed when you want to use antialiasing)<br>[pix_draw] is usually way less efficient than [pix_texture]+[rectangle]<br>....<br><br><br>fgmasdr<br>IOhannes<br></div></blockquote></div><br></body></html>