Changes

Jump to: navigation, search

PDF Writer Custom Tags

154 bytes removed, 17:22, 16 September 2021
m
Changing Fonts
===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 thediv tags. An example is displayed below:
tags. An example is displayed below:
<style type="text/css">
background-color: #FFFFFF;
}
<span style="color: #3366ff;">#font_times</span> {
width: 700px;
padding-top: 15px;
color: lightcoral;
}
<span style="color: #3366ff;">#font_arial</span> {
width: 700px;
padding-top: 15px;
color: goldenrod;
}
<span style="color: #3366ff;">#font_verdana</span> {
width: 700px;
padding-top: 15px;
color: teal;
}
<span style="color: #3366ff;">#font_default</span> {
width: 700px;
padding-top: 15px;
color: purple;
}
</style>
Smartstaff
2,033
edits

Navigation menu