use custom fonts with wkhtmltopdf

前端 未结 9 1487
难免孤独
难免孤独 2020-12-03 01:12

I am trying to use custom fonts in my PDF generated with wkhtmltopdf. I read that you can\'t use google webfonts and that wkhtmltopdf uses truetype .ttf file. Can anyone con

9条回答
  •  醉酒成梦
    2020-12-03 01:38

    using @import not fetching the font, you need to add .ttf file to the project

提交回复
热议问题