bostrom/text-to-image

\t doesn't work

Closed this issue · 6 comments

Hi ^^

It's me again ^^

The \t doesn't work to make tabulation in the text. (On the other hand, the \n works perfecly).

Can we make a tabulation with another way ?

thank you in advance for your time :)

Hi @sarahs3,

Thanks for your suggestion. How would you expect the \t to work? Should it just move the cursor forward x amount of pixels (code editor mode), or do you expect to have defined tab stops to get a kind of text alignment in an arbitrary position (document editing mode)?

For the latter it would require to define tab stops separately and it comes with its own complexity. For the former, would it be enough just to add more whitespace characters?

Hi,

Actually I got this result :
sanstab

And I want this (this image is edited with paint ^^) :
avectab

When I just try to add space characters in my string, they are ignored and I have the result that I have in my first image.

Thank you again for your time :)

thank you :)

I have no idea how to fix it and what's causing it, but as I was about to give an example of what I tried.. it happens in here as well.. so it seems to be html related ..
' test'
'. test'
When you see my test above, it appears to have 1 space only between it, but it actually has 10+ white-spaces, both in the first and second one (between the period . and t).
I've tried doing   .. but it just prints out as it is   :(

🎉 This issue has been resolved in version 4.1.0 🎉

The release is available on:

Your semantic-release bot 📦🚀