i am using NReco.PdfGenerator to generate pdf from html. I would like to change the font-family of the pdf. I have a custom font and add it in html and it does not work.
<head>
<style>
@font-face {
font-family: 'Helvetica LT W01 Condensed';
src: local('Helvetica LT W01 Condensed'), url(../EmailTemplates/Helvetica-LT-W01-Condensed.woff2) format('woff2');
}
</style>
But if I try to add another font from Google, it works.
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=PT+Sans+Narrow" type="text/css">
Do you have any ideas? Thanks.