go-pdf/fpdf

emojis causing panic error

wangleex opened this issue · 1 comments

When I try to draw emojis in the PDF, it causes the library to panic with the error below:
panic: runtime error: index out of range with length 65536

Others are running into the same issue:
jung-kurt/gofpdf#255
jung-kurt/gofpdf#330

Is it possible to have the library support drawing of emojis in the PDF? Thanks!

When I try to draw emojis in the PDF, it causes the library to panic with the error below: panic: runtime error: index out of range with length 65536

Others are running into the same issue: jung-kurt/gofpdf#255 jung-kurt/gofpdf#330

Is it possible to have the library support drawing of emojis in the PDF? Thanks!

Are you solved this problem? I meet the same problem, when write some words like 𨫎♠ and it will always existed. Thank you for your reply.