View Issue Details [ Jump to Notes ] | [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
0013206 | VTK | (No Category) | public | 2012-05-26 05:20 | 2016-08-12 09:55 | ||||
Reporter | Arnaud BARRE | ||||||||
Assigned To | Dave DeMarle | ||||||||
Priority | normal | Severity | minor | Reproducibility | have not tried | ||||
Status | closed | Resolution | moved | ||||||
Platform | OS | OS Version | |||||||
Product Version | 5.8.0 | ||||||||
Target Version | Fixed in Version | ||||||||
Summary | 0013206: vtkQtStringToImage::GetBounds doesn't take into account the rotation of the text | ||||||||
Description | For both type of strings (vtkStdString, vtkUnicodeString), the Qt text renderer doesn't take the orientation of the text as the FreeType text renderer do. For both GetBounds methods, the code line 107-110 and line 138-141 QRectF rect; QPainterPath path; path.addText(0, 0, fontSpec, text); rect = path.boundingRect(); could be replaced by this one: QRectF rect; QPainterPath path; path.addText(0, 0, fontSpec, text); QMatrix mat; mat.rotate(-property->GetOrientation()); path = mat.map(path); rect = path.boundingRect(); The result of this modification is visible in the uploaded picture. | ||||||||
Tags | No tags attached. | ||||||||
Project | Release | ||||||||
Type | incorrect functionality | ||||||||
Attached Files | ![]() ![]() | ||||||||
Relationships | |
Relationships |
Notes | |
(0031074) Dave DeMarle (administrator) 2013-06-25 16:34 |
Thanks Arnaud. Would you mind submitting the fix through gerrit? That will automate testing and review. For details on how to do so see http://www.vtk.org/Wiki/VTK/Git/Develop [^] |
(0031162) Dave DeMarle (administrator) 2013-07-22 14:47 |
If this is still present in 6.0, please reopen this bug report. |
(0037279) Kitware Robot (administrator) 2016-08-12 09:55 |
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. |
Notes |
Issue History | |||
Date Modified | Username | Field | Change |
2012-05-26 05:20 | Arnaud BARRE | New Issue | |
2012-05-26 05:20 | Arnaud BARRE | File Added: vtkQtStringImageGetBoundsFix.png | |
2013-06-25 16:34 | Dave DeMarle | Note Added: 0031074 | |
2013-07-22 14:47 | Dave DeMarle | Note Added: 0031162 | |
2013-07-22 14:47 | Dave DeMarle | Status | backlog => expired |
2013-07-22 14:47 | Dave DeMarle | Resolution | open => fixed |
2013-07-22 14:47 | Dave DeMarle | Assigned To | => Dave DeMarle |
2016-08-12 09:55 | Kitware Robot | Note Added: 0037279 | |
2016-08-12 09:55 | Kitware Robot | Status | expired => closed |
2016-08-12 09:55 | Kitware Robot | Resolution | fixed => moved |
Issue History |
Copyright © 2000 - 2018 MantisBT Team |