BLF_width_to_strlen measures text with reduced accuracy with Hinting or subpixel anti-aliasing enabled. blf_font_width_to_strlen_glyph_process does not take into account these changes when iterating through glyphs. Pull Request: https://projects.blender.org/blender/blender/pulls/113698