gitbook icon indicating copy to clipboard operation
gitbook copied to clipboard

Font awesome icons don't render in pdf

Open johnlindquist opened this issue 11 years ago • 6 comments

Gitbook version 2.0.2 http://fortawesome.github.io/Font-Awesome/

When I do gitbook serve or a gitbook build --format=ebook I can clearly see the font-awesome icons properly rendered (which is pretty great!):

image

Basically just using

<i class=\"fa fa-comment\"></i>

But when I render the pdf, the icons are gone.

image

I've simply copied pasted the font-awesome css into styles/ebook.css and have the font sitting next to them in the styles folder.

Any thoughts?

johnlindquist avatar May 24 '15 23:05 johnlindquist

I have same trouble.

bekkou68 avatar Sep 18 '15 11:09 bekkou68

I have the same trouble. Is there any workaround for this?

ojanovsky avatar Mar 21 '16 14:03 ojanovsky

Same issue here

bronestly avatar Apr 15 '16 00:04 bronestly

Gitbook is shit ... one year without response:(

ojanovsky avatar Apr 26 '16 11:04 ojanovsky

Wow, that's really a shame. Also, why is there no block for using fontawesome icons, like {% icon "arrow-left" %}?

Simran-B avatar Nov 25 '16 13:11 Simran-B

I want to convert a docx file to PDF which contains fa icons. Any suggestions on which free converter works for that?

rawshn97 avatar Feb 14 '18 17:02 rawshn97