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

Not able to render font-awesome icons in generated PDFs. #23

Open
ksahu93 opened this issue Jan 26, 2020 · 0 comments
Open

Not able to render font-awesome icons in generated PDFs. #23

ksahu93 opened this issue Jan 26, 2020 · 0 comments

Comments

@ksahu93
Copy link

ksahu93 commented Jan 26, 2020

Hi,
We are upgrading our App from Grails 2.5.4 to Grails 3.3.10, in the process we upgraded the version of the plugin from org.grails.plugins:wkhtmltopdf:0.1.11 to org.grails.plugins:wkhtmltopdf:1.0.0.RC9. The Font Awesome icons were rendering just fine in the earlier version of Grails, but not since the upgrade.

Here's a snippet from the CSS file that loads these fonts. any help is appreciated:

@font-face {
font-family: 'FontAwesome';
src: url('../fonts/fontawesome-webfont.eot?v=4.3.0');
src: url('../fonts/fontawesome-webfont.eot?#iefix&v=4.3.0') format('embedded-opentype'), url('../fonts/fontawesome-webfont.woff2?v=4.3.0') format('woff2'), url('../fonts/fontawesome-webfont.woff?v=4.3.0') format('woff'), url('../fonts/fontawesome-webfont.ttf?v=4.3.0') format('truetype'), url('../fonts/fontawesome-webfont.svg?v=4.3.0#fontawesomeregular') format('svg');
font-weight: normal;
font-style: normal;
}

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

1 participant