What triggers the font to autoshrink?

I have some items whose name has decreased in size due to the length, and some whose has not, even though it should. Anyone know the trigger for this as I would really like for it to correct the items that need it.

In the screenshot below, you can see that the Sharpened Kitchen Knives use a smaller text when equipped, but when in the section to choose to equip them the font runs in to the total owned.

Spoiler
2a8kti9.jpg
The width you pass to draw_text It tries its best to fill it up.
Yeah, texts would try to fit itself into the width of the "text box". As for how much it shrinks, I have no idea.
So how would I get it to trigger the lower entry to shrink the text, any ideas?
Trace the logic flow of how it draws the text for the item list and modify the width it supplies to the draw_text method.
I would personally suggest to make the whole font a bit smaller. It instantly lets you fit bigger names in without much fuss.

Original thread: https://forums.rpgmakerweb.com/threads/what-triggers-the-font-to-autoshrink.36645/