View Issue Details [ Jump to Notes ] | [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
0013152 | VTK | (No Category) | public | 2012-05-07 08:44 | 2013-06-26 07:51 | ||||
Reporter | Pof | ||||||||
Assigned To | David C. Lonie | ||||||||
Priority | normal | Severity | minor | Reproducibility | have not tried | ||||
Status | closed | Resolution | fixed | ||||||
Platform | OS | OS Version | |||||||
Product Version | 5.8.0 | ||||||||
Target Version | Fixed in Version | 6.0.1 | |||||||
Summary | 0013152: vtkTextActor->ShadowOn() : very bad looking | ||||||||
Description | When activating shadows for a vtkTextActor, the general look of the text (by far) not as readable as it used to be in vtk5.0.0, which sometimes makes it almost unreadable. See the two examples in the attached image for a better view of the problem. | ||||||||
Tags | No tags attached. | ||||||||
Project | Kitware | ||||||||
Type | incorrect functionality | ||||||||
Attached Files | Text Shadow.png [^] (76,350 bytes) 2012-05-07 08:44
vtkFreeTypeUtilities.cxx [^] (57,515 bytes) 2012-05-07 11:53 Corrected 5.10.0.png [^] (37,583 bytes) 2012-05-07 11:59 Test_vtkTextActor.cpp [^] (2,832 bytes) 2012-05-07 12:08 | ||||||||
Relationships | |
Relationships |
Notes | |
(0028580) Pof (reporter) 2012-05-07 11:55 edited on: 2012-05-07 12:15 |
The error comes from 2 methods in vtkFreeTypeUtilities : - GetBoundingBox - PopulateImageData Attached is the corrected source file which solves the problem (see the last image). Worth mentionning that the original patch was submitted 2 years ago by Roger Bramon (see http://vtk.org/Bug/view.php?id=9618 [^]), and it was supposed to be incorporated in version 5.8.0 (see Markus comment). Here, I just included this patch into the last version (i.e. 5.10.0_RC3) of the vtkFreeTypeUtilities.cxx file. Last, the source used to generate the image is given (Test_vtkTextActor.cpp). |
(0028587) Dave DeMarle (administrator) 2012-05-10 13:51 |
commit: 35944bf09ccba7f42eb014678033395405feb9a9 brings Pof's fix into VTK. TODO: Turn Test_vtkTextActor into a regression test. |
(0031076) Dave DeMarle (administrator) 2013-06-25 17:00 |
Ended up taking this out before 5.10.0 as it lead to a /0 in regression tests. |
(0031083) David C. Lonie (developer) 2013-06-26 07:51 |
This bug is no longer present since the switch to vtkFreeTypeTools/vtkTextRenderer. |
Notes |
Issue History | |||
Date Modified | Username | Field | Change |
2012-05-07 08:44 | Pof | New Issue | |
2012-05-07 08:44 | Pof | File Added: Text Shadow.png | |
2012-05-07 11:53 | Pof | File Added: vtkFreeTypeUtilities.cxx | |
2012-05-07 11:55 | Pof | Note Added: 0028580 | |
2012-05-07 11:59 | Pof | File Added: Corrected 5.10.0.png | |
2012-05-07 11:59 | Pof | Note Edited: 0028580 | |
2012-05-07 12:07 | Pof | Note Edited: 0028580 | |
2012-05-07 12:08 | Pof | File Added: Test_vtkTextActor.cpp | |
2012-05-07 12:12 | Pof | Note Edited: 0028580 | |
2012-05-07 12:12 | Pof | Note Edited: 0028580 | |
2012-05-07 12:15 | Pof | Note Edited: 0028580 | |
2012-05-10 13:51 | Dave DeMarle | Note Added: 0028587 | |
2013-06-25 17:00 | Dave DeMarle | Note Added: 0031076 | |
2013-06-26 07:50 | David C. Lonie | Assigned To | => David C. Lonie |
2013-06-26 07:50 | David C. Lonie | Status | backlog => tabled |
2013-06-26 07:51 | David C. Lonie | Note Added: 0031083 | |
2013-06-26 07:51 | David C. Lonie | Status | tabled => closed |
2013-06-26 07:51 | David C. Lonie | Resolution | open => fixed |
2013-06-26 07:51 | David C. Lonie | Fixed in Version | => 6.0.1 |
Issue History |
Copyright © 2000 - 2018 MantisBT Team |