Changes

Jump to: navigation, search

PDF Writer Custom Tags

1,117 bytes added, 17:22, 16 September 2021
m
Fonts and Special Characters
The web page view sample template includes a declaration for TTF (True Type Font). This TTF declaration is required for some Unicode characters to display.
Roboto is the default font for PDF creation. Three other fonts are supported: Arial, Verdana, and Times New Roman.
===Default Font===
The default font for PDF creation is Roboto.
===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
tags. An example is displayed below:  <style type="text/css"> html { background-color: #FFFFFF; } <span style="color: #3366ff;">#font_times</span> { 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; } <span style=Changing Fonts==="color: #3366ff;">#font_arial</span> { width: 700px; padding-top: 15px; text-align: left; white-space: normal; word-break: break-word; float: left;There are three other fonts supported for PDF creation font-family: Arial, Sans-Serif; color: goldenrod; } <span style="color: #3366ff;">#font_verdana</span> { width: 700px; padding-top: 15px; text-align: left; white-space: normal; word-break: break-word; float: left; font-family: Verdana, and Times New Roman.Sans-Serif; color: teal; } <span style="color: #3366ff;">#font_default</span> { width: 700px; padding-top: 15px; text-align: left; white-space: normal; word-break: break-word; float: left; color: purple; } </style>
==Specify PDF File Name==
Smartstaff
2,032
edits

Navigation menu