[vtk-developers] [VTK 0012025]: vtkFreeTypeStringToImage::GetBounds
Mantis Bug Tracker
mantis at public.kitware.com
Tue Mar 29 19:01:46 EDT 2011
The following issue has been SUBMITTED.
======================================================================
http://public.kitware.com/Bug/view.php?id=12025
======================================================================
Reported By: nclemeur
Assigned To:
======================================================================
Project: VTK
Issue ID: 12025
Category: (No Category)
Reproducibility: always
Severity: major
Priority: normal
Status: new
======================================================================
Date Submitted: 2011-03-29 19:01 EDT
Last Modified: 2011-03-29 19:01 EDT
======================================================================
Summary: vtkFreeTypeStringToImage::GetBounds
Description:
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.
======================================================================
Issue History
Date Modified Username Field Change
======================================================================
2011-03-29 19:01 nclemeur New Issue
======================================================================
More information about the vtk-developers
mailing list