--encoding <encoding> Set the default text encoding, for input
it's possible, but you have to include the fonts yourself.
on that note, italics/bold fonts are somewhat trickier.
Hi,
I have a similar problem which I my page contains chinese characters. When the page print to PDF, the chinese characters shows square shape.
This is convert to PDF:
The font can be seen in the webpage:
I tried to set "--encoding UTF-8" in OtherArgs also doesn't work.
Anyone successfully to encode chinese character in html2pdf?
Thanks.
HelloI have the same problem, I need to use the font 'Titillium'.when I create the screen that is the "face" of .pdf it looks good, but when I download it I lose the fonts, how can I make the .pdf also have the same font?thank you
Bruno Dâmaso wrote:
I bumped into the same problem this week. There seems be to a problem if you try to use the same font on your PDF which is defined in your theme and shown on your screen. Let's check that by defining another font in the css of your PDF-screen like this:
If this is going to show your page and PDF in this 'Times New Roman" font, try to use your standard font in here. You will find out that it won't work.
Hello,Did anyone found solution to this?i am also running into same problem where I want t o use some other font, but its not happening when I download the pdf.TIA,Anagha