So I found a js library textFit(). Let\'s say 0 in my html. and in my js script I tried this:
textFit()
0