-
Notifications
You must be signed in to change notification settings - Fork 646
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
Greek Character "𝛼" not showing correctly within PDF generated by Wicked PDF #1095
Comments
Can you verify that your HTML that gets converted has this in the <meta charset='utf-8' /> |
Ok, then it must not be a supported glyph in your system fonts (on the server that actually generates the PDF). You may need to install system font packages on your linux servers with something like |
Hey @jeremygradisher, I'm running into a similar issue with the pi symbol, any chance you found something that worked for you? |
@clementf What I was getting here to print was coming from an API. We solved this by getting that symbol to be sent like this |
Thanks @jeremygradisher for the help! In the end we're also going to solve it with a workaround for the time being. |
I can get the Greek Character "𝛼" to show on a page:
But when I generate a doc using Wicked_PDF, it doesn't show up correctly.
Does anyone have an idea of how to resolve this? I have tried multiple fonts to troubleshoot if I were using one without font-support for the greek letters, but that does not appear to be the issue.
css
Further details
What gets sent through that render_to_string is this:
latex
Here,
\\alpha
is the LaTeX command for the alpha symbol. When rendered correctly, this should display the Greek letter alpha (𝛼).wicked_pdf gem version: wicked_pdf (2.7.0)
wkhtmltopdf version: wkhtmltopdf 0.12.6 (with patched qt)
platform/distribution and version: Ruby on Rails 7 -
The text was updated successfully, but these errors were encountered: