Closed madVis closed 1 month ago
Hey @NielsLeenheer , @Wnt , @liangminhua I haven’t seen any updates on this bugs yet. Is there any additional information needed from my side? If possible, could you provide an update on when these issues might be fixed?
I'll take a look at it when I get back from my vacation break.
It turns out that this issue is bigger than expected. The commit above does improve it, but it isn't a simple bug, but a fundamental issue. In order to properly fix this I need to do a complete rewrite of how lines are composed and how text is wrapped.
Thanks for the update, @NielsLeenheer. I understand it’s a more complex issue than anticipated. If possible, could you share a rough estimate of when the fix might be ready? It would help with planning on my side.
As it stands right now, it is fixed, but it is part of a complete rewrite of the whole library. And the rest of the rewrite isn't ready to land just yet. Not sure when it will be, but I'll keep you posted.
Transferred this issue to the new rewrite of EscPosEncoder...
Confirmed fixed in the upcoming version 3.0
I'm trying to print a table and it's not wrapping correctly.
I've attached the print image.
If a word exceeds the column width (e.g., the column width is 5 and the word is "Pomegranate"), it isn't wrapping correctly and occupies the space of the next column.
Incorrect wrapping: col1 col2 1 2 3 4 5 6 7 8 9... Po m e g r a n a t e
Ideally, it should wrap like this: col1 col2 1 2 3 4 5 6 7 8 9... Po m e g r a n a t e