<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Wed, Apr 8, 2015 at 3:37 PM, E. Tadeu <span dir="ltr"><<a href="mailto:e.tadeu@gmail.com" target="_blank">e.tadeu@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>  To test it, just create a vtkCaptionActor2D and add it to a renderer.</div><div><br></div><div>  See example here, tested in VTK 6.2:</div><div><br></div><div>```</div><div>import vtk<br></div><div><br></div><div>ren = vtk.vtkRenderer()</div><div>renWin = vtk.vtkRenderWindow()</div><div>renWin.AddRenderer(ren)</div><div>iren = vtk.vtkRenderWindowInteractor()</div><div>iren.SetRenderWindow(renWin)</div><div><br></div><div>actor = vtk.vtkCaptionActor2D()</div><div>actor.SetCaption(u'Hello')</div><div><br></div><div># # This makes it work:</div><div># actor.GetCaptionTextProperty().SetFontSize(13)</div><div><br></div><div># # This also makes it work:</div><div># actor.GetCaptionTextProperty().Modified()</div><div><br></div><div># # This doesn't make it work:</div><div># actor.GetCaptionTextProperty().SetFontSize(12)</div><div><br></div><div>ren.AddActor(actor)</div><div>iren.Initialize()</div><div>iren.Start()</div><div>```</div><div><br></div><div>  I'm having another similar problem related to the font not being scaled the second time it is rendered (after changing the scale), and I think it may be related to this too.</div><div><br></div><div>  Any hint on what may be causing this?</div></div></blockquote><div><br></div><div>It sounds like the logic to check for modifications is missing something. Can you open a bug report for this?</div><div><br></div><div>Thanks,</div><div>Dave </div></div></div></div>