Hello,<br><br>I frequently use vtkTextActor within a graphics library I wrote.<br>Is it somehow possible to replace these occurences with a vtkLabelRenderStrategy, maybe within a vtkContextDevice ?<br>The reason I want to do this is simply to enable rendering of unicode characters, more precisely certain characters<br>
that are not within the 7-Bit ascii set which text actor allows.<br><br>The following sample code does not show any text :<br><br>--------------------------------------------------------------------------------<br>vtkRenderWindow *renWin = vtkRenderWindow::New();<br>
renWin->AddRenderer( ren1 );<br> renWin->SetSize( 300, 300 );<br> vtkStdString l_vtkStdStr("Hallo"); <br>float f_coords[] = {50.0f,50.0f};<br><br>l_vtkDevice->Begin(ren1);<br>l_vtkDevice->DrawString(f_coords,l_vtkProp,l_vtkStdStr);<br>
l_vtkDevice->End();<br><br> renWin->GetInteractor()->Render();<br>--------------------------------------------------------------------------------<br><br>I also tried using vtkLabelRenderStrategy directly etc.<br>
<br>Best Regards,<br>Oliver<br>