Nowadays display texts look different, have different sizes and fonts. Modern displays no longer use monospaced fonts but proportional fonts. This makes it impossible to work with length restrictions based on the number of characters. With proportional fonts, the font is required in order to do a correct check. Exactly this becomes a big challenge when corporate fonts are not allowed to be distributed to suppliers.
Monospace font (top) vs. proportional font (bottom)