blacklanternsecurity/writehat

Change font

Wherekonshade opened this issue · 1 comments

Hi,
I thought changing the font would be possible in print.css since the font size can also be changed here, but neither changing the preferred font-family changes the font of the html body nor does it work to only specify the wanted font-family.
Only changing it to generic families like sans-serif, monospace etc. works but changing the standard font for these generic families for the browser or the system does not change the used font for these generic families.

Are there any extra steps needed to change the font ?
(Adding the fonts as .otf or .woff to the writehat/writehat/static/admin/fonts folder does not solve this issue either)

Thank you in advance and kind regards :)

I still do not understand what causes this behavior, but it can be circumvented by exporting to HTML and then saving it as PDF.
This however changes multiple layout elements, especially for the findings section.