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.
...
Code Block |
---|
<center> <a title="Print this form" onclick="_frevvo.api.printFlowStep(this);" href="#" class="f-tb-print"><span id="f-form-tb-print-span">Print Form</span></a> </center> |
The _frevvo.api.printFlowStep for the onlclick handler has been deprecated.
Info |
---|
The same technique above can also be used for flows. In the case of 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 current activity will print even if the activity's print property is unchecked. |
...