Changes

Jump to: navigation, search

PDF Writer Custom Tags

401 bytes removed, 18:17, 16 September 2021
m
Changing Fonts
===Changing Fonts===
The default font for all text is Robotoand we recommend you use this font. However, there are It is possible to customize a PDF to use one of three other fonts supported for PDF creation: Arial, Verdana, and Times New Roman. These fonts are not officially supported but can be used in some scenarios. If you want to change the text to use one of these alternate fonts, you can will need to create a special style for an identifier selector CSS class within the CSS portion head of the HTML web page view template. Then, when it comes time to use this style in reference the document, simply reference this CSS style within the div tagsyour custom content. For  For example, this web page view makes use of all available and supported fonts:
[[File:WPV-Font-Sample.png|thumb|none|500px]]
====CSS Styles====
<pre>#font_times font_tmes {width: 700px;padding-top: 15px;text-align: left;white-space: normal;word-break: break-word;float: left;
font-family: Times New Roman, Serif;
color: lightcoral;
#font_arial {
width: 700px;
padding-top: 15px;
text-align: left;
white-space: normal;
word-break: break-word;
float: left;
font-family: Arial, Sans-Serif;
color: goldenrod;
#font_verdana {
width: 700px;
padding-top: 15px;
text-align: left;
white-space: normal;
word-break: break-word;
float: left;
font-family: Verdana, Sans-Serif;
color: teal;
#font_default {
width: 700px;
padding-top: 15px;
text-align: left;
white-space: normal;
word-break: break-word;
float: left;
color: purple;
}
Smartstaff
2,043
edits

Navigation menu