[vtkusers] Problem in vtkFreeTypeStringToImage::GetBounds
nclemeur
nclemeur at gmail.com
Mon Mar 28 08:15:49 EDT 2011
Hello,
I 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.
Please let me know if you requires further details.
Cheers
Nicolas
--
View this message in context: http://vtk.1045678.n5.nabble.com/Problem-in-vtkFreeTypeStringToImage-GetBounds-tp4267493p4267493.html
Sent from the VTK - Users mailing list archive at Nabble.com.
More information about the vtkusers
mailing list