We have two options, but we recommend that you should figure out the average height of the letters, for example: 2 letters of 50 cm, 2 of 40 cm, 2 of 30 cm is the same as 6 of 40 cm, which allows you to generate a single line that will represent the total budget.
Another option is to break down the text into letters of different sizes, for example: 2 of 50 cm, 2 of 40 cm, 2 of 30 cm, with each of these sizes then having its own budget line for a different amount, and with the sum of these amounts representing the total budget.