Changes

Jump to: navigation, search

PDF Writer Custom Tags

165 bytes added, 17:41, 16 September 2021
m
Changing Fonts
The default font for all text is Roboto. However, there are three other fonts supported for PDF creation: Arial, Verdana, and Times New Roman. If you want to change the text to one of these alternate fonts, you can create a special style for an identifier selector within the CSS portion of the HTML template. Then, when it comes time to use this style in the document, simply reference this style within the div tags. An example is displayed below:
<pre><span style="color: #3366ff;">#font_times </span> {
width: 700px;
padding-top: 15px;
font-family: Times New Roman, Serif;
color: lightcoral;
}<br /><span style="color: #3366ff;">#font_arial </span> {
width: 700px;
padding-top: 15px;
font-family: Arial, Sans-Serif;
color: goldenrod;
}<br /><span style="color: #3366ff;">#font_verdana </span> {
width: 700px;
padding-top: 15px;
font-family: Verdana, Sans-Serif;
color: teal;
}<br /><span style="color: #3366ff;">#font_default </span> {
width: 700px;
padding-top: 15px;
Smartstaff
2,032
edits

Navigation menu