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
Material theme admonition icons do not render correctly #17
Comments
Okay, seems like the reason the icons didn't load is because the recommended stylesheet does not include the Material Icons font-family. After adding it, the icons loaded correctly. |
Can you please post what exactly you added where (or even better: provide a pull request)? Since I don't have the problem, I can't really fix this otherwise. |
@raqbit I have the same problem and am not sure where to add the font family. Can you describe your solution more? |
@page {
font-family: "Roboto", "Material Icons", "Helvetica Neue", Helvetica, Arial, sans-serif;
}
Edit: It seems like this (^) was never the fix, but for me it will generate icons fine when running locally but will fail when running in a CI environment. Maybe this has to do with some fonts or graphical libraries being available on the system? |
To get the same environment: I am using the docker image |
After updating to a docker image based on Debian buster, the issue solved itself. It seems to be related to the version of a dependency in Debian stretch. |
Interesting.. I'm going to close this for now. Feel free to open another issue. |
When generating PDFs from material-theme style docs with admonition blocks, the material icons do not get rendered correctly. It seems like something goes wrong when adding the font to the pdf.
Example:
Looks like
Log output:
The text was updated successfully, but these errors were encountered: