0

I used freemarker templates (+ jsoap, org.xhtmlrenderer) to create a PDF file, and currently have to apply custom .ttf font during PDF generation. I haven't found any information about custom fonts on the official website. @font-face doesn't work

is it possible to use a custom font in freemarker?

Roman
  • 1,883
  • 2
  • 14
  • 26

1 Answers1

0

jasper-de-vries thanks, your comment helped to solve the problem this link for doc with code example - http://flyingsaucerproject.github.io/flyingsaucer/r8/guide/users-guide-R8.html#xil_32

I have to add custom font into font resolver

Roman
  • 1,883
  • 2
  • 14
  • 26