I would like to achieve an effect where the font size decreases over time, but I have found that whether using the built-in font library or a font library created with FreeType, the minimum unit of font size is 1. This causes a sudden jump in font size when scaling,
for example,
when the font size starts at 20 and ends at 10,
the font size can only change from 20 to 19, 18, 17, 16…11, 10, which is not a smooth transition.
I would like to achieve a smoother scaling effect,
for example, starting with a font size of 20 and ending with a font size of 10,
the font size would change from 20 to 19.9, 19.8, 19.7…10.2, 10.1, 10 over time.
Is there a way to achieve this?