Closed NetherQuartz closed 2 years ago
If I pass line break as $'...\n...'
:
./bin/activate-linux 'Активация Linux' $'Чтобы активировать Linux,\nперейдите в раздел "Параметры"'
,
\n
is being replaced with a square:
this is probably our highest priority issue rn
yeah im looking into it now
as much as i dont want to drag in another dependency, i might have to for this https://lists.cairographics.org/archives/cairo/2008-September/015049.html
We could probably do it ourselves, it would just take a bit of effort
can we handle '\n' manually here?
The draw function does not allow for newlines, it will draw a box instead
It's probably possible to split the string by '\n' and draw a text box for each line
I've made a draft and it's the preview image
fixed with #117
I wanted it to show the original message from Windows in Russian, which should look like this:
But long lines just go out of screen with no breaks:
And I haven't found any ways to insert line breaks manually, they're always disappearing.