Skip to content
Snippets Groups Projects
  1. Apr 18, 2016
  2. Apr 13, 2016
  3. Apr 12, 2016
    • Max Smolens's avatar
      vtkTextMapper: fix rendering of empty string · 5dcad978
      Max Smolens authored
      vtkTextMapper improperly renders empty strings. Instead of rendering nothing, as
      expected for an empty string, a rectangle is rendered. The rectangle is visible
      only when the text property's background is not completely transparent.
      
      This commit fixes the problem at two levels: in vtkFreeTypeTools and in
      vtkTextMapper.
      
      vtkFreeTypeTools now checks for an empty string when rendering to an image.
      Without this check, rendering an empty string results in the small rectangle.
      
      vtkTextMapper::RenderOverlay() is updated to handle the case of an empty image.
      This also serves as a revised solution to #15787:
      http://www.vtk.org/Bug/view.php?id=15787
      
      Fixes #16071:
      http://www.vtk.org/Bug/view.php?id=16071
      5dcad978
  4. Apr 11, 2016
  5. Apr 10, 2016
  6. Apr 09, 2016
  7. Apr 08, 2016
  8. Apr 07, 2016
  9. Apr 06, 2016
Loading