MantisBT - ParaView
View Issue Details
0006986ParaViewBugpublic2008-05-07 17:512016-08-12 09:57
Kent Eschenberg 
Utkarsh Ayachit 
lowminoralways
closedmoved 
 
 
0006986: Incorrect Text Display
When using pvpython or pvbatch (CVS 5/6) text that has one or more leading blanks is displayed incorrectly as if the text is clipped.
from paraview import servermanager
servermanager.Connect()
V = servermanager.CreateRenderView()
T = servermanager.sources.TextSource()
TR = servermanager.CreateRepresentation( T, V, proxyName="TextSourceRepresentati
on" )
T.Text = " 2.0"
V.StillRender()
V.ResetCamera()
V.StillRender()
raw_input("Exit: ")
No tags attached.
related to 0013133closed Alan Scott Text clipped off when suing text source. 
Issue History
2008-05-07 17:51Kent EschenbergNew Issue
2008-09-08 10:27Utkarsh AyachitNote Added: 0013350
2009-02-17 16:16Ken MorelandNote Added: 0015078
2009-02-17 16:16Ken MorelandAssigned To => Utkarsh Ayachit
2009-02-17 16:16Ken MorelandStatusbacklog => tabled
2009-02-17 16:16Ken MorelandCategoryDevelopment => 3.6
2009-04-28 16:00Utkarsh AyachitAssigned ToUtkarsh Ayachit => Yumin Yuan
2009-04-28 16:00Utkarsh AyachitPrioritynormal => low
2009-05-13 13:45Utkarsh AyachitTarget Version => 3.6
2009-08-25 18:57Utkarsh AyachitCategory => Bug
2009-08-25 18:57Utkarsh AyachitTarget Version3.6 => 3.8
2012-04-27 16:08Alan ScottRelationship addedrelated to 0013133
2012-05-03 16:03Utkarsh AyachitAssigned ToYumin Yuan => Utkarsh Ayachit
2012-05-03 16:03Utkarsh AyachitStatusexpired => backlog
2012-05-03 16:03Utkarsh AyachitResolutionopen => reopened
2016-08-02 09:53Cory QuammenNote Added: 0036657
2016-08-02 09:53Cory QuammenStatusbacklog => customer review
2016-08-02 09:53Cory QuammenResolutionreopened => fixed
2016-08-12 09:57Kitware RobotNote Added: 0037573
2016-08-12 09:57Kitware RobotStatuscustomer review => closed
2016-08-12 09:57Kitware RobotResolutionfixed => moved

Notes
(0013350)
Utkarsh Ayachit   
2008-09-08 10:27   
Through GUI, if I add quite a few leading spaces eg " Time" as the text for the text source I get following errors:

ERROR: In /home/utkarsh/Kitware/ParaView3/ParaView3/VTK/Filtering/vtkImageData.cxx, line 1473
vtkImageData (0x2c782a0): GetScalarPointer: Pixel (65, 15, 0) not in memory.
 Current extent= (0, 63, 0, 31, 0, 0)


ERROR: In /home/utkarsh/Kitware/ParaView3/ParaView3/VTK/Rendering/vtkTextActor.cxx, line 301
vtkTextActor (0x2c77a40): Failed rendering text to buffer
(0015078)
Ken Moreland   
2009-02-17 16:16   
The same problem occurs in the GUI.
(0036657)
Cory Quammen   
2016-08-02 09:53   
Tested ParaView 5.1, Mac OS X, built-in server

Launch ParaView
Tools -> Python Shell
Enter the text

T = Text()
T.Text = " 2.0"
Show(T)
Render()

Everything renders as expected.

In the UI, delete some spaces in from of the 2.0 in the Text field. Everything works as expected.
(0037573)
Kitware Robot   
2016-08-12 09:57   
Resolving issue as `moved`.

This issue tracker is no longer used. Further discussion of this issue may take place in the current ParaView Issues page linked in the banner at the top of this page.