Click here to Skip to main content
15,889,116 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi I Have a question about header text in wkhtmltopdf

i want to set custom font to text in header .
I send text to PDF by header-center "hello World"

I can set style and font to body text but i can not set font to header text

What I have tried:

i try set font by @fontface or by font-name
http://localhost/font/customfont.ttf
Posted
Updated 27-Jun-20 16:12pm

1 solution

Hi,

I'm unfamiliar with wkhtmltopdf

However the manual[^] mentions a lot of options, I expect --header-font-name would do the job.

:)
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900