diff options
Diffstat (limited to 'tools/mcufontencoder/src/exporttools.cc')
-rw-r--r-- | tools/mcufontencoder/src/exporttools.cc | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tools/mcufontencoder/src/exporttools.cc b/tools/mcufontencoder/src/exporttools.cc index b58ee8ec..df7a14c0 100644 --- a/tools/mcufontencoder/src/exporttools.cc +++ b/tools/mcufontencoder/src/exporttools.cc @@ -162,6 +162,11 @@ std::vector<char_range_t> compute_char_ranges(const DataFile &datafile, if (data_length > maximum_size) { last_char = j - 1; + + // Return the rest of characters to be processed by next range. + while (chars.at(i-1) > last_char) + i--; + break; } |