font file not found, access right?
# help-with-other
j
I’m using Evo HTML to PDF Converter to convert razor view to pdf. It works fine locally, but in Umbraco environment font is not correct, css loaded correctly. I’m wondering if EVO don’t have access to the font file in wwwroot folder. I have font file path is wwwroot/fonts, in my CSS file src: url(‘/fonts/somefont.eot) css path is wwwroot/css/master.css
j
Is this Umbraco environment on an Azure webapp? All PDF converters have issues on Azure sites due to some limitations, so most of them end up advising you to generate them some other way
j
Yes. Good to know. Thank you.
Do you have any idea where we should generate? We do need the font and css.
j
I'm not familiar with Evo html to pdf, but fx Iron Pdf has a section on generating for azure where they recommend a seperate azure functions app for pdf generation: https://ironpdf.com/how-to/azure/ So may need to do something similar?
j
Thanks. I found that Evo have the same way to do it.
4 Views