View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0012025VTK(No Category)public2011-03-29 19:012013-04-05 20:26
Reporternclemeur 
Assigned ToMarcus D. Hanwell 
PrioritynormalSeveritymajorReproducibilityalways
StatusclosedResolutionfixed 
PlatformLinuxOSCentosOS Version5
Product Version 
Target VersionFixed in Version 
Summary0012025: vtkFreeTypeStringToImage::GetBounds
DescriptionI have noticed that the local variable "int tmp[4];" in the methods vtkFreeTypeStringToImage::GetBounds should be initialised to values of 0. Indeed, the later call to GetBoundingBox is not populating that variable when the string is empty.

This manifest it-self on by an empty chart since the calculation of the axis size is completely wrong.

I am seeing this problem on Linux using a quite recent version of vtk trunk linked with Mesa.
TagsNo tags attached.
Project
Type
Attached Files

 Relationships

  Notes
(0026294)
Marcus D. Hanwell (developer)
2011-05-01 12:53

Commit fcf14be addresses this issue, although I don't think that is why you see an empty chart, that would be the code in vtkChartXY that checks if there are any visible plots before rendering, along with the axis visibility code that checks if a plot is visible and associated with an axis before displaying it. They are both controlled by ivars now too, so that you can display an empty plot.

 Issue History
Date Modified Username Field Change
2011-03-29 19:01 nclemeur New Issue
2011-03-29 20:35 David Partyka Assigned To => David Partyka
2011-03-29 20:35 David Partyka Status backlog => tabled
2011-04-05 11:43 Marcus D. Hanwell Assigned To David Partyka => Marcus D. Hanwell
2011-05-01 12:53 Marcus D. Hanwell Note Added: 0026294
2011-05-01 12:53 Marcus D. Hanwell Status tabled => @80@
2011-05-01 12:53 Marcus D. Hanwell Resolution open => fixed
2013-04-05 20:26 Berk Geveci Status customer review => closed


Copyright © 2000 - 2018 MantisBT Team