NOTE: THIS IS NOT THE SAME AS FONT CHANGE IN RESPONSE TO VIEWPORT CHANGE. I.E. {font-size: 3.2vw;} Pure CSS to make font-size responsive based on dynamic amount of characters IS NOT THE SOLUTION.
When text is translated from one language to another on a browser, the length of the source and translated text is likely to be different. For example:
Language | Translation | Ratio
______________________________________
Korean | 조회 | 0.8
English | views | 1
Chinese | 次檢視 | 1.2
Portuguese | visualizações | 2.6
French | consultations | 2.6
German | -mal angesehen | 2.8
Italian | visualizzazioni| 3
I'm looking for a way, either with CSS and/or JavaScript, with which I can get the text to auto resize font and remain within the height and width set by the div that contains the text.