-
Notifications
You must be signed in to change notification settings - Fork 40
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
can't get the icons working #1
Comments
I found some errors as below:
It seems that it's not supported on Windows? |
Thanks for this, ill try to fix it. |
Seems like an issue with underlying WeasyPrint library. |
I have the same problem in ubuntu and alpine linux. The icons works fine on Google Chrome. But failed in pdf. |
I found a way that icons work: It seems like an issue with underlying WeasyPrint library. |
I'm not sure that the issue is caused by WeasyPrint but maybe more because of the way Semantic UI treats font-awesome as different classes (?). Anyways, as mentioned by @shotecorps , a quick and dirty way is to insert the font-awesome style sheet directly on top of your template to display icons correctly (link found in Font Awesome website).
If someone as the exact reason/solution, don't hesitate to comment :) |
I'm having the same issue on a Mac. Adding a link to |
Hi, thanks for the great project!
But i can't get the icons working.
look at the pdf screenshot below:
So I made a simple html file to test this css file
semantic.min.css
:It doesn't work, too.
So I tried to search for the answer.
And I modified the file
Anaconda3\Lib\site-packages\pdf_reports\css\semantic.min.css
at line 75 changing the fonts' urls.The codes become like this:
After I modified , I tested again.
The test.html that I created to test works on Firefox Chrome and Edge.
But the pdf file that I use pdf-reports to create still doesn't work.
Any help?
Thanks.
The text was updated successfully, but these errors were encountered: