johnnyqian / enable-font-awesome-site-extension

Enable Web fonts for Azure App service
10 stars 1 forks source link

Not able to load Font after generating PDF #6

Open MJH073 opened 1 year ago

MJH073 commented 1 year ago

Hi @johnnyqian , I am trying to generate a PDF report using Azure function and i am trying to use custom font. The steps you mentioned to upload static font i have uploaded that and try to add those font in my html and i am using WK2HTML tool to generate it. It is getting generated but the custom font that i want to integrate is not reflecting there.

Can you please share the step by step so that i can try to implement it in Azure function app.

Thanks Mukund

johnnyqian commented 1 year ago

This extension only works for Azure App service with IIS hosting. For Azure Function, I think you need to figure out the underlying web server and add corresponding config to support custom font.

MJH073 commented 1 year ago

Hi @johnnyqian , Do you have any document that i can follow and use for Azure function?