Skip to content
  • David C. Lonie's avatar
    Fix bug in text rendering. · 5fff9333
    David C. Lonie authored
    The bounding box for FreeType strings did not include the first
    character's horizontal bearing, leading to vtkImageData that was
    not wide enough, and ultimately wrapping artifacts on terminal
    glyphs.
    
    The included test reproduces the wrapping artifacts when the bbox
    minima are initialized to VTK_INT_MAX, and renders correctly when
    they are initialized to 0 (the initial pen position).
    
    Change-Id: Ibd99290220811546c9d6d87f4883e3ca89461186
    5fff9333