Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Emoji Support #382

Open
kedarv opened this issue Sep 10, 2017 · 27 comments
Open

Emoji Support #382

kedarv opened this issue Sep 10, 2017 · 27 comments

Comments

@kedarv
Copy link

kedarv commented Sep 10, 2017

This is probably UTF related, but does anyone have a fix for getting emoji to be rendered properly?

@laurentiusar
Copy link

Any news regarding this situation?

@kedarv
Copy link
Author

kedarv commented Feb 7, 2018

Nope, sorry! I just removed emoji from text as a bandaid solution

@laurentiusar
Copy link

laurentiusar commented Feb 21, 2018

Use a font that contains emoji and it works :)
But it will be black and white.

@szhoux
Copy link

szhoux commented Jun 21, 2018

@laurentiusar What font did you use? I tried OpenSanEmoji but seems it didn't work.

@ramonivandy
Copy link

no update for this issue ?

@ramonivandy
Copy link

i havent try this, but it should work
https://groups.google.com/forum/#!topic/dompdf/UE2ISFHYYuE

@ramonivandy
Copy link

ramonivandy commented Jun 26, 2019

i havent try this, but it should work
https://groups.google.com/forum/#!topic/dompdf/UE2ISFHYYuE

already try this and it work
font that i use is DejaVu Sans.

image

@simonschaufi
Copy link

Related: dompdf/dompdf#1698

@stale
Copy link

stale bot commented Aug 11, 2020

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.
Any issues with PDF rendering itself that are not directly related to this package, should be reported on https://github.com/dompdf/dompdf instead. When having doubts, please try to reproduce the issue with just dompdf.
If you believe this is an actual issue with the latest version of laravel-dompdf, please reply to this issue so we can investigate further.
Thank you for your contribution! Apologies for any delayed response on our side.

@stale stale bot added stale and removed stale labels Aug 11, 2020
@davidcandreva
Copy link

+1

1 similar comment
@cairocampos
Copy link

+1

@stale
Copy link

stale bot commented Dec 20, 2020

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.
Any issues with PDF rendering itself that are not directly related to this package, should be reported on https://github.com/dompdf/dompdf instead. When having doubts, please try to reproduce the issue with just dompdf.
If you believe this is an actual issue with the latest version of laravel-dompdf, please reply to this issue so we can investigate further.
Thank you for your contribution! Apologies for any delayed response on our side.

@stale stale bot added stale and removed stale labels Dec 20, 2020
@Jupitercouple29
Copy link

Any updates on this?
I displayed the emojis and it showed something like this.
{"name":"message","value":"\ud83d\udca9\ud83d\udca9\ud83d\udca9\ud83d\udca9\ud83d\udca9\ud83d\udca9\ud83d\udca9\ud83d\udca9"}

Still waiting for the solution.
Thanks!

@Jupitercouple29
Copy link

I'm working on laravel, I fixed this issue using this library
https://github.com/xuejd3/laravel-emoji

@stale
Copy link

stale bot commented Jun 1, 2021

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.
Any issues with PDF rendering itself that are not directly related to this package, should be reported on https://github.com/dompdf/dompdf instead. When having doubts, please try to reproduce the issue with just dompdf.
If you believe this is an actual issue with the latest version of laravel-dompdf, please reply to this issue so we can investigate further.
Thank you for your contribution! Apologies for any delayed response on our side.

@stale stale bot added stale and removed stale labels Jun 1, 2021
@stale
Copy link

stale bot commented Jul 31, 2021

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.
Any issues with PDF rendering itself that are not directly related to this package, should be reported on https://github.com/dompdf/dompdf instead. When having doubts, please try to reproduce the issue with just dompdf.
If you believe this is an actual issue with the latest version of laravel-dompdf, please reply to this issue so we can investigate further.
Thank you for your contribution! Apologies for any delayed response on our side.

@stale stale bot added stale and removed stale labels Jul 31, 2021
@stale
Copy link

stale bot commented Oct 2, 2021

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.
Any issues with PDF rendering itself that are not directly related to this package, should be reported on https://github.com/dompdf/dompdf instead. When having doubts, please try to reproduce the issue with just dompdf.
If you believe this is an actual issue with the latest version of laravel-dompdf, please reply to this issue so we can investigate further.
Thank you for your contribution! Apologies for any delayed response on our side.

@stale stale bot added stale and removed stale labels Oct 2, 2021
@oneWaveAdrian
Copy link

Have there been any updates/ recent workarounds on this issue? It is still relevant.

@JorisDebonnet
Copy link

This is a limitation of dompdf, and so can/should not be fixed in this repo. I personally believe this issue should be closed.

@Jupitercouple29
Copy link

Have you guys tried this? https://github.com/xuejd3/laravel-emoji
I imported it on my composer.json.
"xuejd3/laravel-emoji": "^1.0",

And I displayed it in this way.
<?php echo Emoji::toImage($property['value']) ?>

Here, $property['value'] holds the emoji code. Please try this. I displayed emoji and even succeed to print it on PDF.

@JorisDebonnet
Copy link

Have you guys tried this? https://github.com/xuejd3/laravel-emoji I imported it on my composer.json. "xuejd3/laravel-emoji": "^1.0",

And I displayed it in this way. <?php echo Emoji::toImage($property['value']) ?>

I guess that is a viable workaround, but since it uses images, it's not a fix for all situations. So, indeed useful for some applications, but in general, a true fix for this issue can only come from dompdf (or one of its dependencies) ☺️

@stale
Copy link

stale bot commented Apr 16, 2022

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.
Any issues with PDF rendering itself that are not directly related to this package, should be reported on https://github.com/dompdf/dompdf instead. When having doubts, please try to reproduce the issue with just dompdf.
If you believe this is an actual issue with the latest version of laravel-dompdf, please reply to this issue so we can investigate further.
Thank you for your contribution! Apologies for any delayed response on our side.

@stale stale bot added stale and removed stale labels Apr 16, 2022
@stale
Copy link

stale bot commented Jul 10, 2022

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.
Any issues with PDF rendering itself that are not directly related to this package, should be reported on https://github.com/dompdf/dompdf instead. When having doubts, please try to reproduce the issue with just dompdf.
If you believe this is an actual issue with the latest version of laravel-dompdf, please reply to this issue so we can investigate further.
Thank you for your contribution! Apologies for any delayed response on our side.

@stale stale bot added stale and removed stale labels Jul 10, 2022
@stale
Copy link

stale bot commented Sep 21, 2022

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.
Any issues with PDF rendering itself that are not directly related to this package, should be reported on https://github.com/dompdf/dompdf instead. When having doubts, please try to reproduce the issue with just dompdf.
If you believe this is an actual issue with the latest version of laravel-dompdf, please reply to this issue so we can investigate further.
Thank you for your contribution! Apologies for any delayed response on our side.

@stale stale bot added stale and removed stale labels Sep 21, 2022
@stale
Copy link

stale bot commented Jun 18, 2023

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.
Any issues with PDF rendering itself that are not directly related to this package, should be reported on https://github.com/dompdf/dompdf instead. When having doubts, please try to reproduce the issue with just dompdf.
If you believe this is an actual issue with the latest version of laravel-dompdf, please reply to this issue so we can investigate further.
Thank you for your contribution! Apologies for any delayed response on our side.

@stale stale bot added the stale label Jun 18, 2023
@DutchPrince
Copy link

.

@stale stale bot removed the stale label Aug 30, 2023
@JorisDebonnet
Copy link

JorisDebonnet commented Aug 30, 2023

Emoji support does not depend on any work in this repository, but on dompdf itself.

Related issues:
dompdf/dompdf#1698
dompdf/php-font-lib#113 <== especially track this one

(In other words, it could be fine to close this issue, because it will "automatically" be resolved once dompdf starts supporting it.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests