Something as simple as the below template does not work. It creates the pdf but the text is black and the background color is still white. Am I missing something, or does this really not support colored font / background?
Specifically, I am doing the following from my Controller:
return ok(pdfGenerator.toBytes(previewStuff.render(), urlBase)).as("application/pdf");
This is the scala view template file (previewStuff.scala.html):
@()
Something as simple as the below template does not work. It creates the pdf but the text is black and the background color is still white. Am I missing something, or does this really not support colored font / background?
Specifically, I am doing the following from my Controller: return ok(pdfGenerator.toBytes(previewStuff.render(), urlBase)).as("application/pdf");
This is the scala view template file (previewStuff.scala.html): @()
\