<div dir="ltr"><div><div>Hello,<br><br></div>I apologize for not reading the guidelines properly and submitting an issue on Gitlab before trying the mailing list. Here's my issue:<br><br>We are in the process of updating VTK from 6.3 to 7.0 and some of our tests are failing because text actors are being rendered differently. This usually happens when we update the library (minor differences are to be expected) but in this particular case it looks like a regression.<br><br>The following code (python):<br><br></div>```python<br>import vtk<br><br>ren1 = vtk.vtkRenderer()<br>renWin = vtk.vtkRenderWindow()<br>renWin.AddRenderer(ren1)<br>iren = vtk.vtkRenderWindowInteractor()<br>iren.SetRenderWindow(renWin)<br><br>prop_1 = vtk.vtkCaptionActor2D()<br>prop_1.SetCaption('Hello')<br>prop_1.SetAttachmentPoint((-0.1, 0.0, 0.0))<br><br>prop_1.GetCaptionTextProperty().Modified()<br><br>ren1.AddActor(prop_1)<br>ren1.SetBackground(0, 0, 0)<br>ren1.GetActiveCamera().SetFocalPoint(0,0,0)<br>ren1.GetActiveCamera().SetPosition(1,0,0)<br>ren1.GetActiveCamera().SetViewUp(0,0,1)<br>ren1.ResetCamera()<br>renWin.SetSize(500, 500)<br><br>iren.Start()<br>```<br><br>... generates two different renderings depending on the version, as shown on the following image: <br><br><a href="http://imgur.com/w8VXM8z">http://imgur.com/w8VXM8z</a><br><br><p>The left side is VTK 6.3, and the right one is 7.0. Both ran on a 
Windows 10 machine, but the issue was replicated on our Linux boxes too.
 In all cases we're still using the old OpenGL backend and not the new 
OpenGL2 one. The behavior in version 6.3 seems more "correct" in the 
sense that the text is more fully filling up the rectangle, with the 
default scaling mode being to scale to the prop. I've investigated the 
commit history for the classes that seem relevant - vtkCaptionActor2D, 
vtkTextActor, vtkTextProperty, etc - but nothing stood out as possible 
"culprits".</p>

<p>Let me know if you need further info or clarifications. Thanks.</p><p></p><p>Tiago Nobrega<br></p><br></div>