Click here to Skip to main content
14,640,651 members
Rate this:
Please Sign up or sign in to vote.
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

Rate this:
Please Sign up or sign in to vote.

Solution 1

Hi,

I'm unfamiliar with wkhtmltopdf

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

:)
   

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




CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100