pub fn remove_gaps_in_display_text(
    display_data_arr: &[SingleDisplayData],
    min_gap_size: usize
) -> Vec<SingleDisplayData>
Expand description

Iterates through the data and removes all gaps between symbols. A gap is two or more cols after each other that are all zero. This way, text looks more natural, as letters are closer together. Hence, we do not have a monospace font here. But (currently), also spaces are removed.

Parameters

  • display_data_arr: Processed Display Data with letters
  • min_gap_size: Minimum gap size to preserve between symbols