...
...
...
Section | |||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
...
The font set that you are going to use must be available to at PDF rendering time. This is accomplished by placing the fonts in the /WEB-INF/fonts folder after expanding the frevvo.war.
Follow these steps:
- Stop the server
- Uncompress/expand the <frevvo-home>/tomcat/webapps/frevvo.war file to a temporary location on your desktop.
- Add your font file (unifont.tff file is an example) to the WEB-INF/fonts directory.
- Re-WAR to create a new updated frevvo.war file.
- Replace the original frevvo.war file with the new updated frevvo.war file, typically located in this directory: <frevvo-home>/tomcat/webapps.
- Re-start your server.
- Select the Print Font for PDFs in the Forms Designer as discussed below.
Select the Print Font
The designer Print Font property on the Form Style tab enables you to select your pdf print font. The selections that appear in the Print Font dropdown menu come from the fonts loaded in the WEB-INF/fonts folder. If no print font is selected, then the default rendering will be used.
...
- Add a message control to your form
- Add the following HTML to your message control
Code Block |
---|
<center> <a titlehref="Print this form" onclick="_frevvo.api.printFlowStep(this);" href="#" class="f-tb-print?print=true&format=pdf"><span id="f-form-tb-print-span">Print Form<PDF</span></a> </center> |
Info |
---|
The same technique above can also be used for flows. In the case of a flow the to add a custom print button to a flow. The custom print button will print the currently visible workflow step and not the combination of all the steps in the workflow. And the The current activity will print even if the activity's print property is unchecked. |
...