DrawReceipt icon indicating copy to clipboard operation
DrawReceipt copied to clipboard

can not create a new paragraph

Open mbahgojol opened this issue 8 years ago • 7 comments

sorry sir, library you can not create a new paragraph if the text had crossed the line or if the text is too long ... please repaired if the text is too long for the new paragraph will be made ...........

mbahgojol avatar Feb 16 '17 08:02 mbahgojol

@ghozimahdi Have you been able to solve this problem?

begali avatar Nov 21 '19 14:11 begali

I am still facing this issue, my text is larger than 1 line but it is not coming in next line whereas I am using addText(text,true) this method but nothing happening.

AshishGrt avatar Nov 30 '19 16:11 AshishGrt

I am also facing issue

jssamsul avatar Dec 03 '20 14:12 jssamsul

I've forked this repo, added multiline text support and made pull request. For now you can copy source code of library and use it. Link to repo

begali avatar Dec 07 '20 05:12 begali

Thank you so much for update.

but still splitting word.

Eg :I have receipt printing problem I have receipt print ing problem

Expected output : I have receipt printing problem

it should not print line this, right?

jssamsul avatar Dec 07 '20 08:12 jssamsul

@jssamsul updated library. Pass second parameter as true in order not to cut word addMultilineText(longText, true).

begali avatar Dec 09 '20 06:12 begali

Here is another solution for multi-line without split words: https://github.com/iabdelgawaad/DrawMultiLineText

iabdelgawaad avatar Mar 29 '23 08:03 iabdelgawaad