How do I specify a different font for <pre> and <code>? Do I need to create a custom template as discussed here? http://www.k15t.com/display/HTML/Creating+a+Template
Hi Robert,
for Scroll PDF Exporter you don't need to create a template plugin. Instead use the integrated template designer.
Follow the guide for creating Scroll PDF Exporter templates, upload your custom font and the use it like this:
tt, pre { font-family: <your-font-family-here>; }
See here for more information:
http://www.k15t.com/display/PDF/Creating+a+Template
http://www.k15t.com/display/PDF/Uploading+Fonts
http://www.k15t.com/display/PDF/Using+the+Uploaded+Fonts
Cheers,
Jens
I have the following, and the font is installed, but it's still coming out Courier:
/* code, pre { font-family: DejaVuSansMono; } */
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks. The tag for monofont in the Confluence source is code, so it's confusing that you have to use tt in the CSS.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.