I'm working on a PDF generated based on an HTML template. We have the template as the customer used it before (written in Word) and the font they require is Verdana. The problem is Verdana in CSS appears to be smaller in size and has a smaller font weight than in Word. I tried to trick it into looking similar to the Word version by:
- increasing font-weight - the issue is that it supports either 400(normal) or 700(bold) - when I need something in between
- adding text-shadow - when playing with the HTML template I achieved something that looked similar by adding
text-shadow: 0.1px 0 black;
- yet when rendering the PDF it was ignored, only taking into account fixed px sizes liketext-shadow: 1px 0 black;
- which again was too bold.
Any idea of how I can solve this? Verdana is their signature font and it's a must have.
Note for PDF rendering I'm using SelectPDF .Net core version.
Thanks,
Lorena