Forum


Replies: 1   Views: 147
Adding emojis to docx document
Topic closed:
Please note this is an old forum thread. Information in this post may be out-to-date and/or erroneous.
Every phpdocx version includes new features and improvements. Previously unsupported features may have been added to newer releases, or past issues may have been corrected.
We encourage you to download the current phpdocx version and check the Documentation available.

Posted by Exorion  · 19-01-2024 - 08:35

Hi! 

Is it possible to put emojis like rocket or flag in a docx file?

Thanks

p.s. cant insert emoji picture here (but you can google it by "emoji rocket")

Posted by admin  · 19-01-2024 - 09:30

Hello,

Using the addText method (and also other methods) you can add emojis as any other text content. We have done a quick test and everything is working as expected.

Plese check that the font family you are using includes all needed contents. You can also use a specific font family such as 'Segoe UI Emoji', or embed a custom font with embedFont.

Regards.