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

How we can show multi Languages in pdf? #1016

Open
rituatalea opened this issue Dec 8, 2023 · 3 comments
Open

How we can show multi Languages in pdf? #1016

rituatalea opened this issue Dec 8, 2023 · 3 comments

Comments

@rituatalea
Copy link

你在做

I want to show this text in my pdf but it's showing me '???????'. I tried fonts Noto and DejaVu but it's not working. How to fix this issue?
@parallels999
Copy link

**This is just a Dompdf wrapper!**
I understand that this package is just a Laravel wrapper for https://github.com/dompdf/dompdf
Any issues with PDF rendering, CSS that is not applied correctly, aligning/fonts/characters etc that are not directly related to this package, should be reported there. When having doubts, please try to reproduce the issue with just dompdf. If it's also present there, do not open an issue here please.

This is just a Dompdf wrapper!
I understand that this package is just a Laravel wrapper for https://github.com/dompdf/dompdf
Any issues with PDF rendering, CSS that is not applied correctly, aligning/fonts/characters/images/html etc that are not directly related to this package, should be reported there. When having doubts, please try to reproduce the issue with just dompdf. If it's also present there, do not open an issue here please.

@parallels999
Copy link

Duplicate of #1015

@Rajneesh-rawat
Copy link

try to add font file in storage/fonts folder.
@font-face {
font-family: "Roboto", sans-serif;
src: url("{{ storage_path('fonts/Roboto-Bold.ttf') }}") format("truetype");
}
body{
font-family: "Roboto", sans-serif;
}

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

3 participants