jung-kurt / gofpdf

A PDF document generator with high level support for text, drawing and images
http://godoc.org/github.com/jung-kurt/gofpdf
MIT License
4.31k stars 777 forks source link

gopdf cannot render emoji correctly #270

Open liqiongbusc opened 5 years ago

liqiongbusc commented 5 years ago

Description I cannot render moji like 👸🏻correctly in my pdf file. Do i need to import new font for it?

Thanks

ajstarks commented 5 years ago

This could be a duplicate of #255. If the emoji in your font are in the range that gofpdf support it will work, but currently the Unicode emoji range will not work.

liqiongbusc commented 5 years ago

Thanks for the answer, do we have the plan for support unicode emoji?

jung-kurt commented 5 years ago

do we have the plan for support unicode emoji?

Even if we can solve #255 it is unlikely that gofpdf will ever render emoji in multiple colors.