View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0003280VTK(No Category)public2006-05-24 16:472016-08-12 09:54
ReporterJeff Lee 
Assigned ToDavid C. Lonie 
PriorityurgentSeveritymajorReproducibilityalways
StatusclosedResolutionmoved 
PlatformOSOS Version
Product Version 
Target VersionFixed in Version 
Summary0003280: vtkTextActor messed up.
DescriptionThe text does not look correct, positions are wrong, shadows are wrong. Some side effects when using the new text mapper are that images disappear in the render window. Other side effects include segfaults when a window is resized which causes the text to be resized (this happens in vtkFreeTypeUtilities where the image is no longer resized to a power of 2, the code dies in a libc malloc.) Some of these problems can be seen by running some of the widgets examples which use scaled vtkTextActors.
TagsNo tags attached.
ProjectTBD
Typeincorrect functionality
Attached Files

 Relationships

  Notes
(0011727)
Sebastien Barre (developer)
2008-05-06 15:45

I haven't done text rendering since 2001.
Since then, Zach and Will took over.
You may want to pick one :)
(0024168)
tomasz (reporter)
2010-12-15 11:59

The documentation is also in error by "This class ... acts as a convenient wrapper for a vtkTextMapper/vtkActor2D pair"
It is completely different from vtkTextMapper.
(0024170)
tomasz (reporter)
2010-12-15 12:01

Furthermore is does 7 bit chars only (not only to me. See 0004501)
(0024261)
tomasz (reporter)
2010-12-19 05:30

I've recently digged a bit deeper into 5.6.1 source code - not to fix it (i'm not going to fix it) - to find out "why" vtkTextActor is such a mess. Here my findings:
1. With vtk 4.2.1 vtkTextActor was ok, thus "the mess" has eventuylly to do with changes between 4.2 and 5.0.
2. With vtk 5.0 the mess was already there (while moving feom 4.2 to 5.4 in the passt we've made the stop at 5.0 and have seen same "mess" already there).
3. Actually vtkCaptionActor2D shows same mess - well, because it uses vtkTextActor obviously.
4. Displaying text is processed correctly within vtkScalarBarActor for example. Also vtkLabeledDataMapper does its work well. vtkCubeAxesActor2D too.
All have no problem displaying (at least) 8 bit characters too.
None of them uses vtkTextActor! They eventually use vtkTextMapper/vtkActor2D instead.
5. vtkTextActor::RenderOpaqueGeometry does this->FreeTypeUtilities->RenderString(...) and it is the only to use it!

In short:
- all classes using "messed up" vtkTextActor are "messed" too.
- others using vtkTextMapper/vtkActor2D "work like a dream" (look correct, positions are correct, shadows are correct, 8bit chars are correct, ...).
- the "mess" has to do with FreeTypeUtilities.
hope this helps to resolve soon.
(0024297)
tomasz (reporter)
2010-12-20 16:21

Ref issues also: 0009618, 0010905, 0008372 and 0004509 (and this one is 0003280)
(0031312)
Dave DeMarle (administrator)
2013-07-22 21:01

Try 6.0.0, Dave L's work in 5.10 and 6.0 probably cleared many of these issues up.
(0036870)
Kitware Robot (administrator)
2016-08-12 09:54

Resolving issue as `moved`.

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

 Issue History
Date Modified Username Field Change
2008-05-06 15:36 Lisa Avila Assigned To Lisa Avila => Sebastien Barre
2008-05-06 15:45 Sebastien Barre Note Added: 0011727
2008-05-06 15:45 Sebastien Barre Assigned To Sebastien Barre => Lisa Avila
2010-12-15 11:59 tomasz Note Added: 0024168
2010-12-15 12:01 tomasz Note Added: 0024170
2010-12-15 14:50 Lisa Avila Assigned To Lisa Avila => Will Schroeder
2010-12-19 05:30 tomasz Note Added: 0024261
2010-12-20 16:21 tomasz Note Added: 0024297
2011-06-16 13:11 Zack Galbreath Category => (No Category)
2013-07-22 21:01 Dave DeMarle Project => TBD
2013-07-22 21:01 Dave DeMarle Type => incorrect functionality
2013-07-22 21:01 Dave DeMarle Note Added: 0031312
2013-07-22 21:01 Dave DeMarle Assigned To Will Schroeder => David C. Lonie
2013-07-22 21:01 Dave DeMarle Status backlog => expired
2016-08-12 09:54 Kitware Robot Note Added: 0036870
2016-08-12 09:54 Kitware Robot Status expired => closed
2016-08-12 09:54 Kitware Robot Resolution open => moved


Copyright © 2000 - 2018 MantisBT Team