diff --git a/res/settings.js b/res/settings.js index ce461ec0..b4882353 100644 --- a/res/settings.js +++ b/res/settings.js @@ -29,28 +29,23 @@ define([ '' ].join(""), pdfTemplate: [ - '\n', - '\n', - '\n', - '\n', - '<%= documentTitle %>\n', - '\n', - '\n', - '\n', - '<%= documentHTML %>\n', - '' + '\n', + '\n', + '\n', + '\n', + '<%= documentTitle %>\n', + '\n', + '\n', + '\n', + '\n', + '<%= documentHTML %>\n', + '' ].join(""), sshProxy: SSH_PROXY_URL, extensionSettings: {} diff --git a/res/styles/main.less b/res/styles/main.less index 55c827cb..45965a5e 100644 --- a/res/styles/main.less +++ b/res/styles/main.less @@ -1248,5 +1248,10 @@ div.jGrowl { * PDF *******************/ body.pdf { + font-family: "DejaVu Sans"; background-color: transparent; + + & code, & pre { + font-family: "DejaVu Sans Mono"; + } }