-
-
Notifications
You must be signed in to change notification settings - Fork 982
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
Adding Link of Style Sheet #24
Comments
I think so. Did you try?
|
Tried this - I'm attempting to load fonts into the PDF.
No such luck. The page takes 20+ seconds to load, and doesn't seem to include the stylesheet... |
I tried this example: https://github.com/dompdf/dompdf/blob/master/www/test/css_at_font_face.html |
Also you have instead of and missing the html tag. I would suggest trying that example as the basis and see where it get's you.Also, this is a dompdf issue, so you might want to try upstream if you still have problems: https://github.com/dompdf/dompdf/issues |
Thanks for the advice - the markup in the link above worked fine after updating, but not when using a different font. I've opened an issue at dompdf/dompdf as you advised. Thanks! |
The issue has been recognized and a workaround is provided in the linked issue, so closing this issue here. |
Is it possible for me to attach the link of style sheet and use the CSS accordingly in HTML. Will it be able to still generate a PDF properly?
Thanks!
The text was updated successfully, but these errors were encountered: