You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
So, in the readme you say using "font": "spaces:default" you can avoid a lookup table when having a score and wanting to have a dynamic width.
How exactly does that work though?
Let's say I have calculated I need a width of 134 spaces. So, I'd need to convert the 134 to 5568 (numbers in any order).
Is there an elegant formular for that? Or do you literally just do this in a loop until you get to 0?
So, in the readme you say using
"font": "spaces:default"
you can avoid a lookup table when having a score and wanting to have a dynamic width.How exactly does that work though?
Let's say I have calculated I need a width of 134 spaces. So, I'd need to convert the 134 to
5568
(numbers in any order).Is there an elegant formular for that? Or do you literally just do this in a loop until you get to 0?
(and if it's negative start with -9 and add 6764 to
foo bar)
Or is there a better way that I am not seeing?
The text was updated successfully, but these errors were encountered: